Am Samstag, den 16.05.2009, 18:34 +0200 schrieb Vladimir 'phcoder' Serbinenko: > On Sat, May 16, 2009 at 6:23 PM, Felix Zielcke <fziel...@z-51.de> 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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel