Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43785 - uae-0.8.25_pre20040302 needs way too much RAM to compile
Summary: uae-0.8.25_pre20040302 needs way too much RAM to compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: David Holm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-05 03:23 UTC by Michal Januszewski (RETIRED)
Modified: 2004-03-05 05:29 UTC (History)
0 users

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


Attachments
the splitter script (split_cpuemu.pl,498 bytes, text/plain)
2004-03-05 03:24 UTC, Michal Januszewski (RETIRED)
Details
the patch (uae.patch,951 bytes, patch)
2004-03-05 03:24 UTC, Michal Januszewski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Januszewski (RETIRED) gentoo-dev 2004-03-05 03:23:55 UTC
It seems like we have yet another app that needs an insaneously large amount of RAM to compile (the first one was dc-gui). The root of the problem is cpuemu_6.c file. I've made a script which splits it into two smaller files, which makes compilation faster and less memory expensive. Attached is the script and a patch to the uae ebuild. It works for me (256 MB RAM), but please test it to make sure nothing is broken :)
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2004-03-05 03:24:22 UTC
Created attachment 26892 [details]
the splitter script
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-03-05 03:24:40 UTC
Created attachment 26893 [details, diff]
the patch
Comment 3 David Holm (RETIRED) gentoo-dev 2004-03-05 05:29:24 UTC
Thanks, works for me so I commited it.