On Tue 10 Jul 2001 16:32, Jarkko Hietaniemi <jhi@iki.fi> wrote: > > AIX 4.2 stdio/perlio -Uuseperlio -Dusethreads -Duseithreads > > AIX 4.2 stdio/perlio -DDEBUGGING -Uuseperlio -Dusethreads -Duseithreads > > AIX 4.2 stdio/perlio -Duseperlio -Dusethreads -Duseithreads > > AIX 4.2 stdio/perlio -DDEBUGGING -Duseperlio -Dusethreads -Duseithreads > > AIX 4.2 stdio/perlio -Duseperlio -Duselongdouble -Dusethreads -Duseithreads > > AIX 4.2 stdio/perlio -DDEBUGGING -Duseperlio -Duselongdouble -Dusethreads -Duseithreads > > op/magic...........................FAILED at test 28 > > ext/Time/HiRes/HiRes...............FAILED at test 3 > with the cc/xlc/vac/whichever settings you have in that AIX box, > and see whether compiling threaded breaks this. By now you should > get values like 994775434 for the tv_sec. ibm:/pro/3gl/CPAN/perl-5.7.1 102 > cat > try.c #include <sys/time.h> #include <stdio.h> int main() { struct timeval tv; int status = gettimeofday(&tv, 0); printf("%ld %ld (%d)\n", (long)tv.tv_sec, (long)tv.tv_usec, status); return 0; } ibm:/pro/3gl/CPAN/perl-5.7.1 103 > make try.o `sh cflags libperl.a try.o` try.c CCCMD = cc_r -DPERL_CORE -c -DDEBUGGING -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -DNEED_PTHREAD_INIT -I/pro/local/include -O2 ibm:/pro/3gl/CPAN/perl-5.7.1 104 > make try cc_r -L/pro/local/lib try.o -o try ibm:/pro/3gl/CPAN/perl-5.7.1 105 > ./try 994777307 955598 (0) ibm:/pro/3gl/CPAN/perl-5.7.1 106 > -- H.Merijn Brand Amsterdam Perl Mongers (http://www.amsterdam.pm.org/) using perl-5.6.1, 5.7.1 & 626 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3, WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/Thread Previous | Thread Next