Link to complete make log.
...
Making install in mpcheck
make[6]: Entering directory '/scratch/union/build_dir/host/mpc-1.3.1/tools/mpcheck'
make[7]: Entering directory '/scratch/union/build_dir/host/mpc-1.3.1/tools/mpcheck'
make[7]: Nothing to be done for 'install-exec-am'.
make[7]: Nothing to be done for 'install-data-am'.
make[7]: Leaving directory '/scratch/union/build_dir/host/mpc-1.3.1/tools/mpcheck'
make[6]: Leaving directory '/scratch/union/build_dir/host/mpc-1.3.1/tools/mpcheck'
make[6]: Entering directory '/scratch/union/build_dir/host/mpc-1.3.1/tools'
make[7]: Entering directory '/scratch/union/build_dir/host/mpc-1.3.1/tools'
make[7]: Nothing to be done for 'install-exec-am'.
make[7]: Nothing to be done for 'install-data-am'.
make[7]: Leaving directory '/scratch/union/build_dir/host/mpc-1.3.1/tools'
make[6]: Leaving directory '/scratch/union/build_dir/host/mpc-1.3.1/tools'
make[5]: Leaving directory '/scratch/union/build_dir/host/mpc-1.3.1/tools'
make[5]: Entering directory '/scratch/union/build_dir/host/mpc-1.3.1'
make[6]: Entering directory '/scratch/union/build_dir/host/mpc-1.3.1'
make[6]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/scratch/union/staging_dir/host/include'
/scratch/union/staging_dir/host/bin/install -c -m 644 src/mpc.h '/scratch/union/staging_dir/host/include'
make[6]: Leaving directory '/scratch/union/build_dir/host/mpc-1.3.1'
make[5]: Leaving directory '/scratch/union/build_dir/host/mpc-1.3.1'
make[4]: Leaving directory '/scratch/union/build_dir/host/mpc-1.3.1'
mkdir -p /scratch/union/staging_dir/host/stamp
touch /scratch/union/build_dir/host/mpc-1.3.1/.built
touch /scratch/union/staging_dir/host/stamp/.mpc_installed
make[3]: Leaving directory '/scratch/union/tools/mpc'
time: tools/mpc/compile#5.57#1.33#6.79
make[3]: Entering directory '/scratch/union/tools/kernel2minor'
make[3]: Leaving directory '/scratch/union/tools/kernel2minor'
time: tools/kernel2minor/compile#0.03#0.00#0.04
make[3]: Entering directory '/scratch/union/tools/elfutils'
CFLAGS="-O2 -I/scratch/union/staging_dir/host/include " CPPFLAGS="-I/scratch/union/staging_dir/host/include " CXXFLAGS="" LDFLAGS="-L/scratch/union/staging_dir/host/lib " make -j1 -C /scratch/union/build_dir/host/elfutils-0.189 SUBDIRS="lib libelf libcpu backends libebl libdwelf libdwfl libdw" install
make[4]: Entering directory '/scratch/union/build_dir/host/elfutils-0.189'
Making install in lib
make[6]: Nothing to be done for 'install-exec-am'.
make[6]: Nothing to be done for 'install-data-am'.
Making install in libelf
/usr/bin/mkdir -p '/scratch/union/staging_dir/host/lib'
/scratch/union/staging_dir/host/bin/install -c -m 644 libelf.a '/scratch/union/staging_dir/host/lib'
( cd '/scratch/union/staging_dir/host/lib' && ranlib libelf.a )
/usr/bin/mkdir -p '/scratch/union/staging_dir/host/include'
/scratch/union/staging_dir/host/bin/install -c -m 644 libelf.h gelf.h nlist.h '/scratch/union/staging_dir/host/include'
/usr/bin/mkdir -p '/scratch/union/staging_dir/host/include/elfutils'
/scratch/union/staging_dir/host/bin/install -c -m 644 elf-knowledge.h '/scratch/union/staging_dir/host/include/elfutils'
/usr/bin/env bash /scratch/union/build_dir/host/elfutils-0.189/config/install-sh -d /scratch/union/staging_dir/host/lib
bash: /scratch/union/build_dir/host/elfutils-0.189/config/install-sh: No such file or directory
make[5]: *** [Makefile:1057: install] Error 127
make[4]: *** [Makefile:532: install-recursive] Error 1
make[4]: Leaving directory '/scratch/union/build_dir/host/elfutils-0.189'
make[3]: *** [Makefile:37: /scratch/union/staging_dir/host/stamp/.elfutils_installed] Error 2
make[3]: Leaving directory '/scratch/union/tools/elfutils'
time: tools/elfutils/compile#0.07#0.03#0.09
ERROR: tools/elfutils failed to build.
make[2]: *** [tools/Makefile:219: tools/elfutils/compile] Error 1
make[2]: Leaving directory '/scratch/union'
make[1]: *** [tools/Makefile:215: /scratch/union/staging_dir/host/stamp/.tools_compile_nyyynyynnyyynynyyyyyyynyynyynyynnynnyyyyyyyyyyyyyyyyynynnyyyyyyy] Error 2
make[1]: Leaving directory '/scratch/union'
make: *** [/scratch/union/include/toplevel.mk:231: world] Error 2
make dirclean
and try again
2 Likes
VA1DER
March 17, 2023, 10:18pm
3
Was build_dir/host/elfutils-0.189/config/install-sh
actually missing or have the wrong permissions?
EDIT: the root cause of this problem was a dead battery on the motherboard. When weird stuff happens, don't forget about that is the lesson.
More details: beyond the openwrt toolchain stuff I posted about above, I have been experiencing other problems (python and perl crashing for no reason, memory not running at full speed, then I started getting GPU hardware errors in dmesg). Upon tweaking some settings in the BIOS around memory settings, the machine wouldn't boot. Debug code on the motherboard was bad GPU. I swapped out the video card with another known-good one and same thing. Clearing the BIOS didn't help. I decided to test the battery on the motherboard and it was dead. All these problems magically disappeared when I replaced the battery.
Example from dmesg:
[Mar18 08:00] perl[949246]: segfault at 7ffd7c436ff8 ip 00005653e15403ae sp 00007ffd7c436ff0 error 6 in perl[5653e139c000+247000] likely on CPU 8 (core 8, socket 0)
[ +0.000017] Code: ff e8 d6 f2 00 00 e9 ae fd ff ff e8 1c 68 fe ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 54 49 89 f4 55 48 89 fd 53 48 83 ec 10 <48> 89 74 24 08 f6 47 0e 80 75 77 48 8b 45 00 31 db 48 8b 40 10 48
[ +0.163292] perl[949657]: segfault at 7ffca75d7ff8 ip 00007f26ec3489ed sp 00007ffca75d8000 error 6 in libc.so.6[7f26ec2d5000+15a000] likely on CPU 7 (core 7, socket 0)
[ +0.000012] Code: 89 34 fa 66 89 0c 6a 48 c7 40 08 00 00 00 00 48 83 c4 10 5b 5d 41 5c c3 0f 1f 44 00 00 48 89 de 48 8d 1d b6 30 14 00 48 89 df <e8> 5e e8 ff ff 48 85 c0 0f 84 81 00 00 00 48 8b 50 f8 f6 c2 02 0f
[ +0.274580] perl[950080]: segfault at 7ffedffeeff8 ip 000055fd0402e9b0 sp 00007ffedffef000 error 6 in perl[55fd03ea5000+247000] likely on CPU 30 (core 14, socket 0)
[ +0.000015] Code: 8b 40 08 48 85 c0 74 b8 48 8b 00 48 8b 78 28 48 85 ff 75 b4 eb aa 0f 1f 40 00 48 83 ec 08 b8 01 00 00 00 48 85 ff 48 0f 44 f8 <e8> ab 6b e7 ff 48 85 c0 74 05 48 83 c4 08 c3 80 3d f7 2f 7a 00 00
[ +0.303097] perl[950515]: segfault at 7ffe7b89bff8 ip 000055e76d7f7300 sp 00007ffe7b89c000 error 6 in perl[55e76d63c000+247000] likely on CPU 22 (core 6, socket 0)
[ +0.000013] Code: 00 48 85 d2 0f 85 07 ff ff ff 8b 43 0c e9 9b fe ff ff 0f 1f 84 00 00 00 00 00 41 57 48 8d 15 27 1d 25 00 41 56 41 55 41 54 55 <53> 48 83 ec 28 8b 47 0c 44 0f b6 e8 4e 8d 34 ea 41 39 f5 0f 84 17
[ +0.172346] perl[950693]: segfault at 7fff61cddff8 ip 000055ac0b746563 sp 00007fff61cde000 error 6 in perl[55ac0b58a000+247000] likely on CPU 23 (core 7, socket 0)
[ +0.000014] Code: ec 08 e8 b0 43 e4 ff 48 83 c4 08 89 ea 48 89 df 89 c6 5b 5d e9 9e f6 ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 89 fd <53> 48 83 ec 08 48 8b 1d b9 0b 77 00 48 85 db 74 54 48 8b 03 48 83
[ +0.222312] perl[950872]: segfault at 7ffc96c95ff8 ip 00007f8c59317856 sp 00007ffc96c96000 error 6 in libc.so.6[7f8c592a4000+15a000] likely on CPU 5 (core 5, socket 0)
[ +0.000015] Code: 8b 80 70 08 00 00 48 39 f0 75 c9 c7 05 8b 9a 14 00 00 00 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 41 54 <55> 53 48 89 fb 48 83 ec 10 80 3d 62 9a 14 00 00 0f 84 f4 01 00 00
[ +0.130765] perl[951037]: segfault at 7fff52177ff8 ip 0000563128b565b5 sp 00007fff52178000 error 6 in perl[56312899a000+247000] likely on CPU 5 (core 5, socket 0)
[ +0.000014] Code: 25 00 48 c7 03 00 00 00 00 48 89 43 08 85 ed 75 14 48 83 c4 08 48 89 d8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 89 ee 48 89 df <e8> 36 ed ff ff 48 83 c4 08 48 89 d8 5b 5d c3 0f 1f 40 00 e8 63 58
[ +0.435823] perl[951468]: segfault at 7fff22172ff8 ip 0000560b28dae300 sp 00007fff22173000 error 6 in perl[560b28bf3000+247000] likely on CPU 12 (core 12, socket 0)
[ +0.000013] Code: 00 48 85 d2 0f 85 07 ff ff ff 8b 43 0c e9 9b fe ff ff 0f 1f 84 00 00 00 00 00 41 57 48 8d 15 27 1d 25 00 41 56 41 55 41 54 55 <53> 48 83 ec 28 8b 47 0c 44 0f b6 e8 4e 8d 34 ea 41 39 f5 0f 84 17
[ +0.400703] perl[952251]: segfault at 7ffe78025ff8 ip 00007ff4a4dbefc2 sp 00007ffe78026000 error 6 in libc.so.6[7ff4a4d4c000+15a000] likely on CPU 14 (core 14, socket 0)
[ +0.000014] Code: 02 48 09 d8 48 83 c8 01 49 89 45 08 48 89 c8 48 83 c8 01 48 89 42 08 4b 89 4c 35 00 49 8d 4d 10 48 89 cf 4c 89 e6 48 89 0c 24 <e8> 99 c8 ff ff 48 8b 0c 24 e9 52 f7 ff ff 48 8d 34 1a 48 29 d8 4c
[ +0.150592] perl[952749]: segfault at 7ffde25efff8 ip 0000557d23df63a0 sp 00007ffde25f0000 error 6 in perl[557d23c57000+247000] likely on CPU 31 (core 15, socket 0)
[ +0.000009] Code: 74 08 f7 c2 00 00 00 40 75 30 8b 50 28 48 c7 40 10 00 00 00 00 c7 40 18 ff ff ff ff 89 50 2c 48 8b 03 5b 8b 40 10 c3 0f 1f 00 <e8> 0b f5 ff ff 48 8b 03 5b 8b 40 10 c3 0f 1f 00 81 e2 ff ff ff bf
[Mar18 08:29] show_signal: 4 callbacks suppressed
[ +0.000002] traps: xfce4-screensav[1158482] general protection fault ip:5563c38cbf71 sp:7fffe7932fe0 error:0 in xfce4-screensaver-dialog[5563c38c4000+b000]
[ +2.147714] traps: xfce4-screensav[1158525] general protection fault ip:55ddd43c1f71 sp:7ffe65fd3bc0 error:0 in xfce4-screensaver-dialog[55ddd43ba000+b000]
[ +2.005200] traps: xfce4-screensav[1158558] general protection fault ip:5654f4611f71 sp:7ffe1e2d9bd0 error:0 in xfce4-screensaver-dialog[5654f460a000+b000]
[Mar18 08:30] amdgpu 0000:2b:00.0: amdgpu: IH ring buffer overflow (0x0008D170, 0x0000F160, 0x0000D180)
[ +0.000014] amdgpu 0000:2b:00.0: amdgpu: GPU fault detected: 147 0x0bc20402 for process vlc pid 1174855 thread vlc:cs0 pid 1175001
[ +0.000003] amdgpu 0000:2b:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010B800
[ +0.000002] amdgpu 0000:2b:00.0: amdgpu: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x03048002
[ +0.000001] amdgpu 0000:2b:00.0: amdgpu: VM fault (0x02, vmid 1, pasid 32772) at page 1095680, write from 'TC0' (0x54433000) (72)
system
Closed
March 27, 2023, 10:31pm
5
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.