[Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923 Summary: Errors when installing GCC 4.5.2 on AIX 6.1 Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: mirko.chiol...@iside.bcc.it Created attachment 23489 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23489 Output commands configure and make Hello, I would like to install version 4.5.2 of GCC on AIX 6.1. This release allows me to use optimizations for Power7. I installed gcc, C++, cpp, libgcc, LIBGOMP, LIBMPC, M4, MPFR and GMP through RPM. After that I setted the environment variables: export CONFIG_SHELL=/opt/freeware/bin/bash export LDR_CNTRL=MAXDATA=0x5000 export LDR_CNTRL=MACDATA=0x3000 export CONFIG_SHELL export PATH=/opt/freeware/bin:/users/app/gcc/bin:$PATH:. export LIBPATH=/opt/freeware/lib: export LD_LIBRARY_PATH=$LIBPATH And I run the command configure: ../gcc-4.5.2/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++ --prefix=/users/app/gcc-4.5.2 --mandir=/users/app/gcc/man --infodir=/users/app/gcc/share/info --enable-version-specific-runtime-libs --disable-nls --host=powerpc-ibm-aix6.1.0.0 --enable-static --enable-threads=aix --enable-shared During the "make" phase, I get the output that I attach. What can I do? Mirko
[Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923 --- Comment #2 from Mirko 2011-02-28 12:42:28 UTC --- The make phase was stopper with this error: if [ x"" != x ]; then \ powerpc-ibm-aix6.1.0.0-gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../.././libiberty/regex.c -o pic/regex.o; \ else true; fi powerpc-ibm-aix6.1.0.0-gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../.././libiberty/regex.c -o regex.o Assembler: /tmp//ccq2Ddo4.s: line 6636: 1252-040 The specified expression is not valid. Make sure that all symbols are defined. Check the rules on symbols used in an arithmetic expression concerning relocation. make[3]: *** [regex.o] Error 1 make[3]: Leaving directory `/users/gcc/gcc-4.5.2/build-powerpc-ibm-aix6.1.0.0/libiberty' make[2]: *** [all-build-libiberty] Error 2 make[2]: Leaving directory `/users/gcc/gcc-4.5.2' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/users/gcc/gcc-4.5.2' make: *** [all] Error 2
[Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923 --- Comment #4 from Mirko 2011-02-28 15:20:26 UTC --- Hello, using the command "make CFLAGS = '-O0' CXXFLAGS = '-O0' LIBCFLAGS = '-O0' LIBCXXFLAGS = '-O0-fno-implicit-templates' bootstrap' seems to work better. But the phase "make" stops anyway. Mirko
[Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923 --- Comment #5 from Mirko 2011-02-28 15:21:29 UTC --- Created attachment 23495 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23495 New test to compile
[Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923 --- Comment #6 from Mirko 2011-03-01 13:20:17 UTC --- Hello, I have tried to compile with XLC. I set the variables with the following lines: export LDR_CNTRL=MAXDATA=0x5000 export LDR_CNTRL=MACDATA=0x3000 export PATH=/usr/vac/bin:/usr/vacpp/bin:$PATH. export CXX=/usr/vac/bin/xlc export LD=/usr/vac/bin/xlc export LIBPATH=/usr/vac/lib:/usr/vacpp/lib:/usr/lib: export LD_LIBRARY_PATH=$LIBPATH export PATH=/users/app/gcc/bin:$PATH:. I run these command: ../gcc-4.5.2/configure --enable-languages=c,c++ --prefix=/users/app/gcc-4.5.2 --mandir=/users/app/gcc/man --infodir=/users/app/gcc/share/info --enable-version-specific-runtime-libs --disable-nls --host=powerpc-ibm-aix6.1.0.0 --enable-static --enable-threads=aix --enable-shared make CFLAGS='-O0' CXXFLAGS='-O0' LIBCFLAGS='-O0' LIBCXXFLAGS='-O0 -fno-implicit-templates' bootstrap But the compilation stops anyway. What can I do? Mirko
[Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923 --- Comment #7 from Mirko 2011-03-01 13:20:54 UTC --- Created attachment 23500 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23500 Test with XLC
[Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923 Mirko changed: What|Removed |Added Severity|major |critical
[Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923 --- Comment #8 from Mirko 2011-04-19 14:02:18 UTC --- Hello, I have tried to compile the new version GCC 4.6.0 But the compilation stops anyway: checking whether sbrk is declared... (cached) yes checking whether strverscmp is declared... (cached) no checking whether canonicalize_file_name must be declared... (cached) yes checking for working strncmp... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing default commands make[3]: Entering directory `/users/gcc-4.6.0/build-powerpc-ibm-aix6.1.0.0/libiberty' if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../.././libiberty/regex.c -o pic/regex.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.././libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../.././libiberty/regex.c -o regex.o Assembler: /tmp//cc6acvfX.s: line 6636: 1252-040 The specified expression is not valid. Make sure that all symbols are defined. Check the rules on symbols used in an arithmetic expression concerning relocation. make[3]: *** [regex.o] Error 1 make[3]: Leaving directory `/users/gcc-4.6.0/build-powerpc-ibm-aix6.1.0.0/libiberty' make[2]: *** [all-build-libiberty] Error 2 make[2]: Leaving directory `/users/gcc-4.6.0' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/users/gcc-4.6.0' make: *** [bootstrap] Error 2 What can I do? Mirko