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,

After a lot of gnashing of teeth I tried to build with `-ggdb' and without any `-O' option. Now we get some line numbers in the trace and some variables. Not that I really know what I'm doing, but I still can't tell what is coming back with a null pointer or what to do about it.

Hoping for any kind of guidance here...

Louis



[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) bt 5
#0  0x0000000000000000 in ?? ()
#1 0x0900000000c9fcdc in boot_Cwd (my_perl=0x1100113f0, cv=0x1100a17d0) at Cwd.c:1085 #2 0x0900000004ccfe38 in Perl_pp_entersub (my_perl=0x1100113f0) at pp_hot.c:5277 #3 0x0900000004ee4e30 in Perl_runops_standard (my_perl=0x1100113f0) at run.c:41 #4 0x0900000004c435d0 in Perl_call_sv (my_perl=0x1100113f0, sv=0x11005cfb8, flags=13)
    at perl.c:3091
(More stack frames follow...)
(gdb) up
#1 0x0900000000c9fcdc in boot_Cwd (my_perl=0x1100113f0, cv=0x1100a17d0) at Cwd.c:1085
1085        dVAR; dXSBOOTARGSXSAPIVERCHK;
(gdb) print my_perl
$1 = (PerlInterpreter *) 0x1100113f0
(gdb) print *my_perl
$2 = {Istack_sp = 0x110060680, Iop = 0x1100f5ec0, Icurpad = 0x1100f81f0,
Istack_base = 0x110060670, Istack_max = 0x110060768, Isavestack = 0x110081310, Isavestack_ix = 283, Isavestack_max = 940, Iscopestack = 0x110019870, Iscopestack_ix = 9, Iscopestack_max = 32, Itmps_stack = 0x1100193b0, Itmps_ix = 22, Itmps_floor = 22, Itmps_max = 128, Isub_generation = 5, Imarkstack = 0x1100197d0, Imarkstack_ptr = 0x1100197d8,
  Imarkstack_max = 0x110019850, Ihash_rand_bits_enabled = 1 '\001',
Ihash_rand_bits = 13120241735152754702, Istrtab = 0x1100147e8, Imultideref_pc = 0x11005f3e8, Icurpm = 0x1100ef3a8, Icurpm_under = 0x0, Itainting = false, Itainted = false, Idelaymagic = 0, Ilocalizing = 0 '\000', Iin_eval = 9 '\t', Idefgv = 0x110014998, Idowarn = 1 '\001', Iutf8cache = 1 '\001', Idefstash = 0x1100148a8, Icurstash = 0x11005ceb0, Icurcop = 0x1100f5df0, Icurstack = 0x110044b08, Icurstackinfo = 0x11005fb70, Imainstack = 0x110014200, Isv_count = 1938, Isv_root = 0x1100dab18, Isv_arenaroot = 0x1100f02f0, Ireg_curpm = 0x0, Iregmatch_slab = 0x110060ef0, Iregmatch_state = 0x110060ef0, Icomppad = 0x1100dab78, Isv_yes = { sv_any = 0x1100134e0, sv_refcnt = 2147483644, sv_flags = 134313734, sv_u = { svu_pv = 0x900000004eeddb8 <PL_Yes> "1", svu_iv = 648518346424114616,
      svu_uv = 648518346424114616, svu_nv = 2.4810403039183991e-265,
svu_rv = 0x900000004eeddb8 <PL_Yes>, svu_array = 0x900000004eeddb8 <PL_Yes>, svu_hash = 0x900000004eeddb8 <PL_Yes>, svu_gp = 0x900000004eeddb8 <PL_Yes>, svu_fp = 0x900000004eeddb8 <PL_Yes>}}, Isv_undef = {sv_any = 0x0, sv_refcnt = 2147483646, sv_flags = 134283264, sv_u = {svu_pv = 0x0, svu_iv = 0, svu_uv = 0, svu_nv = 0, svu_rv = 0x0, svu_array = 0x0, svu_hash = 0x0, svu_gp = 0x0, svu_fp = 0x0}}, Isv_no = { sv_any = 0x1100134c0, sv_refcnt = 2147483647, sv_flags = 134313734, sv_u = {
      svu_pv = 0x900000004eeddc0 <PL_No> "", svu_iv = 648518346424114624,
      svu_uv = 648518346424114624, svu_nv = 2.4810403039184035e-265,
svu_rv = 0x900000004eeddc0 <PL_No>, svu_array = 0x900000004eeddc0 <PL_No>, svu_hash = 0x900000004eeddc0 <PL_No>, svu_gp = 0x900000004eeddc0 <PL_No>, svu_fp = 0x900000004eeddc0 <PL_No>}}, Isv_zero = {sv_any = 0x110013500,
    sv_refcnt = 2147483647, sv_flags = 134444806, sv_u = {
svu_pv = 0x900000004eeddc8 <PL_Zero> "0", svu_iv = 648518346424114632,
      svu_uv = 648518346424114632, svu_nv = 2.481040303918408e-265,
svu_rv = 0x900000004eeddc8 <PL_Zero>, svu_array = 0x900000004eeddc8 <PL_Zero>, svu_hash = 0x900000004eeddc8 <PL_Zero>, svu_gp = 0x900000004eeddc8 <PL_Zero>,
---Type <return> to continue, or q <return> to quit---
svu_fp = 0x900000004eeddc8 <PL_Zero>}}, Ipadname_undef = {xpadn_pv = 0x0, xpadn_ourstash = 0x0, xpadn_type_u = {xpadn_typestash = 0x0, xpadn_protocv = 0x0}, xpadn_low = 0, xpadn_high = 0, xpadn_refcnt = 4294967266, xpadn_gen = 0, xpadn_len = 0 '\000', xpadn_flags = 0 '\000'}, Ipadname_const = {xpadn_pv = 0x900000004eeddc0 <PL_No> "", xpadn_ourstash = 0x0, xpadn_type_u = {xpadn_typestash = 0x0, xpadn_protocv = 0x0}, xpadn_low = 0, xpadn_high = 0, xpadn_refcnt = 4294967240, xpadn_gen = 0, xpadn_len = 0 '\000', xpadn_flags = 0 '\000'}, ISv = 0x0, Iparser = 0x11006b7b0, Istashcache = 0x110014800, Ina = 0, Istatcache = {st_dev = 9223372195768565762, st_ino = 313210, st_mode = 33261, st_nlink = 1, st_flag = 0, st_uid = 0, st_gid = 0, st_rdev = 0, st_ssize = 182596, st_atim = { tv_sec = 1602100147, tv_nsec = 986010330}, st_mtim = {tv_sec = 1602100148, tv_nsec = 6009385}, st_ctim = {tv_sec = 1602100148, tv_nsec = 26009523}, st_blksize = 4096, st_blocks = 360, st_vfstype = 0, st_vfs = 274, st_type = 1, st_gen = 3926638458, st_reserved = {0, 0, 0, 0, 0, 0, 0, 0, 0}, st_padto_ll = 0, st_size = 182596}, Istatgv = 0x0, Istatname = 0x110043d28, Irs = 0x1100141e8, Ilast_in_gv = 0x0, Iofsgv = 0x11003b370, Idefoutgv = 0x11003b7c0, Ichopset = 0x900000005063500 <super_cp_format+11368> " \n-", Iformtarget = 0x110043d58, Ibodytarget = 0x110043d58, Itoptarget = 0x110043d40, Irestartop = 0x0, Irestartjmpenv = 0x0, Itop_env = 0xfffffffffffc0b0, Istart_env = { je_prev = 0x0, je_buf = {0 <repeats 85 times>}, je_ret = -1, je_mustcatch = true, je_old_delaymagic = 0, je_old_stack_hwm = 0}, Ierrors = 0x1100147a0, Ihv_fetch_ent_mh = 0x0, Ilastgotoprobe = 0x0, Isortcop = 0x0, Isortstash = 0x0, Ifirstgv = 0x0, Isecondgv = 0x0, Iefloatbuf = 0x0, Iefloatsize = 0, Idumpindent = 4, Iexit_flags = 2 '\002', Iutf8locale = false, Iin_utf8_CTYPE_locale = false, Iin_utf8_COLLATE_locale = false, Iin_utf8_turkic_locale = false, Ilocale_utf8ness = "\vC\f0\vPOSIX\f0", '\000' <repeats 243 times>, Iwarn_locale = 0x0,
  Icolors = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  Ipeepp = @0x9001000a122cb68: 0x900000004d2de30 <Perl_peep>,
Irpeepp = @0x9001000a122cb80: 0x900000004d2a1e0 <Perl_rpeep>, Iopfreehook = 0x0, Iwatchaddr = 0x0, Iwatchok = 0x0, Iperldb = 0, Isignals = 0, Ireentrant_retint = 0, Iorigargc = 6, Iorigargv = 0xfffffffffffeb78, Ienvgv = 0x110043e00, Iincgv = 0x1100148f0, Ihintgv = 0x110014950, Iorigfilename = 0x110036b90 "pod/buildtoc", Ixsubfilename = 0x0,
  Idiehook = 0x0, Iwarnhook = 0x0, Ipatchlevel = 0x110014818,
  Ilocalpatches = 0x900000005062ad0 <super_cp_format+8760>,
Isplitstr = 0x900000005063508 <super_cp_format+11376> " ", Iminus_c = false, Iminus_n = false,
---Type <return> to continue, or q <return> to quit---
Iminus_p = false, Iminus_l = false, Iminus_a = false, Iminus_F = false, Idoswitches = false, Iminus_E = false, Iinplace = 0x0, Ie_script = 0x0, Ibasetime = 1602100262, Imaxsysfd = 2, Istatusvalue = 0, Istatusvalue_posix = 0, Isig_pending = 0, Ipsig_pend = 0x1100742f0, Istdingv = 0x11003b790, Istderrgv = 0x110043cc8, Iargvgv = 0x110043d70, Iargvoutgv = 0x0, Iargvout_stack = 0x0, Ireplgv = 0x1100149f8, Ierrgv = 0x1100149c8, IDBgv = 0x0, IDBline = 0x0, IDBsub = 0x0, IDBsingle = 0x0, IDBtrace = 0x0, IDBsignal = 0x0, Idbargs = 0x0, IDBcontrol = {0, 0, 0}, Idebstash = 0x110014a58, Iglobalstash = 0x110014ab8, Icurstname = 0x1100148c0, Ibeginav = 0x11005d000, Iendav = 0x0, Iunitcheckav = 0x11005d018, Icheckav = 0x0, Iinitav = 0x0, Ifdpid = 0x110014770, Iop_mask = 0x0, Imain_cv = 0x110014c08, Imain_root = 0x0, Imain_start = 0x0, Ieval_root = 0x1100e9678, Ieval_start = 0x11006c410, Icurcopdb = 0x0, Ifilemode = 0, Ilastfd = 0, Ioldname = 0x0, Ipreambleav = 0x0, Imess_sv = 0x0, Iors_sv = 0x0, Iforkprocess = 0, Igensym = 0, Icv_has_eval = false, Itaint_warn = false, Ilaststype = 268, Ilaststatval = -1, Imodcount = 1073741823, Iexitlistlen = 0, Iexitlist = 0x0, Imodglobal = 0x110014788, Iprofiledata = 0x0, Icompiling = {op_next = 0x0, op_sibparent = 0x0, op_ppaddr = 0x0, op_targ = 0, op_type = 0, op_opt = 0, op_slabbed = 0, op_savefree = 0, op_static = 0, op_folded = 0, op_moresib = 0, op_spare = 0, op_flags = 0 '\000', op_private = 0 '\000', cop_line = 0, cop_stashoff = 63, cop_file = 0x110056930 "lib/Cwd.pm", cop_hints = 2018, cop_seq = 0, cop_warnings = 0x0, cop_hints_hash = 0x0, cop_features = 0}, Icompcv = 0x11005cdf0, Icomppad_name = 0x1100582f0, Icomppad_name_fill = 0, Icomppad_name_floor = 0, IDBcv = 0x0, Igeneration = 133, Iunicode = 0, Iin_clean_objs = false, Iin_clean_all = false, Inomemok = false, Isavebegin = false, Idelaymagic_uid = 0, Idelaymagic_euid = 0, Idelaymagic_gid = 0, Idelaymagic_egid = 0, Ian = 0, Ibreakable_sub_gen = 46, Icop_seqmax = 516, Ievalseq = 0, Iorigalen = 4035,
  Iorigenviron = 0xfffffffffffebb0, Iosname = 0x11002cb50 "aix",
  Isighandlerp = @0x9001000a122caa8: 0x900000004c58a30 <Perl_sighandler>,
Isighandler1p = @0x9001000a122cb08: 0x900000004c58aa4 <Perl_sighandler1>, Isighandler3p = @0x9001000a122cb20: 0x900000004c58b18 <Perl_sighandler3>, Ibody_roots = { 0x110095790, 0x0, 0x0, 0x1100a7890, 0x11001b618, 0x110044de0, 0x110013530, 0x110097000, 0x1100d6c70, 0x11009e880, 0x0, 0x11006fd08, 0x11001a610, 0x1100e9c98, 0x0, 0x1100431b0},
  Idebug = 0, Ipadlist_generation = 54,
Irunops = @0x9001000a122c3a0: 0x900000004ee4de4 <Perl_runops_standard>, Isubname = 0x110044838, Isubline = 0, Imin_intro_pending = 0, Imax_intro_pending = 0, Ipadix = 69, Iconstpadix = 268,
---Type <return> to continue, or q <return> to quit---
Ipadix_floor = 0, Icurlocales = {0x1100302d0 "C", 0x1100302f0 "C", 0x110030310 "C", 0x110030330 "C", 0x110030350 "C", 0x110030370 "C", 0x110030390 "C", 0x0, 0x0, 0x0, 0x0, 0x0}, Icollation_name = 0x110030470 "C", Icollxfrm_base = 0, Icollxfrm_mult = 2, Icollation_ix = 1, Istrxfrm_NUL_replacement = 0 '\000', Istrxfrm_is_behaved = true, Istrxfrm_max_cp = 0 '\000', Icollation_standard = true, Ilanginfo_buf = 0x0, Ilanginfo_bufsize = 0, Isetlocale_buf = 0x0, Isetlocale_bufsize = 0, Iunsafe = false, Icolorset = false, Iphase = PERL_PHASE_START, Iin_load_module = false, Iperl_destruct_level = 0 '\000', Inumeric_standard = 1,
  Inumeric_underlying = true, Inumeric_underlying_is_standard = true,
  Inumeric_name = 0x110030490 "C", Inumeric_radix_sv = 0x110014878,
Iunderlying_numeric_obj = 0x1100304b0, Ipad_reset_pending = false, Isrand_called = false, Ipsig_ptr = 0x110087928, Ipsig_name = 0x1100870d0, Iptr_table = 0x0, Ibeginav_save = 0x0, Ibody_arenas = 0x1100124d0, Iregex_pad = 0x1100dfb70, Iregex_padav = 0x1100147d0, Istashpad = 0x11001ba50, Istashpadmax = 64, Istashpadix = 57, Ireentrant_buffer = 0x11001bc70,
  Icustom_op_names = 0x0, Icustom_op_descs = 0x0, Iperlio = 0x110036db0,
Iknown_layers = 0x110036c30, Idef_layerlist = 0x110036bf0, Icheckav_save = 0x0,
  Iunitcheckav_save = 0x0, Iclocktick = 100,
  Isharehook = @0x9001000a122cb98: 0x900000004cb7f38 <Perl_sv_nosharing>,
  Ilockhook = @0x9001000a122cb98: 0x900000004cb7f38 <Perl_sv_nosharing>,
Iunlockhook = @0x9001000a122cbb0: 0x900000004ee8a0c <Perl_sv_nounlocking>,
  Ithreadhook = @0x9001000a122cbc8: 0x900000004c3de94 <Perl_nothreadhook>,
Idestroyhook = @0x9001000a122cbe0: 0x900000004cb7f84 <Perl_sv_destroyable>, Isignalhook = @0x9001000a122cbf8: 0x900000004c519a8 <Perl_despatch_signals>, Iisarev = 0x110014c38, Iregistered_mros = 0x110014830, Iblockhooks = 0x0, Icustom_ops = 0x0, IXpv = 0x0, Iscopestack_name = 0x0, Idebug_pad = {pad = {{sv_any = 0x1100151e0, sv_refcnt = 0, sv_flags = 17411, sv_u = {svu_pv = 0x11001b990 "", svu_iv = 4563515792, svu_uv = 4563515792, svu_nv = 2.2546763770812077e-314, svu_rv = 0x11001b990, svu_array = 0x11001b990, svu_hash = 0x11001b990, svu_gp = 0x11001b990, svu_fp = 0x11001b990}}, {sv_any = 0x1100151f0, sv_refcnt = 0, sv_flags = 17411, sv_u = { svu_pv = 0x11001b9b0 "", svu_iv = 4563515824, svu_uv = 4563515824, svu_nv = 2.2546763928913084e-314, svu_rv = 0x11001b9b0, svu_array = 0x11001b9b0, svu_hash = 0x11001b9b0, svu_gp = 0x11001b9b0, svu_fp = 0x11001b9b0}}, { sv_any = 0x110015200, sv_refcnt = 0, sv_flags = 17411, sv_u = {svu_pv = 0x11001b9d0 "",
---Type <return> to continue, or q <return> to quit---
svu_iv = 4563515856, svu_uv = 4563515856, svu_nv = 2.2546764087014091e-314, svu_rv = 0x11001b9d0, svu_array = 0x11001b9d0, svu_hash = 0x11001b9d0,
          svu_gp = 0x11001b9d0, svu_fp = 0x11001b9d0}}}}, Iglobhook = 0x0,
Imy_cxt_list = 0x1100eac10, Imy_cxt_size = 16, Imemory_debug_header = {interpreter = 0x0, prev = 0x0, next = 0x0}, Isv_consts = {0x0 <repeats 35 times>}, Irandom_state = 0,
  Idump_re_max_len = 60, Iinternal_random_state = 39368486983050,
ITR_SPECIAL_HANDLING_UTF8 = "\377\200\217\277\277\277\277\277\277\277\277\277\276", IAboveLatin1 = 0x110014590, IAssigned_invlist = 0x1100145d8, IGCB_invlist = 0x110014500, IHasMultiCharFold = 0x110014668, IInMultiCharFold = 0x110014680, ILatin1 = 0x1100145a8, ILB_invlist = 0x110014548, ISB_invlist = 0x110014518, ISCX_invlist = 0x110014560, IUpperLatin1 = 0x1100145c0, Iin_some_fold = 0x110014650, Iutf8_foldclosures = 0x110014710, Iutf8_idcont = 0x0, Iutf8_idstart = 0x0, Iutf8_perl_idcont = 0x110014608, Iutf8_perl_idstart = 0x1100145f0, Iutf8_xidcont = 0x0, Iutf8_xidstart = 0x0, IWB_invlist = 0x110014530, IXPosix_ptrs = {0x110014380, 0x1100142c0, 0x110014260, 0x1100142f0, 0x110014350, 0x110014320, 0x110014308, 0x110014248, 0x1100142d8, 0x110014290, 0x110014338, 0x110014278, 0x110014398, 0x1100142a8, 0x110014230, 0x110014368}, IPosix_ptrs = {0x1100144d0, 0x110014428, 0x1100143e0, 0x110014458, 0x1100144b8, 0x110014488, 0x110014470, 0x1100143c8, 0x110014440, 0x1100143e0, 0x1100144a0, 0x1100143f8, 0x1100144e8, 0x110014410, 0x1100143b0, 0x0}, Iutf8_toupper = 0x110014698, Iutf8_totitle = 0x1100146c8, Iutf8_tolower = 0x1100146b0,
  Iutf8_tofold = 0x1100146e0, Iutf8_tosimplefold = 0x1100146f8,
Iutf8_charname_begin = 0x110014620, Iutf8_charname_continue = 0x110014638, Iutf8_mark = 0x110014728, IInBitmap = 0x110014578, ICCC_non0_non230 = 0x110014740, IPrivate_Use = 0x110014758, Imbrlen_ps = 0x0, Imbrtowc_ps = 0x0, Iwcrtomb_ps = 0x0}
(gdb) print cv
$3 = (CV *) 0x1100a17d0
(gdb) print *cv
$4 = {sv_any = 0x1100e9c30, sv_refcnt = 2, sv_flags = 13, sv_u = {svu_pv = 0x0, svu_iv = 0, svu_uv = 0, svu_nv = 0, svu_rv = 0x0, svu_array = 0x0, svu_hash = 0x0, svu_gp = 0x0,
    svu_fp = 0x0}}




Home | Main Index | Thread Index | Old Index