Re: libtool 2.2.2, ccache and -all-static

2008-04-22 Thread Gary V. Vaughan
Hallo Ralf, On 22 Apr 2008, at 15:43, Ralf Wildenhues wrote: * Richard Purdie wrote on Tue, Apr 22, 2008 at 12:29:50PM CEST: I've noticed another problem with two packages in poky, prelink and libvorbis. Both packages have areas where LDFLAGS="-all-static" is used. The problem comes about

Re: libtool 2.2.2, ccache and -all-static

2008-04-22 Thread Richard Purdie
Hi Ralf, On Tue, 2008-04-22 at 21:43 +0200, Ralf Wildenhues wrote: > Thanks for the bug report, and especially for providing an example to > reproduce it! > > > libtool: link: ccache -static gcc -O20 -ffast-math -D_REENTRANT > > -fsigned-char -DUSE_MEMORY_H -o decoder_example decoder_example.o

Re: libtool 2.2.2, ccache and -all-static

2008-04-22 Thread Ralf Wildenhues
Hi Richard, * Richard Purdie wrote on Tue, Apr 22, 2008 at 12:29:50PM CEST: > > I've noticed another problem with two packages in poky, prelink and > libvorbis. Both packages have areas where LDFLAGS="-all-static" is used. > > The problem comes about since Poky sets CC to "ccache gcc", then libt

Re: libtool 2.2.2, ccache and -all-static

2008-04-22 Thread Ralf Wildenhues
* Bob Friesenhahn wrote on Tue, Apr 22, 2008 at 06:01:33PM CEST: > On Tue, 22 Apr 2008, Richard Purdie wrote: > >> I've noticed another problem with two packages in poky, prelink and >> libvorbis. Both packages have areas where LDFLAGS="-all-static" is used. >> >> The problem comes about since Poky

Re: libtool 2.2.2, ccache and -all-static

2008-04-22 Thread Bob Friesenhahn
On Tue, 22 Apr 2008, Richard Purdie wrote: I've noticed another problem with two packages in poky, prelink and libvorbis. Both packages have areas where LDFLAGS="-all-static" is used. The problem comes about since Poky sets CC to "ccache gcc", then libtool puts the -static flag between ccache a

libtool 2.2.2, ccache and -all-static

2008-04-22 Thread Richard Purdie
Hi, I've noticed another problem with two packages in poky, prelink and libvorbis. Both packages have areas where LDFLAGS="-all-static" is used. The problem comes about since Poky sets CC to "ccache gcc", then libtool puts the -static flag between ccache and gcc. To reproduce: wget http://www.v