Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7030 - dev-libs/gmp-4.1-r1.ebuild fails compile on sparc64 ultra2
Summary: dev-libs/gmp-4.1-r1.ebuild fails compile on sparc64 ultra2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc Linux
: Normal minor (vote)
Assignee: Jack Morgan (RETIRED)
URL: http://gemini.irongrove.net/~wence/gm...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-25 21:48 UTC by Wence Gutierrez
Modified: 2015-04-08 06:53 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 Wence Gutierrez 2002-08-25 21:48:45 UTC
gmp fails compile.  System and world is up-to-date.  Complete output can be 
found at URL.  (if futher details about the system are needed let me know.)

-Wence

tmp-add_n.s: Assembler messages:
tmp-add_n.s:60: Error: Architecture mismatch on "lduw".
tmp-add_n.s:60:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:61: Error: Architecture mismatch on "lduw".
tmp-add_n.s:61:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:63: Error: Architecture mismatch on "bl,pn %icc,.Lend1".
tmp-add_n.s:63:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:64: Error: Architecture mismatch on "lduw".
tmp-add_n.s:64:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:65: Error: Architecture mismatch on "lduw".
tmp-add_n.s:65:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:66: Error: Architecture mismatch on "be,pn %icc,.Lend2".
tmp-add_n.s:66:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:73: Error: Architecture mismatch on "lduw".
tmp-add_n.s:73:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:78: Error: Architecture mismatch on "lduw".
tmp-add_n.s:78:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:81: Error: Architecture mismatch on "srlx".
tmp-add_n.s:81:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:83: Error: Architecture mismatch on "stw".
tmp-add_n.s:83:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:84: Error: Architecture mismatch on "be,pn %icc,.Lexito+4".
tmp-add_n.s:84:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:88: Error: Architecture mismatch on "lduw".
tmp-add_n.s:88:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:93: Error: Architecture mismatch on "lduw".
tmp-add_n.s:93:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:96: Error: Architecture mismatch on "srlx".
tmp-add_n.s:96:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:97: Error: Architecture mismatch on "bne,pt %icc,.Lloop".
tmp-add_n.s:97:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:98: Error: Architecture mismatch on "stw".
tmp-add_n.s:98:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:103: Error: Architecture mismatch on "srlx".
tmp-add_n.s:103:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:104: Error: Architecture mismatch on "stw".
tmp-add_n.s:104:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:107: Error: Architecture mismatch on "stw".
tmp-add_n.s:107:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:109: Error: Architecture mismatch on "srlx".
tmp-add_n.s:109:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:114: Error: Architecture mismatch on "srlx".
tmp-add_n.s:114:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:115: Error: Architecture mismatch on "stw".
tmp-add_n.s:115:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:118: Error: Architecture mismatch on "stw".
tmp-add_n.s:118:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:120: Error: Architecture mismatch on "srlx".
tmp-add_n.s:120:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:124: Error: Architecture mismatch on "stw".
tmp-add_n.s:124:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:126: Error: Architecture mismatch on "srlx".
tmp-add_n.s:126:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:130: Error: Architecture mismatch on "srlx".
tmp-add_n.s:130:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:131: Error: Architecture mismatch on "stw".
tmp-add_n.s:131:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:134: Error: Architecture mismatch on "stw".
tmp-add_n.s:134:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
tmp-add_n.s:136: Error: Architecture mismatch on "srlx".
tmp-add_n.s:136:  (Requires v9|v9a|v9b; requested architecture is sparclite.)
make[2]: *** [add_n.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gmp-4.1-r1/work/gmp-4.1/mpn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gmp-4.1-r1/work/gmp-4.1'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -131, Exitcode 2
!!! make failed

!!! emerge aborting on  /usr/portage/dev-libs/gmp/gmp-4.1-r1.ebuild .
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-27 01:06:07 UTC
jack, ditto with this -- assign to whomever on your team is best equipped
Comment 2 Wence Gutierrez 2002-09-05 12:03:15 UTC
Changed these lines in make.conf to 
CHOST="sparc-unknown-linux-gnu"
CFLAGS="-O3 -pipe"
CXXFLAGS="-O3 -pipe"

instead of the flags for ultra sparc processors and I can now compile without 
these errors.