Skip to content

sync/atomic fails to build correctly on windows #2220

@gopherbot

Description

@gopherbot

by Paul.A.Lalonde:

From all.bash sync/atomic fails on my Windows 7 build under MinGW.  It seems that in
Make.pkg the mkdir -p fails, and so the subsequent copy fails.
Quoting the argument at Make.pkg:82 fixes the problem

What steps will reproduce the problem?
1.  Make GOROOT include the drive letter prefix; mine is
"C:/MinGW/msys/1.0/home/plalonde/go"
2. Run all.bash


What is the expected output?
Complete build

What do you see instead?
Failed install of sync/atomic from a failed copy from a missing sync/atomic subdirectory.

Which compiler are you using (5g, 6g, 8g, gccgo)?


Which operating system are you using?
Win7

Which revision are you using?  (hg identify)
6eb2b9dbe489+ weekly/weekly.2011-08-17

Please provide any additional information below.
Quoting the parameter to mkdir -p fixes the problem; tests on linux shows it does not
break the linux build.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions