tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/perl5 from -current fails to build on AIX 7.1



On 9/18/20 6:28 PM, Joerg Sonnenberger wrote:
On Fri, Sep 18, 2020 at 02:41:36PM -0400, Louis Guillaume wrote:
On 9/17/20 7:53 PM, Louis Guillaume wrote:
On 9/17/20 6:24 PM, Joerg Sonnenberger wrote:
On Thu, Sep 17, 2020 at 09:04:09AM -0400, Louis Guillaume wrote:
Once again I'm stuck with my AIX pkgsrc environment. This time it's with
lang/perl5. I really appreciate anyone reading on...

Do you have a coredump?

Joerg


I do! Thanks for the hint. Below is what gdb says. I guess here's the
problem: I don't know if perl is looking for the wrong symbol name or if
the symbol we're looking for isn't here (and should be).

Have you build with -g? It looks like it is calling a null pointer...

Joerg




Hi Joerg,

Here's a trace after building with `-g':

# gdb ./perl core
GNU gdb (GDB) 8.1.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc64-ibm-aix6.1.0.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./perl...done.

warning: core file may not match specified executable file.
BFD: BFD (GNU Binutils) 2.29.51 assertion fail format.c:453

warning: "/usr/lib/libdl.a": member "shr_64.o" missing.
BFD: BFD (GNU Binutils) 2.29.51 assertion fail format.c:453

warning: "/usr/lib/libbind.a": member "shr_64.o" missing.

warning: Could not load shared library symbols for 2 libraries, e.g. /usr/lib/libdl.a(shr_64.o).
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
[New Thread 1]
Core was generated by `perl'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0x0000000000000000 in ?? ()
[Current thread is 1 (process 1)]
(gdb) t
[Current thread is 1 (process 1)]
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x09000000004d8948 in boot_Cwd () from lib/auto/Cwd/Cwd.so
#2  0x0900000003a573bc in Perl_pp_entersub ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#3  0x0900000003aba25c in Perl_runops_standard ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#4  0x0900000003a04e8c in Perl_call_sv ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#5  0x0900000003a0826c in Perl_call_list ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#6  0x0900000003984f14 in S_process_special_blocks.isra.22 ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#7  0x09000000039a876c in Perl_newATTRSUB_x ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#8  0x09000000039ac684 in Perl_utilize ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#9  0x0900000003a264d0 in Perl_yyparse ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#10 0x0900000003a116dc in S_doeval_compile ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#11 0x0900000003a12f58 in Perl_pp_require ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#12 0x0900000003aba25c in Perl_runops_standard ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#13 0x0900000003a04e8c in Perl_call_sv ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#14 0x0900000003a0826c in Perl_call_list ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#15 0x0900000003984f14 in S_process_special_blocks.isra.22 ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#16 0x09000000039a876c in Perl_newATTRSUB_x ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
---Type <return> to continue, or q <return> to quit---
#17 0x09000000039ac684 in Perl_utilize ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#18 0x0900000003a264d0 in Perl_yyparse ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#19 0x0900000003a0da78 in perl_parse ()
   from /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o)
#20 0x00000001000005c8 in main (argc=0, argv=0x0, env=0x1000002b4 <__start+116>) at perlmain.c:126

Home | Main Index | Thread Index | Old Index