[tbb-bugs] #20635 [Applications/Tor Browser]: Compiling Go 1.7.3 is randomly segfaulting targeting 32bit Linux

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 14 23:08:38 UTC 2016


#20635: Compiling Go 1.7.3 is randomly segfaulting targeting 32bit Linux
--------------------------------------+--------------------------
 Reporter:  gk                        |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  High                      |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Major                     |     Resolution:
 Keywords:  tbb-gitian                |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by dcf):

 I haven't been able to reproduce this myself yet. If it doesn't happen
 every time, it seems it must have to do with available memory or
 something.

 I searched for the error message and found a couple of links that might be
 interesting.
   https://groups.google.com/d/topic/golang-nuts/iaRU2yM0yCw
   I have been trying to build golang 1.5.0 with golang 1.4.2 bootstrap
 binaries. My build host is centos5 and build is yocto build. But I always
 get below compilation issue.
   {{{
 ##### Building Go bootstrap tool.
 | cmd/dist
 | go build _/local/jenkins/ws/CB/160921103249-broadcom-
 ns2-emgw-3.10-1.4/i686/build-project/tmp/work/aarch64-montavista-
 linux/golang/1.5-r0/go/src/cmd/dist: /local/jenkins/ws/CB/160921103249
 -broadcom-ns2-emgw-3.10-1.4/i686/build-project/tmp/work/aarch64
 -montavista-linux/golang/1.5-r0/go1.4.2/go/pkg/tool/linux_386/8g: signal:
 segmentation fault
 | ERROR: build failed
 }}}
 The reply says that cause is a too-old kernel (CentOS 5). This one is
 recent, 1.5 months ago.

 An old, closed ticket from 2010:
   https://github.com/golang/go/issues/869
 This one seems to have been caused by linking with a specific version of
 gold, which I don't think applies to us.o

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20635#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list