Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
4.1.2, 4.1.3
-
None
-
gcc/IA64
Description
gcc on IA64 doesn't recognize the usual -m64 option. Instead, the -mlpNN option must be used to select a memory model (from gcc's online help: -milp32|-milp64|-mlp64|-mp64 select data model (default -mlp64)).
$ gmake builddir BUILDMODE=,shared,debug,wide CONFIG=gcc.config
creating BUILDDIR=/build2/batman/5.0.0/builds/33004299/source-buildspace/build
generating /build2/batman/5.0.0/builds/33004299/source-buildspace/build/makefile.in from /build2/batman/5.0.0/builds/33004299/source-buildspace/etc/config/gcc.config
build directory created: BUILDDIR=/build2/batman/5.0.0/builds/33004299/source-buildspace/build
-
-
- gmake config
gmake[1]: Entering directory `/build2/batman/5.0.0/builds/33004299/source-buildspace/build'
gmake[2]: Entering directory `/build2/batman/5.0.0/builds/33004299/source-buildspace/build/include'
gmake config
gmake[3]: Entering directory `/build2/batman/5.0.0/builds/33004299/source-buildspace/build/include'
- gmake config
-
configuring for gcc-3.4.4 on linux-2.6.9-22.el-ia64
checking if the compiler is sane no
int main ()
{ return 0; }gcc -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I. -pedantic -nostdinc++ -g -m64 -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -c a.cpp -o a.o
cc1plus: error: invalid option `64'
gmake[3]: *** [sane] Error 1
gmake[3]: Leaving directory `/build2/batman/5.0.0/builds/33004299/source-buildspace/build/include'
gmake[2]: *** [config.h] Error 2
gmake[2]: Leaving directory `/build2/batman/5.0.0/builds/33004299/source-buildspace/build/include'
gmake[1]: *** [config] Error 2
gmake[1]: Leaving directory `/build2/batman/5.0.0/builds/33004299/source-buildspace/build'
gmake: *** [config] Error 2