lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


meino.cramer@gmx.de wrote:
> gcc -fPIC -O2 -fomit-frame-pointer -Wall  -I/usr/local/include  -combine -ffast-math -fopenmp -fprefetch-loop-arrays -ftree-parallelize-loops=12 -funroll-all-loops -fwhole-program -mtune=amdfam10 -O3 -combine -ffast-math -fopenmp -fprefetch-loop-arrays -ftree-parallelize-loops=12 -funroll-all-loops -fwhole-program -mtune=amdfam10 -O3 -combine -ffast-math -fopenmp -fprefetch-loop-arrays -ftree-parallelize-loops=12 -funroll-all-loops -fwhole-program -mtune=amdfam10 -O3 -c -o bit.o bit.c

OMG ... who put that utter nonsense into CFLAGS? Is that the
default configuration of Gentoo nowadays? I'm shocked. Try this:

  make clean; make CFLAGS=

Simply said: you can't expect to compile a majority of C libraries
with these flags. Esp. -fwhole-program is deadly for shared
libraries that are *supposed* to export functions.

In other words: consider using a saner distro than Gentoo. It does
not live up to its promise. And that has been true for a looong
time. I think I stopped using it 7 years ago and never looked back.

--Mike