Bumping the compiler version to 6.2.0 breaks 64bit Tor Browser builds
After bumping the GCC version to 6.2.0 due to #13893 (moved) building GCC 6.2.0 is busted for 64bits in our gitian setup:
/usr/bin/ld.bfd.real: gcov.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author
This works fine with
hardening-wrapper
settings as we have them in Gitian on a Debian testing machine. Additionally, settingDEB_BUILD_HARDENING_PIE=0
for the GCC step in our Gitian build would help as well. - Author
The Wheezy compiler is too old for it (generally 4.x).
- Author
Okay, I bisected the problem (
PIE
enforcement breaks the compiler) and pushed a fix for review to bug_20301 (https://gitweb.torproject.org/user/gk/tor-browser-bundle.git/commit/?h=bug_20301&id=dfa3403825fc315168df3295f6062f5979b0a8a0) in my public repo.Trac:
Keywords: TorBrowserTeam201610 deleted, GeorgKoppen201610, TorBrowserTeam201610R added
Status: new to needs_review - Author
Taking off the review queue as GCC 6 seems to be too unstable to use right now. See #20381 (moved) for further details.
Trac:
Keywords: TorBrowserTeam201610R deleted, TorBrowserTeam201610 added
Status: needs_review to new - Author
Moving over to rbm
Trac:
Keywords: tbb-gitian deleted, tbb-rbm added Any reason you went with 6.2? I'm using 6.4 (for 32 bit) in TaskCluster.
Replying to boklm:
I think when this ticket was opened (October 2016), 6.2 was the last version. We should probably use 6.4 now. 7.3 now.
- Author
Trac:
Parent: N/A to #25304 (moved)- Author
Adding to our March plate.
Trac:
Keywords: TorBrowserTeam201802 deleted, TorBrowserTeam201803 added Replying to gk:
Okay, I bisected the problem (
PIE
enforcement breaks the compiler) and pushed a fix for review to bug_20301 (https://gitweb.torproject.org/user/gk/tor-browser-bundle.git/commit/?h=bug_20301&id=dfa3403825fc315168df3295f6062f5979b0a8a0) in my public repo.I applied the same fix, using the same comment, to tor-browser-build in branch
bug_20301
: https://gitweb.torproject.org/user/boklm/tor-browser-build.git/commit/?h=bug_20301&id=4e57f8a0780fd9ed9633dc7d2391bf908b74e337Trac:
Status: new to needs_review
Keywords: TorBrowserTeam201803 deleted, TorBrowserTeam201803R added- Author
Replying to boklm:
Replying to gk:
Okay, I bisected the problem (
PIE
enforcement breaks the compiler) and pushed a fix for review to bug_20301 (https://gitweb.torproject.org/user/gk/tor-browser-bundle.git/commit/?h=bug_20301&id=dfa3403825fc315168df3295f6062f5979b0a8a0) in my public repo.I applied the same fix, using the same comment, to tor-browser-build in branch
bug_20301
: https://gitweb.torproject.org/user/boklm/tor-browser-build.git/commit/?h=bug_20301&id=4e57f8a0780fd9ed9633dc7d2391bf908b74e337The comment looks good to me. Although, we won't update GCC to 6.2.0 anymore. Thus, the commit message is wrong. I think we should just close this bug an apply the comment about disabling PIE in the upcoming patch for #25304 (moved).
Ok, I think it makes sense to do it in the patch for #25304 (moved).
Trac:
Resolution: N/A to duplicate
Status: needs_review to closed- Trac closed
closed
- cypherpunks mentioned in issue #25304 (moved)
mentioned in issue #25304 (moved)