This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==20053== Memcheck, a memory error detector | |
==20053== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. | |
==20053== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info | |
==20053== Command: /tmp/helloworld | |
==20053== | |
==20053== Warning: ignored attempt to set SIGRT32 handler in sigaction(); | |
==20053== the SIGRT32 signal is used internally by Valgrind | |
==20053== Warning: client switching stacks? SP change: 0xffefffdd8 --> 0xc42002e7d8 | |
==20053== to suppress, use: --max-stackframe=773647952384 or greater | |
==20053== Warning: client switching stacks? SP change: 0xc42002e780 --> 0xffefffe58 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/runtime/os_darwin.go b/src/runtime/os_darwin.go | |
index 1528167..edcb512 100644 | |
--- a/src/runtime/os_darwin.go | |
+++ b/src/runtime/os_darwin.go | |
@@ -101,7 +101,8 @@ func goenvs() { | |
// but only if we're not using cgo. If we are using cgo we need | |
// to let the C pthread library install its own thread-creation callback. | |
if !iscgo { | |
- if bsdthread_register() != 0 { | |
+ if r := bsdthread_register(); r != 0 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Building C bootstrap tool. | |
cmd/dist | |
# Building compilers and Go bootstrap tool for host, linux/arm. | |
lib9 | |
libbio | |
libmach | |
misc/pprof | |
cmd/addr2line | |
cmd/cov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uid.go | |
package main | |
import "syscall" | |
func main() { println(syscall.Getuid()) } | |
result of calling strace -f ./uid | |
execve("./uid", ["./uid"], [/* 19 vars */]) = 0 | |
rt_sigaction(SIGILL, {0x1d2cc, [RT_1], 0}, {SIG_DFL, [], 0}, 8) = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/cmd/dist/util.go b/src/cmd/dist/util.go | |
index cae5d69..7acacd2 100644 | |
--- a/src/cmd/dist/util.go | |
+++ b/src/cmd/dist/util.go | |
@@ -429,8 +429,11 @@ func main() { | |
case strings.Contains(out, "ppc64"): | |
gohostarch = "ppc64" | |
case gohostos == "darwin": | |
- if strings.Contains(run("", CheckExit, "uname", "-v"), "RELEASE_ARM_") { | |
+ ver := run("", CheckExit, "uname", "-v") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/cmd/pack/pack.go b/src/cmd/pack/pack.go | |
index f65ae0c..90152af 100644 | |
--- a/src/cmd/pack/pack.go | |
+++ b/src/cmd/pack/pack.go | |
@@ -426,20 +426,18 @@ func readPkgdef(file string) (data []byte, err error) { | |
// Read from file, collecting header for __.PKGDEF. | |
// The header is from the beginning of the file until a line | |
// containing just "!". The first line must begin with "go object ". | |
- rbuf := bufio.NewReader(f) | |
var wbuf bytes.Buffer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/git-codereview/api.go b/git-codereview/api.go | |
index ac61cba..4a67f33 100644 | |
--- a/git-codereview/api.go | |
+++ b/git-codereview/api.go | |
@@ -41,15 +41,20 @@ func loadGerritOrigin() { | |
} | |
// Gerrit must be set as Git's origin remote. | |
- origin := getOutput("git", "config", "remote.origin.url") | |
+ origin := getOutput("git", "config", "remote.origin.pushurl") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
See https://golang.org/issue/9410 | |
To be used with https://github.com/minux/swig/tree/go1.5. | |
diff --git a/src/cmd/go/build.go b/src/cmd/go/build.go | |
index e201f29..3ae2f86 100644 | |
--- a/src/cmd/go/build.go | |
+++ b/src/cmd/go/build.go | |
@@ -1827,7 +1827,7 @@ func (gcToolchain) ld(b *builder, p *Package, out string, allactions []*action, | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/cmd/6g/gsubr.c b/src/cmd/6g/gsubr.c | |
index 5bd9246..dae57af 100644 | |
--- a/src/cmd/6g/gsubr.c | |
+++ b/src/cmd/6g/gsubr.c | |
@@ -1115,6 +1115,8 @@ void | |
naddr(Node *n, Addr *a, int canemitcode) | |
{ | |
Sym *s; | |
+ Node *nn; | |
+ int64 oary[10]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 73e8a39c6f92390ffac7a2debc4f328c308a2147 Mon Sep 17 00:00:00 2001 | |
From: Shenghou Ma <minux@golang.org> | |
Date: Fri, 12 Dec 2014 16:30:15 -0500 | |
Subject: [PATCH] dashboard/builder: remove the repo export speed hack for hg | |
The builder will no longer generate a VERSION file, so we | |
can revert https://golang.org/cl/1405 once all builders | |
have updated. | |
Fixes golang/go#9296. |
NewerOlder