- 13 Jun, 2012 1 commit
-
-
Shenghou Ma authored
««« backport 26fc3f8aa53e cmd/dist: remove stray src/pkg/runtime/z* when cleaning R=golang-dev, bradfitz, dave, rsc, lstoakes, rsc CC=golang-dev https://golang.org/cl/6180044 »»»
-
- 02 Apr, 2012 1 commit
-
-
Shenghou Ma authored
««« backport e757e2af45ec cmd/dist, sudo.bash: don't mention sudo.bash if cov or prof is not present Fixes #3422. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5967057 »»»
-
- 27 Mar, 2012 1 commit
-
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5924044
-
- 15 Mar, 2012 1 commit
-
-
Brad Fitzpatrick authored
Fixes #3317 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5784083
-
- 09 Mar, 2012 1 commit
-
-
Shenghou Ma authored
So that we don't duplicate knowledge about which OS/ARCH combination supports cgo. Also updated src/run.bash and src/sudo.bash to use 'go env'. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5792055
-
- 07 Mar, 2012 2 commits
-
-
Shenghou Ma authored
find() returns -1 when not found. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5752068
-
Russ Cox authored
The testso directory still needs to be enabled. R=golang-dev, r CC=golang-dev https://golang.org/cl/5731048
-
- 06 Mar, 2012 1 commit
-
-
Alex Brainman authored
When looking for suitable tag always start from current version, not the tip. R=minux.ma, rsc CC=golang-dev https://golang.org/cl/5731059
-
- 05 Mar, 2012 1 commit
-
-
Russ Cox authored
GOROOT_FINAL is a build parameter that means "eventually the Go tree will be installed here". Make the file name information match that eventual location. Fixes #3180. R=ken, ken CC=golang-dev https://golang.org/cl/5742043
-
- 01 Mar, 2012 2 commits
-
-
Russ Cox authored
Fixes #3165. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5712051
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5711052
-
- 28 Feb, 2012 1 commit
-
-
Russ Cox authored
Work around profiling kernel bug with signal masks. Still broken on 64-bit Snow Leopard kernel, but I think we can ignore that one and let people upgrade to Lion. Add new trivial tools addr2line and objdump to take the place of the GNU tools of the same name, since those are not installed on OS X. Adapt pprof to invoke 'go tool addr2line' and 'go tool objdump' if the system tools do not exist. Clean up disassembly of base register on amd64. Fixes #2008. R=golang-dev, bradfitz, mikioh.mikioh, r, iant CC=golang-dev https://golang.org/cl/5697066
-
- 23 Feb, 2012 1 commit
-
-
Scott Lawrence authored
Fixes #3112. R=golang-dev, 0xe2.0x9a.0x9b, ality, rsc, rsc CC=golang-dev https://golang.org/cl/5700044
-
- 22 Feb, 2012 1 commit
-
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5689072
-
- 21 Feb, 2012 1 commit
-
-
Bobby Powers authored
When installing pprof into the tools directory, it needs to have execute permissions on unix-like systems. Fixes issues 3077. R=golang-dev, rsc, minux.ma CC=golang-dev https://golang.org/cl/5675095
-
- 17 Feb, 2012 2 commits
-
-
Robert Griesemer authored
Fixes #3048. R=rsc CC=golang-dev https://golang.org/cl/5672081
-
Shenghou Ma authored
1, strip last path separator from $GOROOT The user might define GOROOT=/path/to/go/, but then the dir check in defaulttarg() will always complain the current dir is not within $GOROOT/src/. 2, resolve symlinks in the default goroot Or if getcwd() returns a fully-resolved path, the check in defaulttarg() will always fail. R=rsc CC=golang-dev https://golang.org/cl/5649073
-
- 16 Feb, 2012 1 commit
-
-
Bobby Powers authored
Clang 3.1 has more warnings enabled by default than GCC. Combined with -Werror, they cause the build to fail unnecessarily. if the name of our compiler ends in "clang", add the necessary extra -Wno options. Ideally we would add these flags unconditionally, as GCC is supposed to ignore unknown -Wno flags, but apple's llvm-gcc doesn't. Fixes #2878. R=rsc, dave CC=golang-dev https://golang.org/cl/5673055
-
- 15 Feb, 2012 2 commits
-
-
Russ Cox authored
Makes it possible to run GOARCH=amd64 make.bash GOARCH=386 make.bash --no-clean to avoid deleting some of the work done by the first one. R=golang-dev CC=golang-dev https://golang.org/cl/5673056
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5672050
-
- 14 Feb, 2012 2 commits
-
-
Russ Cox authored
Also check for old and exp. Fixes #2764. Fixes #2765. R=golang-dev, r CC=golang-dev https://golang.org/cl/5654068
-
Russ Cox authored
This CL makes it possible to run make.bash with GOOS and GOARCH set to something other than the native host GOOS and GOARCH. As part of the CL, the tool directory moves from bin/tool/ to pkg/tool/goos_goarch where goos and goarch are the values for the host system (running the build), not the target. pkg/ is not technically appropriate, but C objects are there now tool (pkg/obj/) so this puts all the generated binaries in one place (rm -rf $GOROOT/pkg cleans everything). Including goos_goarch in the name allows different systems to share a single $GOROOT on a shared file system. Fixes #2920. R=golang-dev, r CC=golang-dev https://golang.org/cl/5645093
-
- 13 Feb, 2012 2 commits
-
-
Russ Cox authored
Also update build to be able to run mkbuiltin again. The export form has changed a little, so builtin.c has more diffs than unsafe.go. In CL 5650069, I just edited the documentation, a rarely successful method of change. R=ken2 CC=golang-dev https://golang.org/cl/5662043
-
Russ Cox authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5650068
-
- 11 Feb, 2012 1 commit
-
-
Gustavo Niemeyer authored
Fixes #2927. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5651062
-
- 09 Feb, 2012 1 commit
-
-
Gustavo Niemeyer authored
R=rsc, gustavo CC=golang-dev https://golang.org/cl/5642045
-
- 08 Feb, 2012 6 commits
-
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5646055
-
Shenghou Ma authored
R=rsc CC=golang-dev https://golang.org/cl/5643061
-
Dmitriy Vyukov authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5642059
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5646053
-
Russ Cox authored
Same idea as heap profile: how did each thread get created? Low memory (256 bytes per OS thread), high reward for programs that suddenly have many threads running. Fixes #1477. R=golang-dev, r, dvyukov CC=golang-dev https://golang.org/cl/5639059
-
Russ Cox authored
R=golang-dev, r, iant CC=golang-dev https://golang.org/cl/5641051
-
- 07 Feb, 2012 1 commit
-
-
Gustavo Niemeyer authored
Commands such as "dist version > VERSION" will cause the shell to create an empty VERSION file and set dist's stdout to its fd. dist in turn looks at VERSION and uses its content if available, which is empty at this point. Fix that by ignoring VERSION if it's empty. Also prevent cmdversion from running findgoversion a second time. It was already loaded by init. R=adg, gustavo, rsc CC=golang-dev https://golang.org/cl/5639044
-
- 06 Feb, 2012 1 commit
-
-
Russ Cox authored
This is the same heuristic that build.ScanDir uses. It avoids considering 'resource fork' files on OS X; the resource for x.go is ._x.go. R=gri CC=golang-dev https://golang.org/cl/5616073
-
- 05 Feb, 2012 1 commit
-
-
Gustavo Niemeyer authored
clean.bash depends on it being set. R=golang-dev, r CC=golang-dev https://golang.org/cl/5630056
-
- 04 Feb, 2012 2 commits
-
-
Russ Cox authored
5l does not use the whole set of ld files like the other linkers do. TBR=golang-dev CC=golang-dev https://golang.org/cl/5629052
-
Russ Cox authored
TBR=golang-dev CC=golang-dev https://golang.org/cl/5630049
-
- 03 Feb, 2012 2 commits
-
-
Russ Cox authored
goc2c moves here. parallel builds like old makefiles (-j4). add clean command. add banner command. implement Go version check. real argument parsing (same as 6g etc) Windows changes will be a separate CL. R=golang-dev, bradfitz, iant CC=golang-dev https://golang.org/cl/5622058
-
Russ Cox authored
dist is short for distribution. This is the new Go distribution tool. The plan is to replace the Makefiles with what amounts to 'go tool dist bootstrap', although it cannot be invoked like that since it is in charge of getting us to the point where we can build the go command. It will also add additional commands to replace bash scripts like test/run (go tool dist testrun), eventually eliminating our dependence on not just bash but all the Unix tools and all of cygwin. This is strong enough to build (cc *.c) and run (a.out bootstrap) to build not just the C libraries and tools but also the basic Go packages up to the bootstrap form of the go command (go_bootstrap). I've run it successfully on both Linux and Windows. This means that once we've switched to this tool in the build, we can delete the buildscripts. This tool is not nearly as nice as the go tool. There are many special cases that turn into simple if statements or tables in the code. Please forgive that. C does not enjoy the benefits that we designed into Go. I was planning to wait to do this until after Go 1, but the Windows builders are both broken due to a bug in either make or bash or both involving the parsing of quoted command arguments. Make thinks it is invoking quietgcc -fno-common -I"c:/go/include" -ggdb -O2 -c foo.c but bash (quietgcc is a bash script) thinks it is being invoked as quietgcc -fno-common '-Ic:/go/include -ggdb' -O2 -c foo.c which obviously does not have the desired effect. Rather than fight these clumsy ports, I accelerated the schedule for the new tool. We should be completely off cygwin (using just the mingw gcc port, which is much more standalone) before Go 1. It is big for a single CL, and for that I apologize. I can cut it into separate CLs along file boundaries if people would prefer that. R=golang-dev, adg, gri, bradfitz, alex.brainman, dsymonds, iant, ality, hcwfrichter CC=golang-dev https://golang.org/cl/5620045
-