This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/88262] gcc uses crt1.o in place of Scrt1.o when the main function is in a PIC shared lib
- From: "stephen.kim at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 01 Dec 2018 09:13:11 +0000
- Subject: [Bug driver/88262] gcc uses crt1.o in place of Scrt1.o when the main function is in a PIC shared lib
- Auto-submitted: auto-generated
- References: <bug-88262-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88262
--- Comment #11 from Stephen Kim <stephen.kim at oracle dot com> ---
(In reply to Andrew Pinski from comment #9)
> (In reply to joseph@codesourcery.com from comment #8)
> > On Fri, 30 Nov 2018, stephen.kim at oracle dot com wrote:
> >
> > > The glibc commit that triggered this bug is:
> > > bfff8b1becd7d01c074177df7196ab327cd8c844
> >
> > That's the copyright date updates for 2017.
>
> I was going to say that too.
> Maybe:
> https://sourceware.org/git/?p=glibc.git;a=commit;
> h=14d886edbd3d80b771e1c42fbd9217f9074de9c6
It does not seem to be the fix for this one I had been reporting. (In reply to
Andrew Pinski from comment #9)
> (In reply to joseph@codesourcery.com from comment #8)
> > On Fri, 30 Nov 2018, stephen.kim at oracle dot com wrote:
> >
> > > The glibc commit that triggered this bug is:
> > > bfff8b1becd7d01c074177df7196ab327cd8c844
> >
> > That's the copyright date updates for 2017.
>
> I was going to say that too.
> Maybe:
> https://sourceware.org/git/?p=glibc.git;a=commit;
> h=14d886edbd3d80b771e1c42fbd9217f9074de9c6
Thank you for sharing the link. The bug here I am reporting is !PIC case. The
fix is for PIC && !SHARED case.