Brian Litzinger wrote: > On Tue, Dec 05, 2006 at 02:47:44PM -0500, Olivier Crete wrote: >> Hi, >> On Tue, 2006-05-12 at 09:33 -0800, Brian Litzinger wrote: >>> During my most recent emerge -u world: >>> >>> x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=athlon64 >>> -fomit-frame-pointer -pipe -Wl,--as-needed -o dd dd.o >> do you have -Wl,--as-needed in your CFLAGS ? > > I do not have '-Wl,--as-needed' in my CFLAGS so far as I understand > how things work. > > grep CFLAGS /etc/make.conf > CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe" > CXXFLAGS="${CFLAGS}" If --as-needed is somewhere it should be in LDFLAGS, not CFLAGS. To be sure please post the output of emerge --info here.