gmp bug report (compile gmp-4.2.1 on sun fire x4100, solaris 10.

Marc Glisse marc.glisse+gmp at normalesup.org
Wed Dec 27 23:22:03 CET 2006


On Wed, 27 Dec 2006, Ning.Bao at statcan.ca wrote:

> ld.so.1: t-count_zeros: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32

This is a bug of sun's bundled version of gcc, see for instance:
http://bugs.opensolaris.org/view_bug.do?bug_id=6223255

Adding -R/usr/sfw/lib/64 to LDFLAGS should solve it. With ABI=32 the
problem does not exist.


More information about the gmp-bugs mailing list