Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

aix : unparsable time: [error] RRDs AIX-5.2

8 views
Skip to first unread message

Adrian

unread,
Apr 6, 2004, 7:30:56 PM4/6/04
to
perl-5.8.3, rrdtool-1.0.4[26], , gcc-3.3.3 (bootstrapped from self),
aix-5.2 (sniff)

OK, so this toolset works great on the following platforms (linux,
solaris), wots so wierd about AIX with RRDs?

Saw a couple of previous posts, nothing that really leads anywhere,
anyone have any pointers?


perl Makefile.PL ; make; make test;is QUITE unhappy on AIX
[snip]
[omnimgr@gandalf]/home/omnimgr/rrdtool-1.0.47/perl-shared$make test
bash: child setpgid (745712 to 483502): Operation not permitted.
gcc -c -I.. -I../src -I../gd1.3 -DHAVE_CONFIG_H -O
-DVERSION=\"1.000471\" -DXS_
VERSION=\"1.000471\"
"-I/opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix/CORE
" -DPERLPATCHLEVEL=8 RRDs.c
In file included from ../src/rrd_tool.h:24,
from RRDs.xs:13:
../config.h:191:1: warning: "VERSION" redefined
<command line>:5:1: warning: this is the location of the previous
definition
Running Mkbootstrap for RRDs ()
chmod 644 RRDs.bs
rm -f blib/arch/auto/RRDs/RRDs.so
LD_RUN_PATH="" gcc -Wl,-bhalt:4 -Wl,-bM:SRE
-Wl,-bI:/opt/omni/software/external/p
erl-5.8.3/lib/5.8.3/aix/CORE/perl.exp -Wl,-bE:RRDs.exp -Wl,-bnoentry
-lc -L/usr/lo
cal/lib RRDs.o -L../src/.libs/ -lrrd_private -lm -o
blib/arch/auto/RRDs/RRDs.so

chmod 755 blib/arch/auto/RRDs/RRDs.so
cp RRDs.bs blib/arch/auto/RRDs/RRDs.bs
chmod 644 blib/arch/auto/RRDs/RRDs.bs
PERL_DL_NONLAZY=1 /opt/omni/tools/bin/perl "-MExtUtils::Command::MM"
"-e" "test_ha
rness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base....t/base.t: unable to create `demo1.rrd': start time:
unparsable time:
t/base....dubious
Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/base.t 22 5632 7 11 157.14% 2-7
Failed 1/1 test scripts, 0.00% okay. 6/7 subtests failed, 14.29% okay.
make: *** [test_dynamic] Error 2

EXAMPLE 2 (static)

perl Makefile.PL LINKTYPE=static; make; make test;

(and fix all the -brtl references to be -berok), fix the borked paths
in the generated makefile.) Didn't actually get a chance to do
anything with the corefile yet! (tommorow will dump a stack trace.)

[snip]

[omnimgr@gandalf]/home/omnimgr/rrdtool-1.0.47/perl-shared$make test
make -f Makefile.aperl perl
make[1]: Entering directory `/home/omnimgr/rrdtool-1.0.47/perl-shared'
make[1]: `perl' is up to date.
make[1]: Leaving directory `/home/omnimgr/rrdtool-1.0.47/perl-shared'
PERL_DL_NONLAZY=1 ./perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
make: *** [test_static] Segmentation fault (core dumped)

--Adrian Terranova

Adrian

unread,
Apr 7, 2004, 11:39:12 AM4/7/04
to
DON'T do the -berok, the linker works with -brtl, NOT -berok. I've
gotten the problem to manifest itself via dynamic or static linking,
so this aix build process is borked.

Had to do a bit of snipping/tucking with the -lrrd_private, and the -L
path to find the missing symbols in the statically linked, but I was
able to reproduce the error.

So now I'm getting ready to try and get a degging perl to figure out
where this error is being thrown.

--Adrian

[omnimgr@gandalf]/home/omnimgr/ext-tools/sources/src/rrdtool-1.0.42/perl-shared$make


test
make -f Makefile.aperl perl
make[1]: Entering directory

`/home/omnimgr/ext-tools/sources/src/rrdtool-1.0.42/perl-shared'


make[1]: `perl' is up to date.
make[1]: Leaving directory

`/home/omnimgr/ext-tools/sources/src/rrdtool-1.0.42/perl-shared'


PERL_DL_NONLAZY=1 ./perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/base....t/base.t: unable to create `demo1.rrd': start time:
unparsable time:
t/base....dubious

Test returned status 255 (wstat 65280, 0xff00)


DIED. FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------

t/base.t 255 65280 7 11 157.14% 2-7


Failed 1/1 test scripts, 0.00% okay. 6/7 subtests failed, 14.29% okay.

make: *** [test_static] Error 2


per...@yahoo.com (Adrian) wrote in message news:<317664b3.04040...@posting.google.com>...

Adrian

unread,
Apr 16, 2004, 9:36:13 AM4/16/04
to
So I (with some assistance) hacked around this problem, and got it to
compile cleanly with AIX-5.2, gcc-3.3.3, perl-5.8.3, rrdtool-1.0.47,
patch for rrdtool-1.0.47 is at ...

http://stick.tookmymoney.com/~peril/patches/PATCH.aixgcc

it should apply with a patch -p1 < PATCH.aixgcc

--Adrian

per...@yahoo.com (Adrian) wrote in message news:<317664b3.04040...@posting.google.com>...

0 new messages