[Open64-user] Problem building 64-bit compiler
Brought to you by:
ributzka,
suneeljain
From: Evan D. <dri...@cs...> - 2012-02-21 22:34:35
|
I'm trying to build a 64-bit version of the compiler. The docs say "If you are building on an 386/x86_64 system, the target will default to building a 32 bit compiler with 32 and 64 bit libraries and you do not have to use this option", and so I figured I'd pass "--target=ia64-unknown-linux-gnu" to 'configure'. However, when I do this, 'configure' runs fine but then 'make' reaches an error relatively quickly: g++ -m32 -mno-sse2 ... -o ipfec_targ_gen ... /usr/bin/ld: i386:x86-64 architecture of input file `/tmp/driscoll/open64-build/osprey/.././osprey/targdir/libkapi/libkapi.a(kapi_general.o)' is incompatible with i386 output ... <several of the same errors with different files> ... make[3]: *** [ipfec_targ_gen] Error 1 make[3]: Leaving directory `/tmp/driscoll/open64-build/osprey/targdir/targ_info' In other words, even though I want a 64-bit target, it seems to be linking with -m32 anyway. Am I doing something wrong, or is this a bug in the build scripts? Evan Driscoll |