Change to -O
-----Original Message----- From: Jeff Stevens [mailto:jsteve17@yahoo.com] Sent: Thursday, September 23, 2004 11:27 AM To: linuxbios@clustermatic.org Subject: Re: freebios2 compilation error (romcc)
I also found if I remove the -O2 option from romcc it compiles fine, but then auto.inc is way to big.
Thanks, Jeff
--- Jeff Stevens jsteve17@yahoo.com wrote:
I have downloaded the latest version of LinuxBIOS for AMD64 (freebios2), and am having problems compiling it. It is erroring out when it runs romcc. Here is a screen dump of the error:
-->
./romcc -mcpu=k8 -O2 ./auto.E > auto.inc auto.c:118.49: coherent_ht.c:291.41: coherent_ht.c:410.23: coherent_ht.c:645.27: auto.c:221.47: Load address out of bounds make[1]: *** [auto.inc] Error 1
<--
I tried commenting out those lines, and if I just comment out line 645 of coherent_ht.c (result = setup_smp();) it compiles fine. What do I need to do to get this to compile correctly.
Thanks, Jeff Stevens
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios
_______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com _______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios