pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems bootstrapping on AIX

Louis Guillaume wrote:
Jens Rehsack wrote:
Hi Jens,

It was moving along nicely and then...

xlc -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -I. -I/tmp/pkgsrc-bootstrap/bmake -DHAVE_CONFIG_H -I../../libnbcompat -I/tmp/pkgsrc-bootstrap/bmake/missing -DNEED_HOST_CDEFS_H -D_PATH_DEFSYSPATH=\"/tmp/pkgsrc-bootstrap/share/mk\" -D_PATH_DEFSYSPATH=\"/tmp/pkgsrc-bootstrap/share/mk\" -I. -I/tmp/pkgsrc-bootstrap/bmake -DHAVE_CONFIG_H -I../../libnbcompat -I/tmp/pkgsrc-bootstrap/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DSIGNAL_FLAGS=SA_RESTART -qflag=e:e -qhalt=w -I../../libnbcompat -c /tmp/pkgsrc-bootstrap/bmake/lst.lib/lstPrev.c xlc -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline -I. -I/tmp/pkgsrc-bootstrap/bmake -DHAVE_CONFIG_H -I../../libnbcompat -I/tmp/pkgsrc-bootstrap/bmake/missing -DNEED_HOST_CDEFS_H -D_PATH_DEFSYSPATH=\"/tmp/pkgsrc-bootstrap/share/mk\" -D_PATH_DEFSYSPATH=\"/tmp/pkgsrc-bootstrap/share/mk\" -I. -I/tmp/pkgsrc-bootstrap/bmake -DHAVE_CONFIG_H -I../../libnbcompat -I/tmp/pkgsrc-bootstrap/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DSIGNAL_FLAGS=SA_RESTART -qflag=e:e -qhalt=w -I../../libnbcompat -c /tmp/pkgsrc-bootstrap/bmake/getenv.c
*** Error code 1

bmake.boot: stopped in /tmp/pkgsrc-bootstrap/bmake/AIX
make: The error code from the last command is 1.

===> exited with status 1

... not much info. But that's as far as I've gotten. Here's some environmental info...

Hi hi - what a sh ... :)
The makefiles are configured to show no warnings but stop ...
I've renamed the NOGCCERROR to NOWERROR, because it's not related to GCC but to treat warnings as error.
I recommend to set WARNS=2 or NOWERROR=true when bootstrapping.

# xlc -qversion
IBM XL C/C++ Enterprise Edition for AIX, V9.0
Version: 09.00.0000.0007

# oslevel -s

bootstrap command line was:

env NOGCCERROR=yes PKGSRC_COMPILER=xlc OBJECT_MODE=64 CC=xlc CFLAGS="-q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt -qkeyword=inline" ./bootstrap --workdir /tmp/pkgsrc-bootstrap --compiler xlc

pkgsrc is pkgsrc-2008Q2. Patches above applied.

Maybe (not because of this problem) it's not the worst idea at all to update the pkgsrc using cvs up.


Best regards,

Home | Main Index | Thread Index | Old Index