[LinuxBIOS] [patch 2/4] Geode LX: Norwich mainboard

Marc Jones marc.jones at amd.com
Thu May 3 17:35:07 CEST 2007


Corey,
Thanks! that was the problem. Jordan had worked around this in buildrom 
but I was building these other mainboards by hand.
Thanks,
Marc


Corey Osgood wrote:
> Marc Jones wrote:
>> I am trying to bring olpc and rumba up to the geodelx patch level and I 
>> am hitting a build problem that I can't seem to figure out. I get the 
>> following build error.
>>
>> gcc -m32 -nostdlib -r -o linuxbios_ram.o c_start.o  mainboard.o 
>> uart8250_console.o cs5536.o model_gx2_init.o linuxbios.a 
>> /usr/lib/gcc/i486-linux-gnu/4.1.2/libgcc.a
>> gcc -m32 -nostdlib -nostartfiles -static -o linuxbios_ram -T 
>> /home/marcj/LinuxBIOSv2/src/config/linuxbios_ram.ld linuxbios_ram.o
>> linuxbios_ram.o: In function `number':
>> vtxprintf.c:(.text+0x2f0a): undefined reference to `__stack_chk_fail'
>> linuxbios_ram.o: In function `report_resource_stored':
>> (.text+0x42ba): undefined reference to `__stack_chk_fail'
>> linuxbios_ram.o: In function `cpu_initialize':
>> (.text+0x8b4d): undefined reference to `__stack_chk_fail'
>> collect2: ld returned 1 exit status
>> make[1]: *** [linuxbios_ram] Error 1
>> make[1]: Leaving directory 
>> `/home/marcj/LinuxBIOSv2/targets/olpc/rev_a/rev_a/fallback'
>> make: *** [fallback/linuxbios.rom] Error 1
>>
>>
>>
>> I get this on both platforms. Any idea what the problem might be?
>> Marc
> 
> Weird, can you build the norwich target? Try passing
> -fno-stack-protector to gcc.
> 
> -Corey
> 
> 

-- 
Marc Jones
Senior Software Engineer
(970) 226-9684 Office
mailto:Marc.Jones at amd.com
http://www.amd.com/embeddedprocessors






More information about the coreboot mailing list