Syslinux 2.05 and 2.06 compiles fail with the following message when the reach memset.S: gcc -c -o memcpy.o memcpy.S gcc -c -o memset.o memset.S memcpy.S: Assembler messages: memcpy.S:13: Error: suffix or operands invalid for `push' memcpy.S:14: Error: suffix or operands invalid for `push' memcpy.S:15: Error: `12(%esp)' is not a valid 64 bit base/index expression memcpy.S:16: Error: `16(%esp)' is not a valid 64 bit base/index expression memcpy.S:17: Error: `20(%esp)' is not a valid 64 bit base/index expression memcpy.S:24: Error: `12(%esp)' is not a valid 64 bit base/index expression memcpy.S:25: Error: suffix or operands invalid for `pop' memcpy.S:26: Error: suffix or operands invalid for `pop' make[1]: *** [memcpy.o] Error 1 make[1]: *** Waiting for unfinished jobs.... memset.S: Assembler messages: memset.S:13: Error: suffix or operands invalid for `push' memset.S:14: Error: suffix or operands invalid for `push' memset.S:15: Error: `12(%esp)' is not a valid 64 bit base/index expression memset.S:16: Error: `16(%esp)' is not a valid 64 bit base/index expression memset.S:17: Error: `20(%esp)' is not a valid 64 bit base/index expression memset.S:25: Error: `12(%esp)' is not a valid 64 bit base/index expression memset.S:26: Error: suffix or operands invalid for `pop' memset.S:27: Error: suffix or operands invalid for `pop' make[1]: *** [memset.o] Error 1 rm init.s16 make[1]: Leaving directory `/var/tmp/portage/syslinux-2.06/work/syslinux-2.06/memdisk' make: *** [memdisk] Error 2 !!! ERROR: sys-apps/syslinux-2.06 failed. !!! Function src_compile, Line 24, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.emerge syslinux on an amd64 system 2. 3. Actual Results: Expected Results: I have an Athlon64 3200+ running latest gentoo in 64-bit mode.
Syslinux has lots of 32bit asm code.. would need to have "-m32" added to cflags on amd64 (and depend on the 32-bit compat mode stuff)..
uhh, yeah I hate bug reports like this, don't post bugs on stuff that deps on 32bit asm...