[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
Fri Nov 11 09:34:22 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:
--------------------------------------+--------------------------
Description changed by gk:

Old description:

> I mentioned in #20023 that compiling Go 1.7.3 is segfaulting on 32bit
> Linux. The build log shows
> {{{
>  + cd go/src
>  + ./make.bash
>  ##### Building Go bootstrap tool.
>  cmd/dist
>
>  ##### Building Go toolchain using /home/debian/build/go1.4.
>  bootstrap/internal/sys
>  bootstrap/asm/internal/flags
>  bootstrap/internal/bio
>  bootstrap/compile/internal/big
>  bootstrap/internal/gcprog
>  bootstrap/internal/obj
>  bootstrap/internal/obj/arm
>  bootstrap/internal/obj/arm64
>  bootstrap/internal/obj/mips
>  bootstrap/internal/obj/ppc64
>  bootstrap/internal/obj/s390x
>  bootstrap/internal/obj/x86
>  bootstrap/asm/internal/lex
>  bootstrap/link/internal/ld
>  bootstrap/asm/internal/arch
>  bootstrap/compile/internal/ssa
>  bootstrap/asm/internal/asm
>  bootstrap/asm
>  bootstrap/link/internal/amd64
>  bootstrap/link/internal/arm
>  bootstrap/link/internal/arm64
>  bootstrap/link/internal/mips64
>  bootstrap/link/internal/ppc64
>  bootstrap/link/internal/s390x
>  bootstrap/link/internal/x86
>  bootstrap/link
>  bootstrap/compile/internal/gc
>  go build bootstrap/compile/internal/gc:
>  /home/debian/build/go1.4/pkg/tool/linux_386/8g: signal: segmentation
> fault
>  go tool dist: FAILED: /home/debian/build/go1.4/bin/go install
> -gcflags=-l
>  -v bootstrap/...: exit status 1
>  }}}
> It seems there is more to it than just some weird problem with my machine
> as boklm hit the error as well when trying to build 6.5a4.

New description:

 I mentioned in #20023 that compiling Go 1.7.3 is segfaulting on 32bit
 Linux. The build log shows
 {{{
  + cd go/src
  + ./make.bash
  ##### Building Go bootstrap tool.
  cmd/dist

  ##### Building Go toolchain using /home/debian/build/go1.4.
  bootstrap/internal/sys
  bootstrap/asm/internal/flags
  bootstrap/internal/bio
  bootstrap/compile/internal/big
  bootstrap/internal/gcprog
  bootstrap/internal/obj
  bootstrap/internal/obj/arm
  bootstrap/internal/obj/arm64
  bootstrap/internal/obj/mips
  bootstrap/internal/obj/ppc64
  bootstrap/internal/obj/s390x
  bootstrap/internal/obj/x86
  bootstrap/asm/internal/lex
  bootstrap/link/internal/ld
  bootstrap/asm/internal/arch
  bootstrap/compile/internal/ssa
  bootstrap/asm/internal/asm
  bootstrap/asm
  bootstrap/link/internal/amd64
  bootstrap/link/internal/arm
  bootstrap/link/internal/arm64
  bootstrap/link/internal/mips64
  bootstrap/link/internal/ppc64
  bootstrap/link/internal/s390x
  bootstrap/link/internal/x86
  bootstrap/link
  bootstrap/compile/internal/gc
  go build bootstrap/compile/internal/gc:
  /home/debian/build/go1.4/pkg/tool/linux_386/8g: signal: segmentation
 fault
  go tool dist: FAILED: /home/debian/build/go1.4/bin/go install -gcflags=-l
  -v bootstrap/...: exit status 1
  }}}
 It seems there is more to it than just some weird problem with my machine
 as boklm hit the error as well, this time when trying to build 6.5a4.

--

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


More information about the tbb-bugs mailing list