This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [MPX] Fix for PR77267
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Alexander Ivchenko <aivchenk at gmail dot com>
- Cc: Ilya Enkovich <enkovich dot gnu at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 30 Aug 2016 13:09:49 -0700
- Subject: Re: [MPX] Fix for PR77267
- Authentication-results: sourceware.org; auth=none
- References: <CACysShgQsjKUxkLcEs2BeBCL8zbVmFpL3_uRK_e5Aw0aObp1cA@mail.gmail.com> <CAMbmDYZNGdOTABhdhQg_-BFE4=NWizd+qAo-TriLVMeY+NSrRg@mail.gmail.com> <CACysShhsJ4NzwS7iuRg2m2mcADcT2=Zu+ZxcYx+jj5OCyffvvw@mail.gmail.com>
On Tue, Aug 30, 2016 at 11:53 AM, Alexander Ivchenko <aivchenk@gmail.com> wrote:
> Would something like that count?
>
> I did not do the warning thing, cause the problem only appears when
> you provide the -Wl,-as-needed option to the linker.
> (In all other cases warning would be redundant). Are we able to check
> that on runtime?
>
>
Is this possible to add -lmpx after
-lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s
--no-as-needed
--
H.J.