[Bug driver/88262] gcc uses crt1.o in place of Scrt1.o when the main function is in a PIC shared lib
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 2 00:35:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88262
--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Let's start over. crt1.o in glibc should support calling main that is located
in the shared library.
If it does not then there is a bug there.
Can you explain why you think crt1.o is broken that it can't be used for that
purpose?
Also you pointed to a commit which you said changed the behavior in glibc but
the commit you pointed to only changes dates and nothing more. Can you point
to the commit which changed the behavior in glibc which caused this not to work
any more?
We can forward from there with those two.
More information about the Gcc-bugs
mailing list