public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1
@ 2011-02-28 12:38 mirko.chioldin at iside dot bcc.it
  2011-02-28 12:43 ` [Bug bootstrap/47923] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: mirko.chioldin at iside dot bcc.it @ 2011-02-28 12:38 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: mirko.chioldin@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=0x50000000
export LDR_CNTRL=MACDATA=0x30000000
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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
  2011-02-28 12:38 [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1 mirko.chioldin at iside dot bcc.it
@ 2011-02-28 12:43 ` pinskia at gcc dot gnu.org
  2011-02-28 12:57 ` mirko.chioldin at iside dot bcc.it
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-02-28 12:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-28 12:37:42 UTC ---
I don't see any error with the attachment you made.  What is the problem you
are running into?


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
  2011-02-28 12:38 [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1 mirko.chioldin at iside dot bcc.it
  2011-02-28 12:43 ` [Bug bootstrap/47923] " pinskia at gcc dot gnu.org
@ 2011-02-28 12:57 ` mirko.chioldin at iside dot bcc.it
  2011-02-28 13:09 ` schwab@linux-m68k.org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mirko.chioldin at iside dot bcc.it @ 2011-02-28 12:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923

--- Comment #2 from Mirko <mirko.chioldin at iside dot bcc.it> 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
  2011-02-28 12:38 [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1 mirko.chioldin at iside dot bcc.it
  2011-02-28 12:43 ` [Bug bootstrap/47923] " pinskia at gcc dot gnu.org
  2011-02-28 12:57 ` mirko.chioldin at iside dot bcc.it
@ 2011-02-28 13:09 ` schwab@linux-m68k.org
  2011-02-28 15:21 ` mirko.chioldin at iside dot bcc.it
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: schwab@linux-m68k.org @ 2011-02-28 13:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923

--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> 2011-02-28 12:57:30 UTC ---
This is a problem with the host compiler (powerpc-ibm-aix6.1.0.0-gcc).  Try
using a different compiler or reducing the optimisation level.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
  2011-02-28 12:38 [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1 mirko.chioldin at iside dot bcc.it
                   ` (2 preceding siblings ...)
  2011-02-28 13:09 ` schwab@linux-m68k.org
@ 2011-02-28 15:21 ` mirko.chioldin at iside dot bcc.it
  2011-02-28 15:47 ` mirko.chioldin at iside dot bcc.it
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mirko.chioldin at iside dot bcc.it @ 2011-02-28 15:21 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923

--- Comment #4 from Mirko <mirko.chioldin at iside dot bcc.it> 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
  2011-02-28 12:38 [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1 mirko.chioldin at iside dot bcc.it
                   ` (3 preceding siblings ...)
  2011-02-28 15:21 ` mirko.chioldin at iside dot bcc.it
@ 2011-02-28 15:47 ` mirko.chioldin at iside dot bcc.it
  2011-03-01 13:20 ` mirko.chioldin at iside dot bcc.it
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mirko.chioldin at iside dot bcc.it @ 2011-02-28 15:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923

--- Comment #5 from Mirko <mirko.chioldin at iside dot bcc.it> 2011-02-28 15:21:29 UTC ---
Created attachment 23495
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23495
New test to compile


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
  2011-02-28 12:38 [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1 mirko.chioldin at iside dot bcc.it
                   ` (4 preceding siblings ...)
  2011-02-28 15:47 ` mirko.chioldin at iside dot bcc.it
@ 2011-03-01 13:20 ` mirko.chioldin at iside dot bcc.it
  2011-03-01 13:21 ` mirko.chioldin at iside dot bcc.it
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mirko.chioldin at iside dot bcc.it @ 2011-03-01 13:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923

--- Comment #6 from Mirko <mirko.chioldin at iside dot bcc.it> 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=0x50000000
export LDR_CNTRL=MACDATA=0x30000000
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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
  2011-02-28 12:38 [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1 mirko.chioldin at iside dot bcc.it
                   ` (5 preceding siblings ...)
  2011-03-01 13:20 ` mirko.chioldin at iside dot bcc.it
@ 2011-03-01 13:21 ` mirko.chioldin at iside dot bcc.it
  2011-04-14 23:57 ` mirko.chioldin at iside dot bcc.it
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mirko.chioldin at iside dot bcc.it @ 2011-03-01 13:21 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923

--- Comment #7 from Mirko <mirko.chioldin at iside dot bcc.it> 2011-03-01 13:20:54 UTC ---
Created attachment 23500
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23500
Test with XLC


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
  2011-02-28 12:38 [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1 mirko.chioldin at iside dot bcc.it
                   ` (6 preceding siblings ...)
  2011-03-01 13:21 ` mirko.chioldin at iside dot bcc.it
@ 2011-04-14 23:57 ` mirko.chioldin at iside dot bcc.it
  2011-04-19 14:02 ` mirko.chioldin at iside dot bcc.it
  2012-03-21 14:23 ` michael.haubenwallner at salomon dot at
  9 siblings, 0 replies; 11+ messages in thread
From: mirko.chioldin at iside dot bcc.it @ 2011-04-14 23:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923

Mirko <mirko.chioldin at iside dot bcc.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |critical


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
  2011-02-28 12:38 [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1 mirko.chioldin at iside dot bcc.it
                   ` (7 preceding siblings ...)
  2011-04-14 23:57 ` mirko.chioldin at iside dot bcc.it
@ 2011-04-19 14:02 ` mirko.chioldin at iside dot bcc.it
  2012-03-21 14:23 ` michael.haubenwallner at salomon dot at
  9 siblings, 0 replies; 11+ messages in thread
From: mirko.chioldin at iside dot bcc.it @ 2011-04-19 14:02 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923

--- Comment #8 from Mirko <mirko.chioldin at iside dot bcc.it> 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/47923] Errors when installing GCC 4.5.2 on AIX 6.1
  2011-02-28 12:38 [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1 mirko.chioldin at iside dot bcc.it
                   ` (8 preceding siblings ...)
  2011-04-19 14:02 ` mirko.chioldin at iside dot bcc.it
@ 2012-03-21 14:23 ` michael.haubenwallner at salomon dot at
  9 siblings, 0 replies; 11+ messages in thread
From: michael.haubenwallner at salomon dot at @ 2012-03-21 14:23 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47923

Michael Haubenwallner <michael.haubenwallner at salomon dot at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.haubenwallner at
                   |                            |salomon dot at

--- Comment #9 from Michael Haubenwallner <michael.haubenwallner at salomon dot at> 2012-03-21 14:20:42 UTC ---
Do you have most recent TechLevel and/or ServicePack installed?

AIX 6.1 is known to break with any ServicePack since 2011 calendarweek 12
(1112) and before 2011 calendarweek 40 (1140).


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-03-21 14:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-28 12:38 [Bug bootstrap/47923] New: Errors when installing GCC 4.5.2 on AIX 6.1 mirko.chioldin at iside dot bcc.it
2011-02-28 12:43 ` [Bug bootstrap/47923] " pinskia at gcc dot gnu.org
2011-02-28 12:57 ` mirko.chioldin at iside dot bcc.it
2011-02-28 13:09 ` schwab@linux-m68k.org
2011-02-28 15:21 ` mirko.chioldin at iside dot bcc.it
2011-02-28 15:47 ` mirko.chioldin at iside dot bcc.it
2011-03-01 13:20 ` mirko.chioldin at iside dot bcc.it
2011-03-01 13:21 ` mirko.chioldin at iside dot bcc.it
2011-04-14 23:57 ` mirko.chioldin at iside dot bcc.it
2011-04-19 14:02 ` mirko.chioldin at iside dot bcc.it
2012-03-21 14:23 ` michael.haubenwallner at salomon dot at

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).