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/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?


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).


# ar tv /usr/lib/libdl.a
rwxr-x---   300/300      646 Jun 26 19:24 2010 shr.o

But we're looking for shr_64.o

# pwd
# gdb ./perl core
GNU gdb (GDB) 8.1.1


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 ?? ()

(gdb) info sharedlibrary
From                To                  Syms Read   Shared Object Library
0x09fffffff0001000  0x09fffffff000fa7e  Yes (*)     /usr/ccs/bin/usla64
0x090000000eea3240  0x090000000eea6f44  Yes         lib/auto/Cwd/
0x0900000010aff000 0x0900000010b36ce0 Yes (*) /usr/lib/libC.a(ansicore_64.o) 0x09000000105abe00 0x0900000010611715 Yes (*) /usr/lib/libC.a(shrcore_64.o) 0x0900000000473680 0x0900000000473e46 Yes (*) /usr/lib/libc.a(pse_64.o) No /usr/lib/libdl.a(shr_64.o) No /usr/lib/libbind.a(shr_64.o) 0x0900000010ae69f0 0x0900000010afd939 Yes /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/ppc64/libgcc_s.a(shr.o) 0x090000000104f818 0x090000000105006c Yes (*) /usr/lib/libC.a(shr2_64.o) 0x090000000339a9f8 0x090000000339b233 Yes (*) /usr/lib/libC.a(shr3_64.o) 0x0900000000c7d200 0x0900000000c8767e Yes (*) /usr/lib/libtli.a(shr_64.o) 0x09000000004de580 0x09000000004e2deb Yes (*) /usr/lib/libthread.a(shr_64.o) 0x0900000000470600 0x0900000000470f43 Yes (*) /usr/lib/libcrypt.a(shr_64.o) 0x0900000014960300 0x0900000014d0f12c Yes (*) /opt/pkg/obj/lang/perl5/work/perl-5.32.0/libperl.a(libperl.o) 0x090000000235cd80 0x09000000023fe10c Yes (*) /usr/lib/libnsl.a(shr_64.o) 0x090000000051a200 0x090000000055cc17 Yes (*) /usr/lib/libpthreads.a(shr_xpg5_64.o) 0x0900000000000780 0x090000000044acff Yes (*) /usr/lib/libc.a(shr_64.o)
(*): Shared library is missing debugging information.

Home | Main Index | Thread Index | Old Index