[Clfs-dev] SVN-20081102-PowerPC64-Multilib glibc build fails when user sets CFLAGS

John Frankish frankish at dubai.oilfield.slb.com
Sat Nov 8 23:20:25 PST 2008


Hi,

Ref Chapter 10.7 Glibc-2.8 32 Bit Libraries - maybe it is worth 
mentioning that the build will fail if the user attempts to set 
something like CFLAGS='-mcpu=cell -mtune=cell' with an error that 
glibc cannot be built without optimisation.

If the configure script is run with CFLAGS unset, then the default 
used is '-g -O2'. The build will complete successfully if the user 
tries something like CFLAGS='-g -O2 -mcpu=cell -mtune=cell'

John




More information about the Clfs-dev mailing list