Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36669 - Problem compiling Eterm on amd64
Summary: Problem compiling Eterm on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-28 11:10 UTC by Patrik
Modified: 2004-01-02 13:50 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 Patrik 2003-12-28 11:10:05 UTC
I have tryd to emerge Eterm on my dual opteron system runing gentoo for amd64.
But it always fails on mmx_cmod.
Get the falowing errors.

/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include -I/usr/X11R6/include   -g -O2 -c mmx_cmod.S
rm -f .libs/mmx_cmod.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c mmx_cmod.S  -fPIC -DPIC -o .libs/mmx_cmod.lo
mmx_cmod.S: Assembler messages:
mmx_cmod.S:79: Error: suffix or operands invalid for `push'
mmx_cmod.S:79: Error: suffix or operands invalid for `push'
mmx_cmod.S:79: Error: suffix or operands invalid for `push'
mmx_cmod.S:79: Error: suffix or operands invalid for `push'
mmx_cmod.S:79: Error: suffix or operands invalid for `push'
mmx_cmod.S:79: Error: suffix or operands invalid for `push'
mmx_cmod.S:79: Error: `8(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:79: Error: `16(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:79: Error: `20(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:81: Error: `-6(%esi,%ebx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:86: Error: `24(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:87: Error: `28(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:88: Error: `32(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:96: Error: `24(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:98: Error: `28(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:100: Error: `32(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:107: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:128: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:134: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:157: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:164: Error: `12(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:168: Error: suffix or operands invalid for `pop'
mmx_cmod.S:168: Error: suffix or operands invalid for `pop'
mmx_cmod.S:168: Error: suffix or operands invalid for `pop'
mmx_cmod.S:168: Error: suffix or operands invalid for `pop'
mmx_cmod.S:168: Error: suffix or operands invalid for `pop'
mmx_cmod.S:168: Error: suffix or operands invalid for `pop'
mmx_cmod.S:180: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:209: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:215: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:246: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:253: Error: `12(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:257: Error: suffix or operands invalid for `pop'
mmx_cmod.S:257: Error: suffix or operands invalid for `pop'
mmx_cmod.S:257: Error: suffix or operands invalid for `pop'
mmx_cmod.S:257: Error: suffix or operands invalid for `pop'
mmx_cmod.S:257: Error: suffix or operands invalid for `pop'
mmx_cmod.S:257: Error: suffix or operands invalid for `pop'
mmx_cmod.S:261: Error: suffix or operands invalid for `push'
mmx_cmod.S:261: Error: suffix or operands invalid for `push'
mmx_cmod.S:261: Error: suffix or operands invalid for `push'
mmx_cmod.S:261: Error: suffix or operands invalid for `push'
mmx_cmod.S:261: Error: suffix or operands invalid for `push'
mmx_cmod.S:261: Error: suffix or operands invalid for `push'
mmx_cmod.S:261: Error: `8(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:261: Error: `16(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:261: Error: `20(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:263: Error: `-6(%esi,%ebx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:268: Error: `24(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:269: Error: `28(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:270: Error: `32(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:278: Error: `24(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:280: Error: `28(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:282: Error: `32(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:289: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:310: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:316: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:339: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:346: Error: `12(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:350: Error: suffix or operands invalid for `pop'
mmx_cmod.S:350: Error: suffix or operands invalid for `pop'
mmx_cmod.S:350: Error: suffix or operands invalid for `pop'
mmx_cmod.S:350: Error: suffix or operands invalid for `pop'
mmx_cmod.S:350: Error: suffix or operands invalid for `pop'
mmx_cmod.S:350: Error: suffix or operands invalid for `pop'
mmx_cmod.S:364: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:393: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:399: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:430: Error: `(%esi,%ecx,2)' is not a valid 64 bit base/index expression
mmx_cmod.S:437: Error: `12(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:441: Error: suffix or operands invalid for `pop'
mmx_cmod.S:441: Error: suffix or operands invalid for `pop'
mmx_cmod.S:441: Error: suffix or operands invalid for `pop'
mmx_cmod.S:441: Error: suffix or operands invalid for `pop'
mmx_cmod.S:441: Error: suffix or operands invalid for `pop'
mmx_cmod.S:441: Error: suffix or operands invalid for `pop'
mmx_cmod.S:445: Error: suffix or operands invalid for `push'
mmx_cmod.S:445: Error: suffix or operands invalid for `push'
mmx_cmod.S:445: Error: suffix or operands invalid for `push'
mmx_cmod.S:445: Error: suffix or operands invalid for `push'
mmx_cmod.S:445: Error: suffix or operands invalid for `push'
mmx_cmod.S:445: Error: suffix or operands invalid for `push'
mmx_cmod.S:445: Error: `8(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:445: Error: `16(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:445: Error: `20(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:447: Error: `(%esi,%ebx,4)' is not a valid 64 bit base/index expression
mmx_cmod.S:451: Error: `24(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:452: Error: `28(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:453: Error: `32(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:466: Error: `(%esi,%ecx,4)' is not a valid 64 bit base/index expression
mmx_cmod.S:475: Error: `(%esi,%ecx,4)' is not a valid 64 bit base/index expression
mmx_cmod.S:480: Error: `12(%ebp)' is not a valid 64 bit base/index expression
mmx_cmod.S:484: Error: suffix or operands invalid for `pop'
mmx_cmod.S:484: Error: suffix or operands invalid for `pop'
mmx_cmod.S:484: Error: suffix or operands invalid for `pop'
mmx_cmod.S:484: Error: suffix or operands invalid for `pop'
mmx_cmod.S:484: Error: suffix or operands invalid for `pop'
mmx_cmod.S:484: Error: suffix or operands invalid for `pop'
make[2]: *** [mmx_cmod.lo] Error 1
make[2]: Leaving directory `/usr/src/apps/Eterm-0.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/apps/Eterm-0.9.2'
make: *** [all-recursive-am] Error 2

Then I unpacked the sourc and manualy run ./configure --help and found --enable-mmx . I then Tryd ./configure --disable-mmx and then Eterm compiled succesfully. So I edit the ebuild for Eterm and I found --enable-mmx in the ebuild so I erased that line and added --disable-mmx . I ofcourse added amd64 so It whill emerge. And now it will emerge and compile fin and also works. Havent had any problems so fare.

Reproducible: Always
Steps to Reproduce:
1. Emerge eterm and the compile will fail.
2. Edit eterms ebuild and remove --enable-mmx and add --disable-mmx and now it shuld compile and work fine on a amd64 system.
Actual Results:  
disable mmx seems to solve the problem for me and maby evrybody else


Why MMX dont work I dont know but reading the error msg it defenetly have
somthing whit 64bit to do but I am no expert so I cant tell where the problem
comes frome.
Comment 1 Patrik 2003-12-28 11:59:09 UTC
I found another problem but maby not amd64 related.
On my laptop I hade imlib2 1.0.6 and on my amd64 computer I hade 1.1.0 .
Eterm hade problems loading all its *.png files.
I resolved it by emergeing imlib 1.0.6 .
What I can find thay seem to have made som difrences to the imlib2 packig version 1.1.0 that cuse this problem and Eterm is not able to find some libs it needs.
Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2004-01-02 13:50:29 UTC
Fixed in CVS, thanks!