On 7/28/23 16:40, Claudio Fontana wrote: > On 7/28/23 16:28, Richard Henderson wrote: >> On 7/28/23 07:23, Claudio Fontana wrote: >>>> It is a test environment for building packages, so the guest at the time >>>> of the error is running ./configure for the package swig-v4.1.1.tar.gz >>>> >>>> checking build system type... s390x-ibm-linux-gnu^M >>>> checking host system type... s390x-ibm-linux-gnu^M >>>> checking for a BSD-compatible install... /usr/bin/install -c^M >>>> checking whether build environment is sane... [New Thread 0x7ffea3fff6c0 >>>> (LWP 116436)] >>>> [New Thread 0x7ffec14e26c0 (LWP 116437)] >>>> [New Thread 0x7ffecf73e6c0 (LWP 116438)] >>>> [New Thread 0x7ffecde2c6c0 (LWP 116439)] >>>> [New Thread 0x7ffec2beb6c0 (LWP 116440)] >>>> yes^M >>>> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p^M >>>> checking for gawk... gawk^M >>>> checking whether make sets $(MAKE)... yes^M >>>> checking whether make supports nested variables... yes^M >>>> checking for s390x-ibm-linux-gnu-gcc... gcc^M >>>> checking whether the C compiler works... ** >>>> >>>> So I presume we are in: >>>> >>>> AC_PROG_CC >>>> >>> >>> >>> I am rerunning this over and over, and it seems it always aborts there in >>> the same place. >> >> You didn't say what the host is, only qemu-system-s390x. >> Am I barking up the wrong tree looking at s390x host? >> >> >> r~ > > sorry, no it is an x86 host in this case, running openSUSE Tumbleweed. > > >
(gdb) frame 17 #17 0x0000555555abd537 in ld_code4 (env=0x5555566b9f50, s=0x7ffeeedfc2c0, pc=2929224048640) at ../target/s390x/tcg/translate.c:399 399 return (uint64_t)(uint32_t)translator_ldl(env, &s->base, pc); (gdb) p env $7 = (CPUS390XState *) 0x5555566b9f50 (gdb) p env[0] $8 = {regs = {0, 128, 4396110331904, 2929231704344, 2929231698920, 0, 1, 4294967295, 127, 129, 2929167695872, 2929167695874, 4396120469352, 2929227322880, 4393751543808, 4397869291280}, vregs = {{4294967296, 4294967296}, {1, 4294967297}, {1, 4294967297}, { 4294967296, 4294967297}, {4294967297, 4294967297}, {4294967297, 4294967297}, {4294967297, 1}, {4294967297, 4294967296}, {1, 4294967296}, {4294967297, 1}, {4294967297, 4294967296}, {0, 4294967296}, {4294967296, 1}, {0, 0}, {0, 1}, {4294967297, 0}, { 4294967297, 4294967296}, {4294967296, 1}, {0, 1}, {8589934592, 0}, {4294967295, 4294967297}, {1, 4294967296}, {4294967297, 4294967296}, {4294967297, 4294967297}, {4294967297, 4294967297}, {1, 4294967297}, {4294967297, 1}, {0, 4294967297}, {1, 0}, {0, 0}, { 4294967297, 4294967296}, {0, 24}}, aregs = {1023, 2369217472, 0 <repeats 14 times>}, gscb = {0, 0, 0, 0}, etoken = 0, etoken_extension = 0, diag318_info = 0, start_initial_reset_fields = {<No data fields>}, fpc = 0, cc_op = 15, bpbc = false, fpu_status = {float_exception_flags = 0, float_rounding_mode = float_round_nearest_even, floatx80_rounding_precision = floatx80_precision_x, tininess_before_rounding = true, flush_to_zero = false, flush_inputs_to_zero = false, default_nan_mode = false, snan_bit_is_one = false, use_first_nan = false, no_signaling_nans = false, rebias_overflow = false, rebias_underflow = false}, psw = {mask = 505845723963588608, addr = 2929224048638}, crash_reason = S390_CRASH_REASON_UNKNOWN, cc_src = 1, cc_dst = 128, cc_vr = 129, ex_value = 0, ex_target = 10319062, __excp_addr = 0, psa = 27344896, int_pgm_code = 16, int_pgm_ilen = 2, int_svc_code = 90, int_svc_ilen = 2, per_address = 0, per_perc_atmid = 0, cregs = { 337013264, 74613191, 118912, 0, 65535, 118912, 805306368, 74613191, 32768, 0, 0, 0, 0, 22298631, 3674210304, 118976}, ckc = 15972532250018284863, cputm = 2251799817033977205, todpr = 4, pfault_token = 18446744073709551615, pfault_compare = 0, pfault_select = 0, gbea = 1026, pp = 9223372036854778665, start_normal_reset_fields = {<No data fields>}, riccb = '\000' <repeats 63 times>, pending_int = 0, external_call_addr = 6, emergency_signals = {0, 0, 0, 0}, tlb_fill_tec = 2929224050688, tlb_fill_exc = 17, end_reset_fields = {<No data fields>}, core_id = 4, cpuid = 18014400747208704, tod_timer = 0x5555566ba530, cpu_timer = 0x5555566ba570, cpu_state = 3 '\003', sigp_order = 0 '\000'} (gdb) p s[0] $9 = {base = {tb = 0x7fffe4923a00, pc_first = 2929224048638, pc_next = 2929224048638, is_jmp = DISAS_NEXT, num_insns = 1, max_insns = 512, singlestep_enabled = false, host_addr = {0x7fff07ef8ffe, 0x0}}, insn = 0x7ffedc013740, insn_start = 0x7ffedc00b6b8, fields = { raw_insn = 18446744073709550296, op = 0, op2 = 0, presentC = 0, presentO = 0, c = {-10352, 32767, -295710720, 32766, -143555232, 32767, 1449893712}}, ex_value = 0, pc_tmp = 93825010474832, ilen = 4007641952, cc_op = CC_OP_DYNAMIC, exit_to_mainloop = false}