Subject: aix gcc34 problem
To: None <tech-pkg@netbsd.org>
From: Florian Heigl <florian.heigl@gmail.com>
List: tech-pkg
Date: 07/14/2005 13:46:05
Hi,

I'm getting some make-related errors on this one and would like to ask
for some support :)

AIX version is 5200-00 (oups... where has my ML5 gone? :)
I checked out pkgsrc last night.
The gcc I currently use is supplied by ibm (linux toolbox rpm)
$MAKE=3Dbmake

# gcc -v
Reading specs from /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/s=
pecs
Configured with: ../configure --with-as=3D/usr/bin/as
--with-ld=3D/usr/bin/ld --disable-nls --enable-languages=3Dc,c++
--prefix=3D/opt/freeware --enable-threads
--enable-version-specific-runtime-libs --host=3Dpowerpc-ibm-aix5.2.0.0
Thread model: aix
gcc version 3.3.2


See the following output for the error messages:
Script command is started on Thu Jul 14 06:32:21 CDT 2005.
# bmake=20
=3D=3D=3D> Building for gcc34-3.4.4nb1
(cd /ramdisk/obj/pkg/lang/gcc34/work/obj && /usr/bin/env USETOOLS=3Dno
ICONVPREFIX=3D/opt/pkg PTHREAD_CFLAGS=3D\ -D_REENTRANT PTHREAD_LDFLAGS=3D
PTHREAD_LIBS=3D-lpthread\ -lrt PTHREADBASE=3D/usr CC=3Dgcc CFLAGS=3D-O2\
-mcpu=3Dpower\ -I/ramdisk/obj/pkg/lang/gcc34/work/.buildlink/include\
-I/usr/include\ -I/opt/pkg/include
CPPFLAGS=3D-I/ramdisk/obj/pkg/lang/gcc34/work/.buildlink/include\
-I/usr/include\ -I/opt/pkg/include CXX=3Dg++ CXXFLAGS=3D-O2\ -mcpu=3Dpower\
-I/ramdisk/obj/pkg/lang/gcc34/work/.buildlink/include\ -I/usr/include\
-I/opt/pkg/include COMPILER_RPATH_FLAG=3D-Wl,-R F77=3Df77 FC=3Df77 FFLAGS=
=3D-O
LANG=3DC LC_COLLATE=3DC LC_CTYPE=3DC LC_MESSAGES=3DC LC_MONETARY=3DC
LC_NUMERIC=3DC LC_TIME=3DC LDFLAGS=3D-L/usr/lib\ -Wl,-R/usr/lib\
-L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib LINKER_RPATH_FLAG=3D-R
PATH=3D/ramdisk/obj/pkg/lang/gcc34/work/.wrapper/bin:/ramdisk/obj/pkg/lang/=
gcc34/work/.buildlink/bin:/ramdisk/obj/pkg/lang/gcc34/work/.gcc/bin:/ramdis=
k/obj/pkg/lang/gcc34/work/.tools/bin:/opt/pkg/bin:/opt/pkg/sbin:/opt/pkg/bi=
n:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java131/jre/bin:=
/usr/java131/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/sbin:/opt/pkg/bin:/us=
r/X11R6/bin
PREFIX=3D/opt/pkg PKG_SYSCONFDIR=3D/opt/pkg/etc CPP=3Dcpp
LINK_ALL_LIBGCC_HACK=3D LOCALBASE=3D/opt/pkg
NO_WHOLE_ARCHIVE_FLAG=3D-Wl,--no-whole-archive
WHOLE_ARCHIVE_FLAG=3D-Wl,--whole-archive X11BASE=3D/usr/X11R6
X11PREFIX=3D/opt/pkg MAKECONF=3D OBJECT_FMT=3DXCOFF USETOOLS=3Dno
BSD_INSTALL_PROGRAM=3D/opt/pkg/bin/install-sh\ -c\ -s\ -o\ root\ -g\
system\ -m\ 555=09=09 BSD_INSTALL_SCRIPT=3D/opt/pkg/bin/install-sh\ -c\ -o\
root\ -g\ system\ -m\ 555=09=09=09 BSD_INSTALL_LIB=3D/opt/pkg/bin/install-s=
h\
-c\ -o\ root\ -g\ system\ -m\ 555=09=09=09
BSD_INSTALL_DATA=3D/opt/pkg/bin/install-sh\ -c\ -o\ root\ -g\ system\
-m\ 444=09=09=09 BSD_INSTALL_MAN=3D/opt/pkg/bin/install-sh\ -c\ -o\ root\ -=
g\
system\ -m\ 444=09=09=09 BSD_INSTALL=3D/opt/pkg/bin/install-sh=09=09=09=09
BSD_INSTALL_PROGRAM_DIR=3D/opt/pkg/bin/install-sh\ -d\ -o\ root\ -g\
system\ -m\ 755=09 BSD_INSTALL_SCRIPT_DIR=3D/opt/pkg/bin/install-sh\ -d\
-o\ root\ -g\ system\ -m\ 755=09=09
BSD_INSTALL_LIB_DIR=3D/opt/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\
-m\ 755=09=09 BSD_INSTALL_DATA_DIR=3D/opt/pkg/bin/install-sh\ -d\ -o\ root\
-g\ system\ -m\ 755=09=09 BSD_INSTALL_MAN_DIR=3D/opt/pkg/bin/install-sh\ -d=
\
-o\ root\ -g\ system\ -m\ 755=09=09
BSD_INSTALL_GAME=3D/opt/pkg/bin/install-sh\ -c\ -s\ -o\ root\ -g\
system\ -m\ 555=09=09=09 BSD_INSTALL_GAME_DATA=3D/opt/pkg/bin/install-sh\ -=
c\
-o\ root\ -g\ system\ -m\ 444
INSTALL_INFO=3D/ramdisk/obj/pkg/lang/gcc34/work/.tools/bin/install-info
MAKEINFO=3D/ramdisk/obj/pkg/lang/gcc34/work/.tools/bin/makeinfo
WRAPPER_DEBUG=3D"yes" WRAPPER_UPDATE_CACHE=3D"yes" VIEWBASE=3D/opt/pkg
/opt/pkg/bin/gmake bootstrap)
: bmake ; exec true "AR_FLAGS=3Drc"  "CC_FOR_BUILD=3Dgcc"  "CFLAGS=3D-O2
-mcpu=3Dpower -I/ramdisk/obj/pkg/lang/gcc34/work/.buildlink/include
-I/usr/include -I/opt/pkg/include"  "CXXFLAGS=3D-O2 -mcpu=3Dpower
-I/ramdisk/obj/pkg/lang/gcc34/work/.buildlink/include -I/usr/include
-I/opt/pkg/include"  "CFLAGS_FOR_BUILD=3D"  "CFLAGS_FOR_TARGET=3D-O2 -O2
-mcpu=3Dpower -I/ramdisk/obj/pkg/lang/gcc34/work/.buildlink/include
-I/usr/include -I/opt/pkg/include"=20
"INSTALL=3D/ramdisk/obj/pkg/lang/gcc34/work/.tools/bin/install -c"=20
"INSTALL_DATA=3D/ramdisk/obj/pkg/lang/gcc34/work/.tools/bin/install -c
-m 644"  "INSTALL_PROGRAM=3D/ramdisk/obj/pkg/lang/gcc34/work/.tools/bin/ins=
tall
-c"  "INSTALL_SCRIPT=3D/ramdisk/obj/pkg/lang/gcc34/work/.tools/bin/install
-c"  "LDFLAGS=3D"  "LIBCFLAGS=3D-O2 -mcpu=3Dpower
-I/ramdisk/obj/pkg/lang/gcc34/work/.buildlink/include -I/usr/include
-I/opt/pkg/include"  "LIBCFLAGS_FOR_TARGET=3D-O2 -O2 -mcpu=3Dpower
-I/ramdisk/obj/pkg/lang/gcc34/work/.buildlink/include -I/usr/include
-I/opt/pkg/include"  "MAKE=3Dbmake"  "MAKEINFO=3Dmakeinfo
--split-size=3D5000000 "  "PICFLAG=3D"  "PICFLAG_FOR_TARGET=3D"=20
"SHELL=3D/bin/sh"  "EXPECT=3Dexpect"  "RUNTEST=3Druntest"  "RUNTESTFLAGS=3D=
"=20
"exec_prefix=3D/opt/pkg/gcc34"  "infodir=3D/opt/pkg/gcc34/info"=20
"libdir=3D/opt/pkg/gcc34/lib"  "prefix=3D/opt/pkg/gcc34"=20
"tooldir=3D/opt/pkg/gcc34/powerpc-ibm-aix5.2.0.0"  "AR=3Dar"  "AS=3Das"=20
"CC=3Dgcc"  "CXX=3Dg++"  "LD=3D/usr/bin/ld"  "LIBCFLAGS=3D-O2 -mcpu=3Dpower
-I/ramdisk/obj/pkg/lang/gcc34/work/.buildlink/include -I/usr/include
-I/opt/pkg/include"  "NM=3Dnm"  "PICFLAG=3D"  "RANLIB=3Dranlib"  "DESTDIR=
=3D"
DO=3Dall multi-do
Bootstrapping the compiler
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 777:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 778:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 779:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 780:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 781:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 782:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 783:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 784:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 785:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 786:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 787:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 788:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 789:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 790:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 791:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 792:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 793:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 794:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 978:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 981:
Missing dependency operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 982:
Could not find /ramdisk/obj/pkg/lang/gcc34/work/gcc-3.4.4/gcc/cp/Make-lang.=
in
/ramdisk/obj/pkg/lang/gcc34/work/gcc-3.4.4/gcc/java/Make-lang.in
/ramdisk/obj/pkg/lang/gcc34/work/gcc-3.4.4/gcc/objc/Make-lang.in
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 983:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 989:
Missing dependency operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 990:
Could not find /ramdisk/obj/pkg/lang/gcc34/work/gcc-3.4.4/gcc/config/rs6000=
/t-rs6000
/ramdisk/obj/pkg/lang/gcc34/work/gcc-3.4.4/gcc/config/rs6000/t-aix52
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 991:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 994:
Missing dependency operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 995:
Could not find
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 996:
Need an operator
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3062:
warning: duplicate script for target "/opt/pkg/gcc34/man/man1/.1"
ignored
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3059:
warning: using previous script for "/opt/pkg/gcc34/man/man1/.1"
defined here
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3063:
warning: duplicate script for target "/opt/pkg/gcc34/man/man1/.1"
ignored
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3059:
warning: using previous script for "/opt/pkg/gcc34/man/man1/.1"
defined here
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3064:
warning: duplicate script for target "/opt/pkg/gcc34/man/man1/.1"
ignored
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3059:
warning: using previous script for "/opt/pkg/gcc34/man/man1/.1"
defined here
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3067:
warning: duplicate script for target "/opt/pkg/gcc34/man/man1/.1"
ignored
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3059:
warning: using previous script for "/opt/pkg/gcc34/man/man1/.1"
defined here
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3068:
warning: duplicate script for target "/opt/pkg/gcc34/man/man1/.1"
ignored
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3059:
warning: using previous script for "/opt/pkg/gcc34/man/man1/.1"
defined here
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3069:
warning: duplicate script for target "/opt/pkg/gcc34/man/man1/.1"
ignored
bmake: "/ramdisk/obj/pkg/lang/gcc34/work/obj/gcc/Makefile" line 3059:
warning: using previous script for "/opt/pkg/gcc34/man/man1/.1"
defined here
bmake: Fatal errors encountered -- cannot continue

bmake: stopped in /ramdisk/obj/pkg/lang/gcc34/work/obj/gcc
gmake: *** [bootstrap] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc34
=3D=3D=3D>=20
=3D=3D=3D> There was an error during the ``build'' phase.
=3D=3D=3D> Please investigate the following for more information:
=3D=3D=3D>      * log of the build
=3D=3D=3D>      * /ramdisk/obj/pkg/lang/gcc34/work/.work.log
=3D=3D=3D>=20
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/gcc34
# exit

Script command is complete on Thu Jul 14 06:32:36 CDT 2005.


If additional data is needed, just let me know, otherwise I'd be very
grateful for any hint
why it doesn't like the makefile :)

florian

--=20
'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen'