Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 43785

Summary: uae-0.8.25_pre20040302 needs way too much RAM to compile
Product: Gentoo Linux Reporter: Michal Januszewski (RETIRED) <spock>
Component: New packagesAssignee: David Holm (RETIRED) <dholm>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the splitter script
the patch

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.