[coreboot] seabios failure with v2 and -fomit-frame-pointer

Myles Watson mylesgw at gmail.com
Wed Mar 18 21:17:57 CET 2009


On Wed, Mar 18, 2009 at 2:09 PM, Ward Vandewege <ward at gnu.org> wrote:
> On Wed, Mar 18, 2009 at 01:01:41PM -0700, ron minnich wrote:
>> are the payloads built with omit frame pointer?
>
> FILO appears to be, cf. line 96 in Makefile:
>
>  CFLAGS += -Wall $(STACKPROTECT) $(INCLUDES) -Os -fomit-frame-pointer
> -fno-common -ffreestanding -fno-strict-aliasing

So matching them breaks it.

>> it's not a good thing if we have to sync how payloads are built with
>> how coreboot is built.
>
> Right!

I think the breakage is occurring before the payload executes, but I'm
not sure of that.

qemu: fatal: Trying to execute code outside RAM or ROM at 0xf10002ba

EAX=0c5a1400 EBX=000f6473 ECX=020078c3 EDX=00000000
ESI=0000b476 EDI=c8000015 EBP=00001001 ESP=00017ffc
EIP=f10002ba EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 00000000 00000000 00000000
CS =0010 00000000 ffffffff 00cf9b00
SS =0018 00000000 ffffffff 00cf9300
DS =0018 00000000 ffffffff 00cf9300
FS =0018 00000000 ffffffff 00cf9300
GS =0018 00000000 ffffffff 00cf9300
LDT=0000 00000000 0000ffff 00008000
TR =0000 00000000 0000ffff 00008000
GDT=     00000500 00000027
IDT=     0000cd34 0000009f
CR0=60000011 CR2=00000000 CR3=00000000 CR4=00000000
CCS=0c5a1400 CCD=0c5a1400 CCO=ADDB
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
Aborted


Thanks,
Myles




More information about the coreboot mailing list