[Bug middle-end/83074] Shared object built with `-pie --coverage' hangs forever

2017-11-22 Thread stvar at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83074 --- Comment #7 from Stefan Vargyas --- > > libc.so.6 is a shared library, not a PIE. It is normally linked with -shared, > just arranged to have .interp section and a meaningful e_entry in Ehdr. > PIE is something significantly different, in pa

[Bug middle-end/83074] Shared object built with `-pie --coverage' hangs forever

2017-11-21 Thread stvar at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83074 --- Comment #6 from Stefan Vargyas --- > > Don't use --export-dynamic. This causes __libc_csu_{init,fini} to be shared > between the objects instead of having a private copy in each object. > Thank you very much Andreas for your deep inside k

[Bug middle-end/83074] Shared object built with `-pie --coverage' hangs forever

2017-11-20 Thread stvar at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83074 --- Comment #3 from Stefan Vargyas --- > > Why do you expect you can use a PIE as a shared library? > Well, with `-pie' one can issue 'foo.so' by itself: $ ./foo.so foo.so: version 0.1 This feature is quite useful in practice -- for exam

[Bug gcov-profile/83074] New: Shared object built with `-pie --coverage' hangs forever

2017-11-20 Thread stvar at yahoo dot com
ormal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: stvar at yahoo dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 42664 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=4266