This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, libmpx, i386, PR driver/65444] Pass '-z bndplt' when building dynamic objects with MPX
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Ilya Enkovich <enkovich dot gnu at gmail dot com>
- Cc: Jeff Law <law at redhat dot com>, Sandra Loosemore <sandra at codesourcery dot com>, Richard Biener <rguenther at suse dot de>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 4 Jun 2015 15:53:40 +0000
- Subject: Re: [PATCH, libmpx, i386, PR driver/65444] Pass '-z bndplt' when building dynamic objects with MPX
- Authentication-results: sourceware.org; auth=none
- References: <20150318115630 dot GA64546 at msticlxl57 dot ims dot intel dot com> <CAMbmDYYuG0GAuym4-RVUnX6EWVtjaCuA240HTCef65kU26H6YQ at mail dot gmail dot com> <20150331094702 dot GC52842 at msticlxl57 dot ims dot intel dot com> <alpine dot DEB dot 2 dot 10 dot 1504031932570 dot 29464 at digraph dot polyomino dot org dot uk> <5521E515 dot 2030802 at codesourcery dot com> <20150406151742 dot GA43634 at msticlxl57 dot ims dot intel dot com> <5522A636 dot 9030000 at redhat dot com> <20150526091327 dot GI47912 at msticlxl57 dot ims dot intel dot com> <5565E07E dot 2070703 at redhat dot com> <CAMbmDYaU06cgCGWKi=aKV=zBtb62MCk_9QR=JkOOgcUegL3D1w at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506031522560 dot 25695 at digraph dot polyomino dot org dot uk> <CAMbmDYZxJ1Civbbg-Lc8GaVfr41YEsP9DfMjXbOkFE7uNcf=Jg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506031558290 dot 25695 at digraph dot polyomino dot org dot uk> <CAMbmDYZAQcF+aLHmNpr8xzy2gq0RmChC0bOWxpsqj7ZJVrz0FQ at mail dot gmail dot com>
On Thu, 4 Jun 2015, Ilya Enkovich wrote:
> 2015-06-03 18:59 GMT+03:00 Joseph Myers <joseph@codesourcery.com>:
> > You could, for example, have
> >
> > #if SOMETHING
> > #define MSG "%nsome msg"
> > #else
> > #define MSG ""
> > #endif
> >
> > and have another spec using MSG - that should work.
>
> In this case I should define SOMETHING in configure of gcc, not in
> configure of libmpx, right? But it would mean I check host linker, not
> target.
gcc/ configure tests on the linker generally test the build-x-target
linker, which is required to have the same version and be configured the
same as the host-x-target linker. (The tests mustn't actually try to link
anything, but they can e.g. see if a particular option is mentioned in
--help output. In general they also have version number checks for the
case of an in-tree linker build.)
--
Joseph S. Myers
joseph@codesourcery.com
- References:
- Re: [PATCH, libmpx, i386, PR driver/65444] Pass '-z bndplt' when building dynamic objects with MPX
- Re: [PATCH, libmpx, i386, PR driver/65444] Pass '-z bndplt' when building dynamic objects with MPX
- Re: [PATCH, libmpx, i386, PR driver/65444] Pass '-z bndplt' when building dynamic objects with MPX
- Re: [PATCH, libmpx, i386, PR driver/65444] Pass '-z bndplt' when building dynamic objects with MPX
- Re: [PATCH, libmpx, i386, PR driver/65444] Pass '-z bndplt' when building dynamic objects with MPX