-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 https://bugzilla.redhat.com/show_bug.cgi?id=199367 sparc64 needs to use CFLAGS with CC to link properly using gcc the attached patch fixes this issue Patch submitted originally by Dennis Gilmore. Further info from bugzilla. (In reply to comment #7) > It's ok by me, although I'm wondering what CFLAGS you are supplying that matter > here. For multilib support, sparc needs libselinux (and libsepol) to be built as sparc (32bit) and sparc64 (64bit). sparc builds fine (-m32 is assumed by the compiler), but when building for sparc64, we need all compile and link operations to have -m64 passed for it, or else gcc will mismatch (it will make sparc64 object files, then try to link them as a 32bit library) and the build fails. The easiest way to ensure safe and consistent builds is to universally apply CFLAGS whenever calling CC, which is what this patch does. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFG9926rlYvE4MpobMRAuguAKDBxJbz4hV3khmgHFYRiPYCuSS8qACeJUJv 99nyoIM2VK6cbzR/9xlNHwA= =htQu -----END PGP SIGNATURE-----