The di configure script is broken. Having options like -O3 or -fomit-frame-pointer in CFLAGS (whether in make.conf or in the environment) won't work as expected. Reproducible: Always Steps to Reproduce: Actual Results: Build stopped: [...] Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib] Checking your choice of C compiler and flags for coherency... I've tried to compile and run a simple program with: gcc -O -O -3 -f omit-frame-pointer -pipe -L/usr/local/lib -o try try.c ./try and I got the following output: gcc: omit-frame-pointer: No such file or directory gcc: unrecognized option `-3' cc1: unrecognized option `-f' I can't compile the test program. You have a BIG problem. Shall I abort Configure [y] Ok. Stopping Configure. This is an upstream bug. Manual builds of di will hit the same problem.
No bug, you have the commandline wrong. It should be gcc -O3 -fomit-frame-pointer -pipe -L/usr/local/lin -o try try.c
LOL Good one. I know the command line is wrong. The problem is that the di configure script is building it wrong. Everything between lines "Build stopped:" and "Ok. Stopping Configure." is output from di configure. Try using correct CFLAGS as you suggest and emerge di, i.e. something like: CFLAGS="-O3 -fomit-frame-pointer -pipe" emerge di
Created attachment 15595 [details] Ebuild allowing -O3 amongst others in CFLAGS Sorry you are right.. Hope I can make it up to you with this working ebuild? :) Ebuild changed from using configure to using iffe which is the preferred tool according to the di maintainer.
Yup, that works. Thanks.
oops, fixed this a little while back forgot to close it