Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49392 - dev-util/guile-1.6.4-r1 compile flags
Summary: dev-util/guile-1.6.4-r1 compile flags
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-29 09:34 UTC by Paul Belt
Modified: 2004-06-17 17:40 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 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'