grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't compile r220 because of setjmp.S


From: Felix Zielcke
Subject: Re: can't compile r220 because of setjmp.S
Date: Sat, 16 May 2009 18:52:31 +0200

Am Samstag, den 16.05.2009, 18:34 +0200 schrieb Vladimir 'phcoder'
Serbinenko:
> On Sat, May 16, 2009 at 6:23 PM, Felix Zielcke <address@hidden> wrote:
> > Hi list,
> >
> > r2220 on amd64 fails for me with:
> >
> > cc -Ilib/i386 -I/tmp/buildd/grub2-1.96+20090516/lib/i386 -I. -I./include 
> > -I/tmp/buildd/grub2-1.96+20090516/include -Wall -W -DASM_FILE=1   -MD -c -o 
> > setjmp_mod-lib_i386_setjmp.o 
> > /tmp/buildd/grub2-1.96+20090516/lib/i386/setjmp.S
> > setjmp.S: Assembler messages:
> > setjmp.S:33: Error: suffix or operands invalid for `pop'
> > setjmp.S:37: Error: suffix or operands invalid for `jmp'
> > setjmp.S:55: Error: suffix or operands invalid for `jmp'
> It tries to compile 32-bit version. You should say it to take 64-bit
> one. I have to go to eat now. When I come back if you haven't done it
> yet I'll do it

As said on IRC, it seems like the -m32 was missing there, even though it
should be set through the COMMON_CSFLAGS in i386-pc.rmk.
But that did the trick in i386.rmk:

-setjmp_mod_CFLAGS = $(COMMON_CFLAGS)
+setjmp_mod_ASFLAGS = $(COMMON_ASFLAGS)

-- 
Felix Zielcke





reply via email to

[Prev in Thread] Current Thread [Next in Thread]