Jens Rehsack wrote:
I recommend to set WARNS=2 or NOWERROR=true when bootstrapping.
Ok. We've bootstrapped! Here was the command line:# env DISTDIR=/usr/pkg/distfiles NOWERROR=true PKGSRC_COMPILER=xlc OBJECT_MODE=64 CC=xlc CFLAGS="-q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline" ./bootstrap --workdir /tmp/pkgsrc-bootstrap --compiler xlc
Now I have problems building bzip2 (see below), and I'm not sure if this is an AIX/xlC build-environmental thing (object files are `not valid with the current object file mode'). So maybe I'm not done with my setup yet.. any ideas?
Louis ===> Building for bzip2-1.0.5libtool --mode=compile cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma -o blocksort.lo blocksort.c
mkdir .libscc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma blocksort.c -DPIC -o .libs/blocksort.o cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma blocksort.c -o blocksort.o >/dev/null 2>&1 libtool --mode=compile cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma -o bzlib.lo bzlib.c cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma bzlib.c -DPIC -o .libs/bzlib.o cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma bzlib.c -o bzlib.o >/dev/null 2>&1 libtool --mode=compile cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma -o compress.lo compress.c cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma compress.c -DPIC -o .libs/compress.o cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma compress.c -o compress.o >/dev/null 2>&1 libtool --mode=compile cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma -o crctable.lo crctable.c cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma crctable.c -DPIC -o .libs/crctable.o cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma crctable.c -o crctable.o >/dev/null 2>&1 libtool --mode=compile cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma -o decompress.lo decompress.c cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma decompress.c -DPIC -o .libs/decompress.o cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma decompress.c -o decompress.o >/dev/null 2>&1 libtool --mode=compile cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma -o huffman.lo huffman.c cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma huffman.c -DPIC -o .libs/huffman.o cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma huffman.c -o huffman.o >/dev/null 2>&1 libtool --mode=compile cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma -o randtable.lo randtable.c cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma randtable.c -DPIC -o .libs/randtable.o cc -c -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma randtable.c -o randtable.o >/dev/null 2>&1 libtool --mode=link cc -Wl,-R/usr/pkg/lib -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -ma -o libbz2.la blocksort.lo bzlib.lo compress.lo crctable.lo decompress.lo huffman.lo randtable.lo -version-info 0:0 -rpath /usr/pkg/lib
generating symbol list for `libbz2.la'/usr/bin/nm -B -BCpg .libs/blocksort.o .libs/bzlib.o .libs/compress.o .libs/crctable.o .libs/decompress.o .libs/huffman.o .libs/randtable.o | awk '{ if ((($2 == "T") || ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' | sort -u > .libs/libbz2.exp
0654-210 .libs/blocksort.o is not valid in the current object file mode. Use the -X option to specify the desired object mode. 0654-210 .libs/bzlib.o is not valid in the current object file mode. Use the -X option to specify the desired object mode. 0654-210 .libs/compress.o is not valid in the current object file mode. Use the -X option to specify the desired object mode. 0654-210 .libs/crctable.o is not valid in the current object file mode. Use the -X option to specify the desired object mode. 0654-210 .libs/decompress.o is not valid in the current object file mode. Use the -X option to specify the desired object mode. 0654-210 .libs/huffman.o is not valid in the current object file mode. Use the -X option to specify the desired object mode. 0654-210 .libs/randtable.o is not valid in the current object file mode. Use the -X option to specify the desired object mode.cc -o .libs/libbz2.so.0.0.0 .libs/blocksort.o .libs/bzlib.o .libs/compress.o .libs/crctable.o .libs/decompress.o .libs/huffman.o .libs/randtable.o -L/usr/pkg/obj/archivers/bzip2/work/.buildlink/lib -lc -Wl,-bnoentry -Wl,-R/usr/pkg/lib -q64 -qarch=ppc64 -qstrict -qcpluscmt -qkeyword=inline -ma `if test "x-berok" != "x"; then echo "-Wl,-berok"; else :; fi` -Wl,-bexport:.libs/libbz2.exp -Wl,-G
(cd .libs && rm -f libbz2.so.0 && ln -s libbz2.so.0.0.0 libbz2.so.0) (cd .libs && rm -f libbz2.so && ln -s libbz2.so.0.0.0 libbz2.so)ar cru .libs/libbz2.a blocksort.o bzlib.o compress.o crctable.o decompress.o huffman.o randtable.o
ar: 0707-126 blocksort.o is not valid with the current object file mode. Use the -X option to specify the desired object mode. ar: 0707-126 bzlib.o is not valid with the current object file mode. Use the -X option to specify the desired object mode. ar: 0707-126 compress.o is not valid with the current object file mode. Use the -X option to specify the desired object mode. ar: 0707-126 crctable.o is not valid with the current object file mode. Use the -X option to specify the desired object mode. ar: 0707-126 decompress.o is not valid with the current object file mode. Use the -X option to specify the desired object mode. ar: 0707-126 huffman.o is not valid with the current object file mode. Use the -X option to specify the desired object mode. ar: 0707-126 randtable.o is not valid with the current object file mode. Use the -X option to specify the desired object mode. *** Error code 7 Stop. bmake: stopped in /usr/pkg/obj/archivers/bzip2/work/bzip2-1.0.5 *** Error code 1
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature