[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#219490: libtool: Completely dumb assumption can make -fPIC test
Re: Bug#219490: libtool: Completely dumb assumption can make -fPIC test fail
Fri, 07 Nov 2003 09:32:38 +0100
Le ven 07/11/2003 à 04:03, Scott James Remnant a écrit :
> > The comments says all. Of course there can be other warnings! Especially
> > given that the test re-uses all previously set compiler flags!
> > Luckily, GCC is not prone to give warnings with 1-liners C files. Still,
> > for example, using -Wpadded, it will on powerpc and alpha. This example
> > made hdf5 FTBFS because -fPIC was wrongly detected as non-working on
> > these arches.
> Could you suggest an alternate test?
Well, it could compare the compiler output without and with -fPIC.
A simpler solution would be not to use previously set CFLAGS, as they
can give results different from what is expected with standard CFLAGS,
and we don't need them just to test whether -fPIC works.
.''`. Josselin Mouette /\./\
: :' : address@hidden
`. `' address@hidden
`- Debian GNU/Linux -- The power of freedom
Description: Ceci est une partie de message numériquement signée.