Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.91k stars 542 forks source link

error compiling perl 5.8.8 on AIX 5.3 #8803

Closed p5pRT closed 17 years ago

p5pRT commented 17 years ago

Migrated from rt.perl.org#41599 (status was 'resolved')

Searchable as RT41599$

p5pRT commented 17 years ago

From flehir@ca.ibm.com

Hello\,

I am trying to compile perl 5.8.8 on an AIX 5.3.3 system with the vac 6.0.0.4 compiler.

After running​:   sh Configure -Dprefix=/usr/local/perl588-64 -Dusethreads -Duse64bitall   all other options chosen are defaults

I am running "make"​:

....   ar -X64 rcu libperl.a 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 perli o.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o   `sh cflags "optimize='-O'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c   CCCMD = cc_r -DPERL_CORE -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_ DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include -q64 -DUSE_64_BIT_ALL -q64 -O   cc_r -o miniperl -brtl -bdynamic -bmaxdata​:0x80000000 -L/usr/local/lib -q64 -b64 `echo 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 | sed 's/ op .o / /'` miniperlmain.o opmini.o perl.o -lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd ld​: 0711-317 ERROR​: Undefined symbol​: .__floor ld​: 0711-317 ERROR​: Undefined symbol​: .__ceil ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make​: 1254-004 The error code from the last command is 8.

Stop. root@​acmcyul00106​:/var/log/Histlogs/Archives/Perl/TmpPerl588/perl-5.8.8$ make nok   cc_r -o miniperl -brtl -bdynamic -bmaxdata​:0x80000000 -L/usr/local/lib -q64 -b64 `echo 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 | sed 's/ op .o / /'` miniperlmain.o opmini.o perl.o -lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd ld​: 0711-317 ERROR​: Undefined symbol​: .__floor ld​: 0711-317 ERROR​: Undefined symbol​: .__ceil ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make​: 1254-004 The error code from the last command is 8.

Stop. root@​acmcyul00106​:/var/log/Histlogs/Archives/Perl/TmpPerl588/perl-5.8.8$ ./myconfig Summary of my perl5 (revision 5 version 8 subversion 8) configuration​:   Platform​:   osname=aix\, osvers=5.3.0.0\, archname=aix-thread-multi-64all   uname='aix acmcyul00106 3 5 000fb41c4c00 '   config_args='-Dprefix=/usr/local/perl588-64 -Dusethreads -Duse64bitall'   hint=recommended\, useposix=true\, d_sigaction=define   usethreads=define use5005threads=undef 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_r'\, ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_ PTHREAD_INIT -I/usr/local/include -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 -DNEED_PTHREAD_INI T -I/usr/local/include'   ccversion='6.0.0.4'\, 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 -bmaxdata​:0x80000000 -L/usr/local/lib -q64 -b64'   libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib   libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd   perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd   libc=/lib/libc.a\, so=a\, useshrplib=false\, libperl=libperl.a   gnulibc_version=''   Dynamic Linking​:   dlsrc=dl_aix.xs\, dlext=so\, d_dlsymun=undef\, ccdlflags=' -bE​:/usr/local/perl588-64/lib/5.8.8/aix-thread-multi-64all/CORE/ perl.exp'   cccdlflags=' '\, lddlflags='-b64 -bhalt​:4 -bexpall -G -bnoentry -lpthreads -lc -L/usr/local/lib'

I tried to use -Duse64bitint instead of -Duse64bitall but I get exactly the same problem.

Thanks Salutations\, / Regards\,

Francois Le Hir Network Projects & Consulting Services IBM Global Technology Services Phone​: (514) 964 2145

p5pRT commented 17 years ago

From shouldbedomo@mac.com

On 2007–02–23\, at 20​:09\, Francois Le Hir (via RT) wrote​:

I am trying to compile perl 5.8.8 on an AIX 5.3.3 system with the vac 6.0.0.4 compiler.

After running​: sh Configure -Dprefix=/usr/local/perl588-64 -Dusethreads -Duse64bitall all other options chosen are defaults

I am running "make"​:

.... [...] cc_r -o miniperl -brtl -bdynamic -bmaxdata​:0x80000000 -L/usr/local/lib -q64 -b64 `echo 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 | sed 's/ op .o / /'` miniperlmain.o opmini.o perl.o -lbind -lnsl -ldl -lld -lm
-lcrypt -lpthreads -lc -lbsd ld​: 0711-317 ERROR​: Undefined symbol​: .__floor ld​: 0711-317 ERROR​: Undefined symbol​: .__ceil ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make​: 1254-004 The error code from the last command is 8.

This IBM support site thread \<http​://www-128.ibm.com/developerworks/ forums/dw_thread.jsp? message=13876484&cat=72&thread=124105&treeDisplayType=threadmode1&forum= 905#13876484> (found via python-list) seems to throw some light​: a
compiler upgrade solved the problem. -- Dominic Dunlop

p5pRT commented 17 years ago

The RT System itself - Status changed from 'new' to 'open'

p5pRT commented 17 years ago

From flehir@ca.ibm.com

graycol.gif

p5pRT commented 17 years ago

From flehir@ca.ibm.com

pic19319.gif

p5pRT commented 17 years ago

From flehir@ca.ibm.com

ecblank.gif

p5pRT commented 17 years ago

@nwc10 - Status changed from 'open' to 'resolved'

p5pRT commented 17 years ago

From @nwc10

On Fri\, Mar 09\, 2007 at 03​:19​:56PM -0500\, Francois Le Hir wrote​:

Hello\,

Apparently this is because of a problem with the vac compiler on AIX 5.3.

I found it documented there​: http​://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=13835427&cat=72&thread=124105&treeDisplayType=threadmode1&forum=905#13835427

I did an upgrade of my compiler and now I am able to compile successfully. Sorry for the inconvenience.

Thanks for the update. It's nice to know that the problem is resolved.

Nicholas Clark