Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 677818

Summary: =www-client/firefox-65.0-r1 USE="clang" should require --disable-elf-hack
Product: Gentoo Linux Reporter: Alex <fuantaji>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dharding
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: archived build log
emerge info
pre-elfhacked library

Description Alex 2019-02-12 17:26:14 UTC
Created attachment 564996 [details]
archived build log

With USE="clang" -r1 does not build.

I have this bug on 2 machines.

On this one I have recently enabled "clang" USE flag. That coincided with -r1 patch.

On the other one ebuild didn't work until I patched it with --disable-elf-hack from pre -r1 ebuild version.
Comment 1 Alex 2019-02-12 17:26:57 UTC
Created attachment 564998 [details]
emerge info
Comment 2 Alex 2019-02-12 17:28:03 UTC
Created attachment 565000 [details]
pre-elfhacked library
Comment 3 Alex 2019-02-12 17:31:49 UTC
80:24.57 === If you get failures below, please file a bug describing the error
80:24.57 === and your environment (compiler and linker versions), and
80:24.57 === provide the pre-elfhacked library as an attachment.
80:24.57 === Use --disable-elf-hack until this is fixed.
80:24.57 ===
80:24.57 # Fail if the library doesn't have INIT .dynamic info
80:24.57 readelf -d test-ctors.so | grep '(INIT)'
80:24.57  0x000000000000000c (INIT)               0x8050
80:24.57 /var/tmp/portage/www-client/firefox-65.0-r1/work/firefox-65.0/ff/build/unix/elfhack/elfhack -b -f test-ctors.so
80:24.57 test-ctors.so: terminate called after throwing an instance of 'std::runtime_error'
80:24.57   what():  Segments overlap
80:24.57 gmake[4]: *** [Makefile:19: test-ctors.so] Aborted
80:24.57 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-65.0-r1/work/firefox-65.0/ff/build/unix/elfhack'
80:24.57 gmake[4]: *** Waiting for unfinished jobs....
Comment 4 Arfrever Frehtes Taifersar Arahesis 2019-02-12 20:49:50 UTC

*** This bug has been marked as a duplicate of bug 677782 ***