This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/88262] gcc uses crt1.o in place of Scrt1.o when the main function is in a PIC shared lib


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]