Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225743 - sys-devel/gcc-3.2.3-r4 won't compile with recent gcc
Summary: sys-devel/gcc-3.2.3-r4 won't compile with recent gcc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://www.archivum.info/gnu.gcc.help...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 13:29 UTC by Emil Wojak
Modified: 2008-06-22 10:51 UTC (History)
0 users

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


Attachments
Patch to let sys-devel/gcc-3.2.3-r5 compile with =sys-devel/gcc-3* (gcc323-poisoned-malloc.patch,1.25 KB, patch)
2008-06-10 13:31 UTC, Emil Wojak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emil Wojak 2008-06-10 13:29:41 UTC
I'm currently working on a project that will compile only with this specific GCC version. I was quite happy to find the ebuild for it still in Portage, but unfortunately it won't compile with >=sys-devel/gcc-4. Google shows two relevant threads:
http://gcc.gnu.org/ml/gcc-help/2008-01/msg00040.html
http://www.archivum.info/gnu.gcc.help/2008-05/msg00093.html

The patch from the second URL makes gcc-3.2.3 compile with itself as a compiler (I used gcc-3.2.3 binary package, then confirmed it again after having it succesfully emerged). I suppose it could be true for other gcc-3* versions as well - I can do some testing with other gcc-3 flavors, if needed. However it doesn't help with >=sys-devel/gcc-4.

I think it would be useful to add this patch to Portage.
Also, unless someone provides a patch for gcc-4, I think gcc-3.2.3 should depend on <sys-devel/gcc-4.
Comment 1 Emil Wojak 2008-06-10 13:31:54 UTC
Created attachment 156239 [details, diff]
Patch to let sys-devel/gcc-3.2.3-r5 compile with =sys-devel/gcc-3*
Comment 2 SpanKY gentoo-dev 2008-06-22 10:51:32 UTC
ive added the patch to cvs, cheers