<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for the patch.<br>
<br>
Tried it and it still crashes, but at least now it gives more info. I
will look into this from this end and see what is happening.<br>
<br>
BTW: Is this patch associated with the thread about qemu and the
compilers? <br>
<br>
Thanks again.... <br>
<br>
cp linuxbios_ram.nrv2b linuxbios_ram.rom<br>
echo '/*ldoptions*/' > ldscript.ld; cat ldoptions >>
ldscript.ld ; for file in
/home/mk216460/src/LinuxBIOSv2-2988/src/arch/i386/init/ldscript.lb
/home/mk216460/src/LinuxBIOSv2-2988/src//cpu/x86/16bit/entry16.lds
/home/mk216460/src/LinuxBIOSv2-2988/src//cpu/x86/32bit/entry32.lds
/home/mk216460/src/LinuxBIOSv2-2988/src//cpu/x86/16bit/reset16.lds
/home/mk216460/src/LinuxBIOSv2-2988/src//arch/i386/lib/id.lds ; do echo
/\* $file \*/ >> ldscript.ld; cat $file >> ldscript.ld ;
done<br>
gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld
crt0.o <br>
/usr/bin/ld: linuxbios: section `.id' can't be allocated in segment 2<br>
/usr/bin/ld: final link failed: Bad value<br>
collect2: ld returned 1 exit status<br>
<br>
<br>
<pre class="moz-signature" cols="72">/*********************
Marc Karasek
MTS
Sun Microsystems
<a class="moz-txt-link-freetext" href="mailto:marc.karasek@sun.com">mailto:marc.karasek@sun.com</a>
ph:770.360.6415
*********************/
</pre>
<br>
<br>
Ed Swierk wrote:
<blockquote
cite="mid:e6c711510712030958v5e668115l35061d3999a628ad@mail.gmail.com"
type="cite">
<pre wrap="">On 11/30/07, Marc Karasek <a class="moz-txt-link-rfc2396E" href="mailto:Marc.Karasek@sun.com"><Marc.Karasek@sun.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">When I try to compile v2 with a filo.elf payload I get the :
collect2: ld terminated with signal 11 [Segmentation fault]
Error
</pre>
</blockquote>
<pre wrap=""><!---->
The attached patch works around a crash from GNU ld version
2.17.50.0.18-1 20070731.
--Ed
</pre>
</blockquote>
</body>
</html>