[syslinux] syslinux for opteron

mark.newman2 at ntlworld.com mark.newman2 at ntlworld.com
Sun Jan 25 11:29:42 PST 2004


I am trying to build syslinux under gentoo on in 64 bit mode on an opteron.  I get output like this

../com32/include/com32.h: In function `MK_PTR':
../com32/include/com32.h:77: warning: cast to pointer from integer of different size
gcc -I../com32/include -g -Wall -O2 -fomit-frame-pointer -march=i386 -malign-functions=0 -malign-jumps=0 -malign-loops=0 -DVERSION='"2.06"' -DDATE='""' -S -o e820test.s e820test.c
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
make[1]: *** Waiting for unfinished jobs....
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'
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from /usr/include/inttypes.h:28,
                 from e820test.c:22:
../com32/include/stdint.h:13: error: conflicting types for `int64_t'
/usr/include/sys/types.h:194: error: previous declaration of `int64_t'
make[1]: *** [memcpy.o] Error 1
make[1]: *** [e820test.s] Error 1
unzip.c: In function `malloc':
unzip.c:94: warning: cast to pointer from integer of different size
unzip.c: In function `gzip_mark':
unzip.c:110: warning: cast to pointer from integer of different size
unzip.c: In function `unzip':
unzip.c:175: warning: cast from pointer to integer of different size
make: *** [memdisk] Error 2

!!! ERROR: sys-boot/syslinux-2.06 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)

Has anybody successfully built sylinux on an opteron

Mark




More information about the Syslinux mailing list