Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15754 - media-libs/imlib2-1.0.6(-r1) doesn't compile with -fomit-frame-pointer
Summary: media-libs/imlib2-1.0.6(-r1) doesn't compile with -fomit-frame-pointer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-15 14:26 UTC by Mark McKenna
Modified: 2003-03-09 09:30 UTC (History)
0 users

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


Attachments
Updated ebuild for -fomit-frame-pointer error (and USE=static compatibility) (imlib2-1.0.6-r2.ebuild,1.21 KB, text/plain)
2003-02-15 14:33 UTC, Mark McKenna
Details
#2: Updated ebuild for -fomit-frame-pointer on k6-2 error (imlib2-1.0.6-r2.ebuild,1.25 KB, text/plain)
2003-02-26 18:30 UTC, Mark McKenna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark McKenna 2003-02-15 14:26:35 UTC
I get the standard error I take to mean that -fomit-frame-pointer won't work in
a given case when I try to install this package (a dependency for 3ddesktop).

After removing the flag, the package emerges perfectly.

I'll attach an ebuild, imlib2-1.0.6-r2, which solves the issue using flag-o-matic.

Reproducible: Didn't try
Steps to Reproduce:
1. CFLAGS=${CFLAGS} -fomit-frame-pointer
2. emerge it.
3.

Actual Results:  
Addressing error in the linking (I think) portion of the compile process

Expected Results:  
worked ;P
Comment 1 Mark McKenna 2003-02-15 14:33:07 UTC
Created attachment 8312 [details]
Updated ebuild for -fomit-frame-pointer error (and USE=static compatibility)
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-15 22:59:16 UTC
do your -march flags have "k6" in them by any chance?
Comment 3 Mark McKenna 2003-02-26 18:25:31 UTC
-march=k6-2, actually.  I'll change the patch and have it check for this flag, and strip -fomit-frame-pointer only if it finds it.

I've also done this for the jpeg-mmx package.
Comment 4 Mark McKenna 2003-02-26 18:30:35 UTC
Created attachment 8752 [details]
#2: Updated ebuild for -fomit-frame-pointer on k6-2 error
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-28 19:55:51 UTC
curious -- what happens with -march=i586 -fomit-frame-pointer?
Comment 6 Simon ARNAUD 2003-03-05 03:45:26 UTC
Failed also here with march=k6-2 and fomit-frame-pointer
Worked with march=i586 and fomit-frame-pointer

Also had -Os -pipe
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-09 09:30:51 UTC
fixed in portage.