Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7469 - incompatible build flags for K6
Summary: incompatible build flags for K6
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-04 11:14 UTC by Martin Bergstrand
Modified: 2011-10-30 22:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Bergstrand 2002-09-04 11:14:06 UTC
Without any changes to my system emerge -u portage suddenly fails with the
following message:

>>> emerge sys-apps/portage-2.0.35 to /
>>> Unpacking source...
>>> Source unpacked.
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... 
gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT
libsandbox.c
gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT
sandbox_futils.c
gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT
canonicalize.c
ld libsandbox.o sandbox_futils.o canonicalize.o -shared -fPIC -ldl -lc -o
libsandbox.so
gcc -march=i386 -O1 -pipe -Wall -c sandbox.c
gcc sandbox.o sandbox_futils.o -ldl -lc -o sandbox

>>> Install portage-2.0.35 into /var/tmp/portage/portage-2.0.35/image/ category
sys-apps
running install
running build
running build_ext
building 'missingos' extension
creating build
creating build/temp.linux-i586-2.2
gcc -DNDEBUG -mcpu=k6 -march=k6 -O3 -pipe -fPIC -I/usr/include/python2.2 -c
missingos.c -o build/temp.linux-i586-2.2/missingos.o -O2 -mcpu=i686 -pipe
cc1: -mcpu=i686 does not support -march=k6
error: command 'gcc' failed with exit status 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line -309, Exitcode 1
!!! (no error message)
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-04 12:27:40 UTC
what are your CFLAGS and CXXFLAGS?
Comment 2 Martin Bergstrand 2002-09-04 13:44:56 UTC
How embarrasing, I managed to mangle my flags somehow... It actually works just great.