Solaris 10 ld.so.1: cc1: fatal: /path/to/gcc/4.4.0/lib/libmpfr.so.1: bad ELF flags value: [ EF_SPARC_32PLUS EF_SPARC_SUN_US1 EF_SPARC_SUN_US3 ]

=== Update ===

I used the same ./configure options and built it on a IIe machine. After a weekend of compiling, it works on all IIe, IIIi, and T1 processors.

== End Update ==

I got this following problem on one of our Solaris 10 sparc machines today:
ld.so.1: cc1: fatal: /path/to/gcc/4.4.0/lib/libmpfr.so.1: bad ELF flags value: [ EF_SPARC_32PLUS EF_SPARC_SUN_US1 EF_SPARC_SUN_US3 ]

After mucking around for a bit, it worked fine on the following machines (using prtdiag):

  • SUNW,UltraSPARC-IIIi
  • SUNW,UltraSPARC-T1

And failed on just:

  • SUNW,UltraSPARC-IIe

I did in fact compile gcc/4.4.0 on a UltraSPARC-IIIi machine so that’s probably why it’s not compatible with the IIe machines.

This entry was posted in software and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *