- 20 Aug, 2015 1 commit
-
-
Avoid ps padding issues. Make sure we locate and kill just the sleep process. Reviewed-on: https://go-review.googlesource.com/13634 From-SVN: r227037
Ian Lance Taylor committed
-
- 07 Aug, 2015 1 commit
-
-
If the timeout subshell has no child processes, the "xargs | kill" will fail. Ensure there is some input for kill before calling it. Reviewed-on: https://go-review.googlesource.com/13295 From-SVN: r226719
Ian Lance Taylor committed
-
- 04 Aug, 2015 1 commit
-
-
Reviewed-on: https://go-review.googlesource.com/13095 From-SVN: r226543
Ian Lance Taylor committed
-
- 03 Aug, 2015 3 commits
-
-
The struct RawSockaddr contains a field Data which should be uint8 on ppc64 and ppc64le, but is declared as int8 in gccgo. This change adds a two new files which contain the structure declaration for RawSockaddr, one with the correct types for for ppc64 and ppc64le, and the other for non-ppc64 platforms. Fixes golang/go#11469 Reviewed-on: https://go-review.googlesource.com/11946 From-SVN: r226533
Ian Lance Taylor committed -
This change modifies the "gotest" shell script to kill all processes, including "sleep", spawned by the timeout subshell. This prevents the sleep process from living beyond the gotest process. BACKGROUND The "gotest" shell script spawns "sleep" processes in the background to kill off test cases that run past their specified timeout. There are commands included that appear to kill the sleep process, but they only kill the parent shell, causing the sleep process to reparent. The orphaned sleep process can cause issues when gotest is run under some build systems, such as Ninja [0]. The particular issue with Ninja is the method it uses to identify terminated processes: it creates a pipe, passes the write end to the child process, and waits for EOF. In the case of libgo/gotest, the orphaned sleep process inherits the pipe FD and keeps it open for 4 minutes by default. [0] https://github.com/martine/ninja Reviewed-on: https://go-review.googlesource.com/12227 From-SVN: r226526
Ian Lance Taylor committed -
re PR go/67101 (mprof.goc:408:5: error: calling ‘__builtin_frame_address’ with a nonzero argument is unsafe [-Werror=frame-address]) PR go/67101 runtime: Remove call to __builtin_frame_address. __builtin_frame_address was only supposed to use nonzero arguments for debugging purposes. Calling it with nonzero arguments can have unpredictable results and uses are now marked unsafe when -Wframe-address is enabled. Reviewed-on: https://go-review.googlesource.com/13063 From-SVN: r226525
Ian Lance Taylor committed
-
- 29 Jul, 2015 1 commit
-
-
In a recent change to mksysinfo.sh, a space was missing on some lines which caused the libgo build to hang on some systems. This corrects that problem. Fixes golang/go#11924 Reviewed-on: https://go-review.googlesource.com/12835 From-SVN: r226366
Ian Lance Taylor committed
-
- 25 Jul, 2015 1 commit
-
-
During the gccgo build define constants from some header files are processed by mksysinfo.sh and added to syscall.go. In some cases the constants are based on macros which are not processed correctly by mksysinfo.sh. This adds the support to generate the correct values for the TUN* constants from linux/if_tun.h. Fixes golang/go#11707 Reviewed-on: https://go-review.googlesource.com/12491 From-SVN: r226196
Ian Lance Taylor committed
-
- 14 Jul, 2015 1 commit
-
-
As the removed comment states, if the package being compiled played certain tricks with pointers that looked like integers, the compiler might allocate space for new pointers unnecessarily. Since the type information on the heap is now precise, this logic can be moved to the runtime. Reviewed-on: https://go-review.googlesource.com/11581 From-SVN: r225757
Ian Lance Taylor committed
-
- 13 Jul, 2015 1 commit
-
-
The syscall for Getdents in syscall/libcall_linux.go called Entersyscall and Exitsyscall, causing the runtime_sched counts for goroutines to be incorrect. Inconsistent counts caused checkdead in runtime/proc.c to panic. Fixes golang/go#11406 Reviewed-on: https://go-review.googlesource.com/11761 From-SVN: r225745
Ian Lance Taylor committed
-
- 16 May, 2015 1 commit
-
-
From Eric Botcazou. From-SVN: r223231
Ian Lance Taylor committed
-
- 11 May, 2015 1 commit
-
-
When libgo is not optimized the static function profilealloc in malloc.goc shows up in the stack trace. Rename it to runtime_profilealloc so that runtime/pprof.printStackRecord ignores it. From-SVN: r223006
Ian Lance Taylor committed
-
- 05 May, 2015 1 commit
-
-
PR go/66016 runtime: Don't crash in Func.Name if the Func is nil. Related to Go issue 10696 From-SVN: r222816
Ian Lance Taylor committed
-
- 29 Apr, 2015 1 commit
-
-
These changes permit using the go tool from the upcoming Go 1.5 release with -buildmode=c-archive to build gccgo code into an archive file that can be linked with a C program. From-SVN: r222594
Ian Lance Taylor committed
-
- 24 Apr, 2015 1 commit
-
-
PR go/65616 libgo: Compile go-main, in libgobegin, with -fPIC. From-SVN: r222431
Ian Lance Taylor committed
-
- 17 Apr, 2015 4 commits
-
-
PR go/65798 runtime: In Caller don't return ok == true if PC == 0. GCC PR 65798 reports that this can happen in some cases. From-SVN: r222204
Ian Lance Taylor committed -
PR go/64683 runtime/pprof: Assume function with no name is in runtime. GCC PR 65797 causes some of the runtime functions to be compiled with no name in the debug info. This in turn causes the runtime/pprof test to fail as reported in GCC PR 64683. There are no good choices when a function has no name in the debug info, but here we assume that if we see such a function while reading the runtime functions, we assume that it is also a runtime function. From-SVN: r222200
Ian Lance Taylor committed -
PR go/64999 PR go/65180 runtime: Adjust libbacktrace PC value to what runtime.Callers expects. From Lynn Boger. From-SVN: r222196
Ian Lance Taylor committed -
PR go/65755 compiler, runtime, reflect: Use reflection string for type comparisons. Change the runtime and reflect libraries to always use only the type reflection string to determine whether two types are equal. It previously used the PkgPath and Name values for a type name, but that required a PkgPath that did not match the gc compiler. Change the compiler to use the same PkgPath value as the gc compiler in all cases. Change the compiler to put the receiver type in the reflection string for a type defined inside a method. From-SVN: r222194
Ian Lance Taylor committed
-
- 08 Apr, 2015 1 commit
-
-
From Rainer Orth. From-SVN: r221920
Ian Lance Taylor committed
-
- 07 Apr, 2015 1 commit
-
-
PR go/63731 libgo: Build and install libnetgo.a libnetgo.a provides the net package built with the netgo tag enabled. This provides the netgo fallback solution for gccgo. This lib must be explicitly linked in using the -gccgoflags, so is not included by default. From-SVN: r221906
Ian Lance Taylor committed
-
- 31 Mar, 2015 2 commits
-
-
From-SVN: r221802
Ian Lance Taylor committed -
When linking complex packages that use both internal and external tests as well as many dependencies it is critical that the link order be external test package, internal test package, everything else. This change is a back (forward?) port of the same change that canonical have been maintaining on their fork of the go tool for gccgo. Now that gccgo uses the go tool from upstream, this patch should be applied both to the gofrontend and golang/go repos. From-SVN: r221800
Ian Lance Taylor committed
-
- 26 Mar, 2015 2 commits
-
-
PR go/65587 debug/elf: apply relocations for SHT_RELA/EM_PPC From-SVN: r221698
Ian Lance Taylor committed -
The tests run out of memory on 31-bit S390 systems because it does not have split stacks. From-SVN: r221681
Ian Lance Taylor committed
-
- 25 Mar, 2015 1 commit
-
-
PR go/65570 libgo/Makefile.am: add runtime/cgo to list of standard packages The runtime/cgo package is treated specially by the go tool. It needs to know that it is always available for gccgo. From-SVN: r221673
Ian Lance Taylor committed
-
- 24 Mar, 2015 2 commits
-
-
PR go/65417 debug/elf: support reading debug info from 32-bit PPC objects This is a backport of http://golang.org/7590 from the master Go library. From-SVN: r221644
Ian Lance Taylor committed -
PR go/65462 cmd: Fix dependencies for 'go get' with gccgo Problem described in GCC BZ 65462. Generate the list of the standard GO package names based on what was built into libgo in the libgo Makefile. Change the var name from reqPkgSrc to reqStdPkgSrc to clarify it only affects standard GO packages. Skip the attempted loading of a package only if it is a standard GO package and the flag is set indicating its source is not required to be available. This requires a corresponding change to gotools to build and link in the new file containing the list of standard GO package names that was generated by the libgo Makefile. gotools/: PR go/65462 * Makefile.am (go_cmd_go_files): Add $(libgodir)/zstdpkglist.go. * Makefile.in: Rebuild. From-SVN: r221643
Ian Lance Taylor committed
-
- 13 Mar, 2015 1 commit
-
-
In particular, mention that libgo should not be stripped. From-SVN: r221427
Ian Lance Taylor committed
-
- 12 Mar, 2015 2 commits
-
-
From-SVN: r221398
Ian Lance Taylor committed -
PR go/65404 go/build: cgo works on linux/pcc. From-SVN: r221396
Ian Lance Taylor committed
-
- 10 Mar, 2015 1 commit
-
-
PR go/65353. cmd/cgo: Add all gccgo GOARCH values to size maps. From-SVN: r221293
Ian Lance Taylor committed
-
- 09 Mar, 2015 2 commits
-
-
PR go/65349 runtime: Don't crash if explicitly freeing small map. From-SVN: r221292
Ian Lance Taylor committed -
PR go/65349 runtime: Don't call malloc from __go_file_line callback. When crashing, we call runtime_printcreatedby which calls __go_file_line which used to call the Go malloc. If we are crashing due to a signal due to heap corruption of some sort, the GO malloc lock might already be held, leading to a crash within a crash. Avoid that by assuming that the libbacktrace strings will stick around, as we already do in go-callers.c. From-SVN: r221291
Ian Lance Taylor committed
-
- 06 Mar, 2015 1 commit
-
-
From-SVN: r221245
Ian Lance Taylor committed
-
- 06 Feb, 2015 2 commits
-
-
From Rainer Orth. The recent godump changes broke Solaris 11.1+ bootstrap in libgo: before, gen-sysinfo.so had type _zone_net_addr_t struct { zna_family uint16; zna_plen uint16; zna_addru struct { znau_addr6 _in6_addr; }; } which was filtered out by mksysinfo.sh due to the use of _in6_addr. After the change, there's now type _zone_net_addr_t struct { zna_family uint16; zna_plen uint16; zna_addru struct { znau_addr6 [16]byte; Godump_0_align [0]uint32; }; } instead, not filtered, but added a second time by the _zone_net_addr_t code in mksysinfo.sh, which leads to redefinition warnings/errors. Simply removing the old _zone_net_addr_t fragment fixes this and restores bootstrap. From-SVN: r220481
Ian Lance Taylor committed -
Add memprofilerate as a value recognized in the GODEBUG env var. The value provided is used as the new setting for runtime.MemProfileRate, allowing the user to adjust memory profiling. From-SVN: r220470
Ian Lance Taylor committed
-
- 03 Feb, 2015 1 commit
-
-
The go/types package was removed in July 2013, but the testdata files were accidentally left behind. From-SVN: r220378
Ian Lance Taylor committed
-
- 23 Jan, 2015 2 commits
-
-
PR go/64573 syscall: Restore line somehow lost in libgo merge. From-SVN: r220068
Ian Lance Taylor committed -
re PR go/64725 (FAIL: libgo/runtime TestFinalizerType testing.go:278: #2: finalizer for type func(*int) didn't run) PR go/64725 runtime: Disable tests that require that a finalizer run. From-SVN: r220067
Ian Lance Taylor committed
-