Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35255 - Syslinux compile fails on amd64
Summary: Syslinux compile fails on amd64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-07 07:42 UTC by Simon Porter
Modified: 2003-12-08 14:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Porter 2003-12-07 07:42:06 UTC
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.
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2003-12-08 14:06:04 UTC
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).. 
Comment 2 Brad House 2003-12-08 14:20:45 UTC
uhh, yeah I hate bug reports like this, 
don't post bugs on stuff that deps on 32bit asm...