Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131442 - Xen refuses to install because of -mfpmath=387
Summary: Xen refuses to install because of -mfpmath=387
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-27 06:46 UTC by Garrett Cooper
Modified: 2006-04-27 06:57 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 Garrett Cooper 2006-04-27 06:46:20 UTC
Just thought you guys should know...

cc1: warnings being treated as errors
kernel.c:1: warning: 387 instruction set disabled, using SSE arithmetics
make[3]: *** [kernel.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/common'
make[2]: *** [/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/common/built_in.o] Error 2
make[2]: Leaving directory `/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/arch/x86'
make[1]: *** [/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/xen] Error 2
make[1]: Leaving directory `/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen'
make: *** [install-xen] Error 2

!!! ERROR: app-emulation/xen-3.0.2 failed.
!!! Function src_install, Line 61, Exitcode 2
!!! install failed
!!! If you need support, post the topmost build error, NOT this status message.

sprsd gcooper # emerge --info | grep 387
CFLAGS="-O3 -march=pentium4 -mtune=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -momit-leaf-frame-pointer -ftracer -fforce-addr -funroll-loops -pipe"
CXXFLAGS="-O3 -march=pentium4 -mtune=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -momit-leaf-frame-pointer -ftracer -fforce-addr -funroll-loops -pipe -fvisibility-inlines-hidden"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-27 06:57:39 UTC
Thanks. Feel free to remove it from your C[XX]FLAGS. -fvisibility-inlines-hidden is a good candidate for removal as well. ;)

<snip>
sse,387
Attempt to utilize both instruction sets at once.  This effectively double the amount of available registers and on chips with separate execution units for 387 and SSE the execution resources too.  Use this option with care, as               it is still experimental, because the GCC register allocator does not model separate functional units well resulting in instable performance.
</snip>