[ http://issues.apache.org/jira/browse/STDCXX-269?page=all ]
Martin Sebor closed STDCXX-269.
-------------------------------
Resolution: Fixed
Fixed with the referenced change.
> [gcc/IA64] configuration fails due to -m64 not being recognized
> ---------------------------------------------------------------
>
> Key: STDCXX-269
> URL: http://issues.apache.org/jira/browse/STDCXX-269
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 4.1.2, 4.1.3
> Environment: gcc/IA64
> Reporter: Martin Sebor
> Assigned To: Martin Sebor
> Priority: Critical
> Fix For: 4.2
>
>
> 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'
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira