pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
AIX Problems
Hi!
After successful bootstrap in AIX 5.3 (thanks to Jens et al.),
pkgsrc-2008Q2, I'm left with some odd problems. The compiler is xlC v. 9.0.
The most blatant and troublesome is that perl will not build:
BEGIN failed--compilation aborted.
Options: ()
Defines: (MULTIPLICITY NEED_PTHREAD_INIT PERL_IMPLICIT_CONTEXT
PERL_INC_VERSION_LIST PERL_MALLOC_WRAP PERL_PRIeldbl PERL_PRIfldbl
PERL_PRIgldbl PERL_RELOCATABLE_INC PERL_SCNfldbl PERL_TARGETARCH
PERL_VENDORARCH PERL_VENDORARCH_EXP PERL_VENDORLIB_EXP
PERL_VENDORLIB_STEM USE_64_BIT_ALL USE_64_BIT_INT USE_DYNAMIC_LOADING
USE_FAST_STDIO USE_ITHREADS USE_LARGE_FILES USE_NATIVE_DLOPEN USE_PERLIO
USE_REENTRANT_API USE_SEMCTL_SEMID_DS USE_SEMCTL_SEMUN USE_STAT_BLOCKS
USE_STDIO_BASE USE_STDIO_PTR USE_STRUCT_COPY USE_THREADS _ALL_SOURCE
_ANSI_C_SOURCE _POSIX_SOURCE _REENTRANT)
ld -o libperl.a -H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp -bnoentry
-brtl -bdynamic -bmaxdata:0x80000000 -L/usr/pkg/lib -q64 -b64 -lbind
-lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd perl.o gv.o toke.o
perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o
pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o
utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o
numeric.o locale.o pp_pack.o pp_sort.o -lbind -lnsl -ldl -lld -lm
-lcrypt -lpthreads -lc -lbsd
ld: 0706-012 The -q flag is not recognized.
ld: 0706-012 The -6 flag is not recognized.
ld: 0706-012 The -4 flag is not recognized.
*** Error code 255
Stop.
bmake: stopped in /usr/pkg/obj/lang/perl5/work/perl-5.8.8
*** Error code 1
Stop.
It seems that the CFLAGS (which include -q64) are being included for ld.
Or perhaps that's coming from somewhere else. mk.conf is below. Any
help would be great.
Louis
DISTDIR= /usr/pkg/distfiles
PACKAGES= /usr/pkg/obj/packages
WRKOBJDIR= /usr/pkg/obj
PKGCHK_CONF= /etc/pkgchk.conf
PKG_SYSCONFBASE=/etc
RENAME=
DEPENDS_TARGET=package
PKG_DEFAULT_OPTIONS= -x11
PKGSRC_COMPILER= xlc
PKGMANDIR= man
TOOLS_PLATFORM.install?= /usr/pkg/bin/install-sh
TOOLS_PLATFORM.strip?= /usr/pkg/bin/strip
TOOLS_PLATFORM.awk?= /usr/pkg/bin/nawk
TOOLS_PLATFORM.sed?= /usr/pkg/bin/nbsed
TOOLS_PLATFORM.pax?= /usr/pkg/bin/pax
TOOLS_PLATFORM.tar?= /usr/pkg/bin/tar
CFLAGS+= -q64 -qarch=ppc64 -O3 -qstrict -qcpluscmt
-qkeyword=inline
DBG= # prevent DBG from adding default optimizer flags
USE_BUILTIN.iconv = yes
ACCEPTABLE_LICENSES+=vim-license
Home |
Main Index |
Thread Index |
Old Index