[Issue 5278] gentoo's 'hardended' gcc doesn't work with dmd

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 18 23:13:02 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5278


dawg at dawgfoto.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dawg at dawgfoto.de


--- Comment #20 from dawg at dawgfoto.de 2011-12-18 23:12:56 PST ---
The core issue is that your gcc is linking PIE by default but
PIC support for dmd still has some bug and probably would need
more that -fPIC to support PIE. Currently you should pass
-fno-pie to gcc for linking.

Please help to find out why --export-dynamic is involved.
Does it trigger alter the PIE behavior?
What's the backtrace of your segfault core dumps?
Please list any linker warnings you get
(-Wl,--verbose for gcc or -L--verbose for dmd).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list