The compilation fails with these settings in /etc/make.conf CHOST="x86_64-pc-linux-gnu" CFLAGS -march=athlon64 It works replacing with: CHOST="i686-pc-linux-gnu" CFLAGS -march=athlon Reproducible: Always Steps to Reproduce: 1. Set the make.conf for an amd64 architecture 2. emerge glib 3. Error!! Actual Results: {standard input}: Assembler messages: {standard input}:72: Error: suffix or operands invalid for `cmpxchg' make[4]: *** [gatomic.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/glib-2.16.5/work/glib-2.16.5/glib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/glib-2.16.5/work/glib-2.16.5/glib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/glib-2.16.5/work/glib-2.16.5/glib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glib-2.16.5/work/glib-2.16.5' make: *** [all] Error 2 !!! ERROR: dev-libs/glib-2.16.5 failed.
Please include the complete build.log file, and also the output after running "emerge --info". Thanks... 5:)
Please gather all information in this bug report, not on external sites.
Please read up on how to change CHOST[1], why you cannot turn an x86 OS into an amd64 OS just like that[2], and if you still want more, read up on how to do real cross compiling[3]. [1] http://www.gentoo.org/doc/en/change-chost.xml [2] http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml#upgradex86 [3] http://www.gentoo.org/proj/en/base/embedded/cross-development.xml