This was during a gentoo 1.4rc4 installation, at the begening of stage 3 process. I've just finished ti made emerge -ub system. I was trying to install midnigt commander (mc package), to finish my installation in a certain comfort. glib fail to emerge, the error was : "INVALID OPERATION" "pkg-config is too old, use at least version 1.14", or something like that. I had version 1.15... I've emerged version 1.14, same pb. I've tryed to launch /usr/bin/pkg-config manually : "INVALID OPERATION" was the only output. Ok, I've find problem's source. I've emerged pkgconfig 1.15 with CFLAGS="" : ok; now it's working. Trying to emerge glib : OK. Prior pkg-config was compiled with : CFLAGS="-mcpu=athlon -march=athlon -O3 -pipe -z combreloc -fPIC -fomit-frame-pointer -msse -mmmx -m3dnow" That's all folks. (sorry about my broken english) Reproducible: Always Steps to Reproduce: 1. 2. 3.
We do cannot support every set of CFLAGS out there, if you go beyond a reasonable set of defaults it is really you who should deal with the problems that may arise. And since this is the first report on pkgconfig in a long time i'm not about to take any preventive actions. Thanks for the report.