[LinuxBIOS] Qemu compile for LinuxBIOSV2

Marc Karasek Marc.Karasek at Sun.COM
Fri Nov 30 20:53:03 CET 2007


I am trying to get up to speed on LinuxBIOS and to that end have tried 
to compile both v3 & v2 for qemu.

I have successfully compiled and run v3 with a filo package on my Fedora 
8 system.

When I try to compile v2 with a filo.elf payload I get the :

collect2: ld terminated with signal 11 [Segmentation fault]

Error

In looking at the compile it has gotten through the compile part and is 
linking.

rm -f linuxbios.a
ar cr linuxbios.a  malloc.o pci_ops.o smbus_ops.o memset.o 
pci_ops_auto.o linuxbios_table.o fallback_boot.o pciexp_device.o 
keyboard.o pnp_device.o printk.o irq_tables.o pcix_device.o i8259.o 
pci_device.o console.o elfboot.o hardwaremain.o boot.o exception.o 
delay.o version.o pci_ops_mmconf.o memcmp.o isa-dma.o hypertransport.o 
vtxprintf.o tables.o root_device.o cardbus_device.o uart8250.o 
device_util.o ./option_table.o compute_ip_checksum.o device.o 
northbridge.o memcpy.o agp_device.o vgabios.o clog2.o pirq_routing.o 
memmove.o pci_ops_conf2.o pci_ops_conf1.o mc146818rtc.o rom_stream.o 
c_start.o vsprintf.o cpu.o static.o
gcc -m32 -nostdlib -r -o linuxbios_ram.o c_start.o  mainboard.o 
uart8250_console.o linuxbios.a /usr/lib/gcc/i386-redhat-linux/4.1.2/libgcc.a
gcc -m32 -nostdlib -nostartfiles -static -o linuxbios_ram -T 
/home/mk216460/src/LinuxBIOSv2-2988/src/config/linuxbios_ram.ld 
linuxbios_ram.o
collect2: ld terminated with signal 11 [Segmentation fault]
make[1]: *** [linuxbios_ram] Error 1
make[1]: Leaving directory 
`/home/mk216460/src/LinuxBIOSv2-2988/targets/emulation/qemu-i386/qemu-i386/image'

In looking at the /var/log/messages you see

Nov 30 14:37:02 dhcp-uatl04-156-163 kernel: ld[3691]: segfault at 
00000030 eip 08068b2c esp bfc6a0f0 error 4

Any help/pointers for what to look at would be helpful. 

-- 
/*********************
Marc Karasek
MTS
Sun Microsystems
mailto:marc.karasek at sun.com
ph:770.360.6415
*********************/





More information about the coreboot mailing list