ziwo n00b
Joined: 30 May 2002 Posts: 17 Location: Freiburg/Germany
|
Posted: Thu Aug 07, 2003 3:28 pm Post subject: Problem emerge sys-apps/di |
|
|
Hello
I have a problem to get sys-apps/di compiled when I 'activate' my CFLAGS in the make.conf. I'm using the the following CFLAGS:
Code: |
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -msse -mfpmath=sse,387 "
|
During the emerge process it stops with the following message:
Code: |
arthur di # emerge sys-apps/di
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/di-3.9 to /
>>> md5 src_uri ;-) di-3.9.tar.gz
>>> Unpacking source...
>>> Unpacking di-3.9.tar.gz to /mnt/scratch/tmp/portage/di-3.9/work
>>> Source unpacked.
sh ./Configure -ds -e -Dcc='gcc' -Dccflags=' -march=pentium3 -O3 -pipe -fomit-frame-pointer -ffast-math -mmmx -msse -mfpmath=sse,387 '
First let's make sure your kit is complete. Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Good, your tr supports [:lower:] and [:upper:] to convert case.
aix bsdos dynix freebsd irix openbsd unicos
beos dec_osf dynixptx hpux linux solaris
Which of these apply, if any? [linux]
AFS does not seem to be running...
System manual is in /usr/man/man1.
Do you expect to run these scripts and binaries on multiple machines? [n]
Installation prefix to use? (~name ok) [/usr/local]
Where do the manual pages (source) go? (~name ok) [/usr/man/man1]
Use which C compiler? [gcc]
Checking for GNU cc in disguise and/or its version number...
Directories to use for library searches? [/usr/local/lib /lib /usr/lib]
What is the file extension used for shared libraries? [so]
Checking for optional libraries...
Any additional libraries? [ -lm]
Now, how can we feed standard input to your C preprocessor...
What optimizer/debugger flag should be used? [-O]
Any additional cc flags?
[-march=pentium3 -O -3 -pipe -f omit-frame-pointer -f fast-math -mmmx -msse -mfpmath=sse,387]
Let me guess what the preprocessor flags are...
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 -march=pentium3 -O -3 -pipe -f omit-frame-pointer -f fast-math -mmmx -msse -mfpmath=sse,387 -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: fast-math: No such file or directory
gcc: unrecognized option `-3'
cc1: unrecognized option `-f'
cc1: unrecognized option `-f'
I can't compile the test program.
You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure.
!!! ERROR: sys-apps/di-3.9 failed.
!!! Function src_compile, Line 16, Exitcode 1
!!! ./configure failed
|
It seems that it interpret the compiler-flags in its own manner
I never had a problem with the flags till now.
I'm using:
gcc version 3.2.2
automake (GNU automake) 1.4-p5
Autoconf version 2.13
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4
If I comment the CFLAGS, everything went fine.
Anybody else got this problem ?
cheers
ziwo |
|