[Bug lto/67069] ld: fatal: file .libs/lto-plugin.o: wrong ELF class: ELFCLASS32 during gcc compilation on Solaris 10 x86-64
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 30 17:02:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67069
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Don't use:
"CFLAGS=-m64" "CXXFLAGS=-m64" "LDFLAGS=-m64"
Instead set CC/CXX to include -m64 instead.
Also you might need to default GCC to 64bit too.
More information about the Gcc-bugs
mailing list