Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 49392

Summary: dev-util/guile-1.6.4-r1 compile flags
Product: Gentoo Linux Reporter: Paul Belt <gaarde>
Component: New packagesAssignee: Alastair Tse (RETIRED) <liquidx>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2004.1   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Belt 2004-04-29 09:34:50 UTC
If I use the following, guile will fail to compile with an illegal instruction.
CFLAGS='-O3 -march=pentium2 -fomit-frame-pointer -mmmx -fgcse-sm -fgcse-lm -fmove-all-movables -funroll-loops -falign-loops -falign-jumps' emerge guile -v

It will compile without issues using the following:
CFLAGS='-O2 -march=pentium2 -fomit-frame-pointer -mmmx -fgcse-sm -fgcse-lm -fmove-all-movables' emerge guile -v

I haven't narrowed down which of the flags break guile, but this is at least a step in the right direction for a flag-o-matic strip.
Comment 1 Paul Belt 2004-05-27 16:33:24 UTC
-ftracer is the cause

This flag also breaks gnome-extra/gal and libpng
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-06-17 17:40:51 UTC
i doubt it is because of ftracer you get an illegal instruction. illegal instructions means you using the wrong march/mcpu optimisations .. 

if you want to reopen this, include the build log and also the output of 'emerge info'