Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21453 - gcc 3.3 cannot compile emacs-cvs on ~x86 with -O3
Summary: gcc 3.3 cannot compile emacs-cvs on ~x86 with -O3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-21 23:47 UTC by James Cloos
Modified: 2004-05-12 00:45 UTC (History)
4 users (show)

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 James Cloos 2003-05-21 23:47:25 UTC
On ~x86, CFLAGS="-march=pentium3 -O3" gcc 3.3 (which was also compiled with that
CFALGS) cannot compile emacs-cvs; the binaries compile but do not give accurate
results when run.

Changing CFLAGS via s/-O3/-O2/ fixes the bug.

(I'd've set the Initial State to RESOLVED if the form allowed it....)
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-09-16 11:02:59 UTC
by policy, should'nt all cvs ebuilds be removed from tree ?
Comment 2 James Cloos 2003-09-16 14:04:50 UTC
> by policy, should'nt all cvs ebuilds be removed from tree ?

That would be a less than helpful/useful result....
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-10-30 04:14:10 UTC
how about gcc 3.3.2 ?
any news ?
Comment 4 James Cloos 2003-10-30 05:00:51 UTC
Interesting timing; 3.3.2 just finished merging a few minutes before I got
this mail.... :)

I've been using -O2 exclusively since the first reply to this, but I will
give -O3 a try after some more stuff merges.

Comment 5 Alexander Gabert (RETIRED) gentoo-dev 2004-03-05 02:51:14 UTC
hi

did you give it a try?

can we probably get this thing done here?

thank you,

Alex
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2004-05-12 00:45:19 UTC
I've used emacs-cvs for as long as its been in portage, with the same CFLAGS you have without a problem.  It is known to work with gcc-3.3.x and 3.4.  

Could you elaborate on what you mean by "the binaries compile but do not give accurate results when run"?

Also note that, app-editors/emacs-cvs unsets CFLAGS since June 2003.