public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/11698] New: Unable to compile GCC 3.3 on AIX 5.2 (maintenance level 1)
@ 2003-07-28 21:53 jm186390 at msxssc dot shell dot com
2003-07-28 22:09 ` [Bug bootstrap/11698] " pinskia at physics dot uc dot edu
0 siblings, 1 reply; 2+ messages in thread
From: jm186390 at msxssc dot shell dot com @ 2003-07-28 21:53 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11698
Summary: Unable to compile GCC 3.3 on AIX 5.2 (maintenance level
1)
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jm186390 at msxssc dot shell dot com
CC: gcc-bugs at gcc dot gnu dot org
I am trying to get GnuPG to work on AIX 5.2 (ML1) but I am not able to find a
compiled version anywhere for this. As it seems I need to try to compile my
own version I need to get the GCC compiler to work on AIX 5.2. I noticed in
the release notes that version 3.3 is supposed to support AIX 5.2. I have been
unable to run a successfull make on GCC 3.3. I ran the configure just fine. I
am trying to use the GNU make utility that I just compiled and called gmake:
# /usr/local/bin/gmake -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This is my first time trying to compile a GNU product so it's possible I am
going about this all wrong. The next thing I tried to do was issue a "gmake
bootstrap" and received this error:
# /usr/local/bin/gmake bootstrap
gmake[1]: Entering directory `/local/export/nim/lppsource/jmm/gcc-3.3/libiberty'
gmake[2]: Entering directory `/local/export/nim/lppsource/jmm/gcc-
3.3/libiberty/testsuite'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/local/export/nim/lppsource/jmm/gcc-
3.3/libiberty/testsuite'
gmake[1]: Leaving directory `/local/export/nim/lppsource/jmm/gcc-3.3/libiberty'
gmake[1]: Entering directory `/local/export/nim/lppsource/jmm/gcc-3.3/zlib'
: /usr/local/bin/gmake ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -
O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -
O2" "INSTALL=/bin/sh /local/export/nim/lppsource/jmm/gcc-3.3/install-sh -
c" "INSTALL_DATA=/bin/sh /local/export/nim/lppsource/jmm/gcc-3.3/install-sh -c -
m 644" "INSTALL_PROGRAM=/bin/sh /local/export/nim/lppsource/jmm/gcc-3.3/install-
sh -c " "INSTALL_SCRIPT=/bin/sh /local/export/nim/lppsource/jmm/gcc-3.3/install-
sh -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -
O2" "MAKE=/usr/local/bin/gmake" "MAKEINFO=/local/export/nim/lppsource/jmm/gcc-
3.3/missing makeinfo --no-
split " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTES
T=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/info" "l
ibdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/powerpc-ibm-
aix5.2.0.0" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -
O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do
gmake[1]: Leaving directory `/local/export/nim/lppsource/jmm/gcc-3.3/zlib'
Bootstrapping the compiler
gmake[1]: Entering directory `/local/export/nim/lppsource/jmm/gcc-3.3/gcc'
/usr/local/bin/gmake CC="gcc" libdir=/usr/local/lib LANGUAGES="c " \
CFLAGS="-g " MAKEINFO="/local/export/nim/lppsource/jmm/gcc-3.3/missing
makeinfo --no-split" \
MAKEINFOFLAGS="" COVERAGE_FLAGS=
gmake[2]: Entering directory `/local/export/nim/lppsource/jmm/gcc-3.3/gcc'
(cd intl && /usr/local/bin/gmake all)
gmake[3]: Entering directory `/local/export/nim/lppsource/jmm/gcc-3.3/gcc/intl'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/local/export/nim/lppsource/jmm/gcc-3.3/gcc/intl'
if [ -f specs.ready ] ; then \
true; \
else \
echo timestamp > specs.ready; \
fi
if [ -f fixhdr.ready ] ; then \
true; \
else \
echo timestamp > fixhdr.ready; \
fi
/usr/local/bin/gmake GCC_FOR_TARGET=" ./xgcc -B./ -B/usr/local/powerpc-ibm-
aix5.2.0.0/bin/ -isystem /usr/local/powerpc-ibm-aix5.2.0.0/include -
isystem /usr/local/powerpc-ibm-aix5.2.0.0/sys-include" \
BUILD_PREFIX="" BUILD_PREFIX_1="ignore-" \
AR_FOR_TARGET="` if [ -f /local/export/nim/lppsource/jmm/gcc-
3.3/gcc/../binutils/ar ] ; then echo /local/export/nim/lppsource/jmm/gcc-
3.3/gcc/../binutils/ar ; else if [ "powerpc-ibm-aix5.2.0.0" = "powerpc-ibm-
aix5.2.0.0" ] ; then echo ar; else t='s,^,powerpc-ibm-aix5.2.0.0-,'; echo ar |
sed -e $t ; fi; fi`" \
AR_CREATE_FOR_TARGET="` if [ -f /local/export/nim/lppsource/jmm/gcc-
3.3/gcc/../binutils/ar ] ; then echo /local/export/nim/lppsource/jmm/gcc-
3.3/gcc/../binutils/ar ; else if [ "powerpc-ibm-aix5.2.0.0" = "powerpc-ibm-
aix5.2.0.0" ] ; then echo ar; else t='s,^,powerpc-ibm-aix5.2.0.0-,'; echo ar |
sed -e $t ; fi; fi` -X32_64 rc" \
AR_FLAGS_FOR_TARGET="-X32_64" \
CFLAGS="-g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wtraditional -pedantic -Wno-long-long " \
RANLIB_FOR_TARGET="` if [ -f /local/export/nim/lppsource/jmm/gcc-
3.3/gcc/../binutils/ranlib ] ; then echo /local/export/nim/lppsource/jmm/gcc-
3.3/gcc/../binutils/ranlib ; else if [ "powerpc-ibm-aix5.2.0.0" = "powerpc-ibm-
aix5.2.0.0" ] ; then echo ranlib; else t='s,^,powerpc-ibm-aix5.2.0.0-,'; echo
ranlib | sed -e $t ; fi; fi`" \
RANLIB_TEST_FOR_TARGET="[ -f ` if [ -f /local/export/nim/lppsource/jmm/gcc-
3.3/gcc/../binutils/ranlib ] ; then echo /local/export/nim/lppsource/jmm/gcc-
3.3/gcc/../binutils/ranlib ; else if [ "powerpc-ibm-aix5.2.0.0" = "powerpc-ibm-
aix5.2.0.0" ] ; then echo ranlib; else t='s,^,powerpc-ibm-aix5.2.0.0-,'; echo
ranlib | sed -e $t ; fi; fi` ] || ( [ "powerpc-ibm-aix5.2.0.0" = "powerpc-ibm-
aix5.2.0.0" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \
NM_FOR_TARGET="` if [ -f ./nm ] ; then echo ./nm ; elif [ -
f /local/export/nim/lppsource/jmm/gcc-3.3/gcc/../binutils/nm-new ] ; then
echo /local/export/nim/lppsource/jmm/gcc-3.3/gcc/../binutils/nm-new ; else if
[ "powerpc-ibm-aix5.2.0.0" = "powerpc-ibm-aix5.2.0.0" ] ; then echo nm; else
t='s,^,powerpc-ibm-aix5.2.0.0-,'; echo nm | sed -e $t ; fi; fi`" AWK="nawk" \
LIBGCC2_CFLAGS="-O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes -isystem ./include -g -DHAVE_GTHR_DEFAULT -
DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " \
INCLUDES="-I. -I. -I. -I./. -I./config -I./../include" \
CONFIG_H="config.h auto-
host.h ./../include/ansidecl.h ./config/rs6000/rs6000.h ./config/rs6000/aix.h ./
config/rs6000/aix52.h ./config/rs6000/xcoff.h ./defaults.h ./defaults.h insn-
constants.h insn-flags.h" MACHMODE_H="machmode.h
machmode.def ./config/rs6000/rs6000-modes.def" \
LIB1ASMSRC='' \
MAKEOVERRIDES= \
-f libgcc.mk all
gmake[3]: Entering directory `/local/export/nim/lppsource/jmm/gcc-3.3/gcc'
for d in libgcc pthread libgcc/pthread ppc64 libgcc/ppc64 pthread/ppc64
libgcc/pthread/ppc64; do \
if [ -d $d ]; then true; else /bin/sh ./mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/usr/local/powerpc-ibm-aix5.2.0.0/bin/ -
isystem /usr/local/powerpc-ibm-aix5.2.0.0/include -isystem /usr/local/powerpc-
ibm-aix5.2.0.0/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes -isystem ./include -g -DHAVE_GTHR_DEFAULT -
DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I. -I./. -I./config -
I./../include -DL_fixunsdfsi -c ./libgcc2.c -o libgcc/./_fixunsdfsi.o
libgcc2.c: In function `__fixunsdfsi':
libgcc2.c:1161: error: unrecognizable insn:
(insn:HI 11 10 12 0 0 (set (reg:CCEQ 122)
(compare:CCEQ (ior:SI (gt:SI (reg:CCFP 121)
(const_int 0 [0x0]))
(eq:SI (reg:CCFP 121)
(const_int 0 [0x0])))
(const_int 1 [0x1]))) -1 (insn_list 10 (nil))
(expr_list:REG_DEAD (reg:CCFP 121)
(nil)))
libgcc2.c:1161: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [libgcc/./_fixunsdfsi.o] Error 1
gmake[3]: Leaving directory `/local/export/nim/lppsource/jmm/gcc-3.3/gcc'
gmake[2]: *** [stmp-multilib] Error 2
gmake[2]: Leaving directory `/local/export/nim/lppsource/jmm/gcc-3.3/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/local/export/nim/lppsource/jmm/gcc-3.3/gcc'
gmake: *** [bootstrap] Error 2
I also tried just running make on the makefile and it ran for a long time and
eventually errored as well.
Can someone help please? I am not sure where to go from here. The system I am
working on is a fresh install of AIX 5.2.0 (maintenance level 1).
Thanks,
Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug bootstrap/11698] Unable to compile GCC 3.3 on AIX 5.2 (maintenance level 1)
2003-07-28 21:53 [Bug bootstrap/11698] New: Unable to compile GCC 3.3 on AIX 5.2 (maintenance level 1) jm186390 at msxssc dot shell dot com
@ 2003-07-28 22:09 ` pinskia at physics dot uc dot edu
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-28 22:09 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11698
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-28 22:09 -------
This is an almost exact dup of bug 9382 which has now been closed as invalid:
>From David Edelsohn:
This is not a bug in GCC. The problem is that AIX 5.2 adds support for
atoll(), but the cached copy of stdlib.h from AIX 5.1 and earlier do not have a
prototype, so the return argument is interpreted incorrectly. The fix is to
remove the "fixed" header file from the GCC cache of the version of GCC used to
bootstrap on AIX 5.2.
*** This bug has been marked as a duplicate of 9382 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-28 22:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-28 21:53 [Bug bootstrap/11698] New: Unable to compile GCC 3.3 on AIX 5.2 (maintenance level 1) jm186390 at msxssc dot shell dot com
2003-07-28 22:09 ` [Bug bootstrap/11698] " pinskia at physics dot uc dot edu
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).