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

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

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

> t-count_zeros: fatal: /usr/sfw/lib/ wrong ELF class: ELFCLASS32

This is a bug of sun's bundled version of gcc, see for instance:

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