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 .
jack, ditto with this -- assign to whomever on your team is best equipped
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.