Front page | perl.perl5.porters |
Postings from June 2012
[perl #113778] AIX Hints file change
Thread Previous
From:
Darin McBride
Date:
June 21, 2012 10:40
Subject:
[perl #113778] AIX Hints file change
Message ID:
rt-3.6.HEAD-5009-1340300439-419.113778-75-0@perl.org
# New Ticket Created by Darin McBride
# Please include the string: [perl #113778]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=113778 >
This is a bug report for perl from dmcbride@cpan.org,
generated with the help of perlbug 1.39 running under perl 5.16.0.
-----------------------------------------------------------------
[Please describe your issue here]
When compiling many of the perl modules available from CPAN, an expectation
of C99 support seems implied by many authors. Unfortunately, xlC doesn't
do this by default, we have to add -qlanglvl=extc99 to the ccflags to get
this to work. And by the time we get to installing modules, this flag
is already set in Config.
If I add "-Accflags=-qlanglvl=extc99" to my Configure command line (see
below), then all 56 modules in my list compile more or less without issue.
Some are pure-perl, some are XS, and some of those fail without this
option.
Obviously, this doesn't affect perl itself, as it seems to rely solely on
the C89 standard. However, this can make the out-of-box experience on
AIX w/xlC that much better by allowing CPAN to Just Work (TM).
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=install
severity=low
---
Site configuration information for perl 5.16.0:
Configured by dmcbride at Wed Jun 20 19:12:29 EDT 2012.
Summary of my perl5 (revision 5 version 16 subversion 0) configuration:
Platform:
osname=aix, osvers=6.1.0.0, archname=aix-thread-multi-64all
uname='aix hotelisasp01 1 6 00c1837d4c00 '
config_args='-desr -Accflags=-qlanglvl=extc99 -Duse64bitall -Duselongdoubles
-Dusethreads -Duserelocatableinc -Dman1direxp= -Dman3direxp= -
Dprefix=/opt/appl/mi/perl'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc -q64', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -
qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -qlanglvl=extc99 -
DNEED_PTHREAD_INIT -q64 -DUSE_64_BIT_ALL -q64',
optimize='-O',
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -
qnoansialias -DUSE_NATIVE_DLOPEN -qlanglvl=extc99 -DNEED_PTHREAD_INIT'
ccversion='10.1.0.2', gccversion='', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld', ldflags ='-brtl -bdynamic -L/usr/local/lib -b64'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lpthreads -lc
perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc
libc=, so=a, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -
bE:.../../lib/5.16.0/aix-thread-multi-64all/CORE/perl.exp'
cccdlflags=' ', lddlflags='-b64 -bhalt:4 -G -bI:$(PERL_INC)/perl.exp -bE:
$(BASEEXT).exp -bnoentry -lpthreads -lc -lm -L/usr/local/lib'
Locally applied patches:
---
@INC for perl 5.16.0:
/home/dmcbride/tmp/isas/perl/opt/appl/mi/perl/lib/site_perl/5.16.0/aix-
thread-multi-64all
/home/dmcbride/tmp/isas/perl/opt/appl/mi/perl/lib/site_perl/5.16.0
/home/dmcbride/tmp/isas/perl/opt/appl/mi/perl/lib/5.16.0/aix-thread-
multi-64all
/home/dmcbride/tmp/isas/perl/opt/appl/mi/perl/lib/5.16.0
.
---
Environment for perl 5.16.0:
HOME=/home/dmcbride
LANG=en_US
LANGUAGE (unset)
LC__FASTMSG=true
LD_LIBRARY_PATH (unset)
LIBPATH (unset)
LOGDIR (unset)
PATH=/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/dmcbride/bin:/usr/bin/X11:/sbin:/usr/opt/perl5/bin
PERL_BADLANG (unset)
SHELL=/usr/bin/bash
Thread Previous