#26323: Build 32bit Linux bundles on 64bit systems
-------------------------------------------+--------------------------
 Reporter:  gk                             |          Owner:  tbb-team
     Type:  task                           |         Status:  new
 Priority:  Very High                      |      Milestone:
Component:  Applications/Tor Browser       |        Version:
 Severity:  Normal                         |     Resolution:
 Keywords:  tbb-rbm, TorBrowserTeam201902  |  Actual Points:
Parent ID:  #26468                         |         Points:
 Reviewer:                                 |        Sponsor:
-------------------------------------------+--------------------------
Changes (by boklm):

 * cc: dcf (removed)


Comment:

 The build of snowflake was failing with the error:
 {{{
 ./rendezvous.go:77:43: undefined: webrtc.SessionDescription
 ./rendezvous.go:78:3: undefined: webrtc.SessionDescription
 ./rendezvous.go:119:16: undefined: webrtc.Configuration
 }}}

 This is fixed by adding an `export CGO_ENABLED=1`. It seems that cgo is
 enabled by default, except when cross-compiling, which is the case when we
 build for linux-i686 on linux-x86_64, so the build of `go-webrtc` was
 missing the cgo parts.

 I am not sure if we should add this `export CGO_ENABLED=1` to `var/setup`
 in `projects/go/config`, so that it applies to all go projects, or add it
 only in `projects/go-webrtc/config` and `projects/snowflake/config`.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26323#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to