Thanks Sam,
i haven’t tried those things yet, though this is a fairly new repo clone, and i did a few clones with all the same result. so i dont think the toolchain is the problem.
I also have this running on another pc with a similar setup and works fine.(without all the build essentials and other packages)
i did some testings and im fearing it might be the cpu i have.
UnrealHeaderTool plain crashes… with an Illegal Instruction error.
i dont know why that line, or whats the actual instruction its trying to do.
[Wed Aug 18 12:14] nande:~/Work_SDD/UE4 😞1$ /home/nande/Work_SDD/UE4/Engine/Binaries/Linux/UnrealHeaderTool CrashReportClient "/home/nande/Work_SDD/UE4/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/nande/Work_SDD/UE4/Engine/Programs/UnrealBuildTool/Log_UHT.txt"
Illegal instruction (core dumped)
[Wed Aug 18 12:18] nande:~/Work_SDD/UE4 😞1$ gdb /home/nande/Work_SDD/UE4/Engine/Binaries/Linux/UnrealHeaderTool
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 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 "x86_64-linux-gnu".
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"...
Registered pretty printers for UE4 classes
Reading symbols from /home/nande/Work_SDD/UE4/Engine/Binaries/Linux/UnrealHeaderTool...
Reading symbols from /home/nande/Work_SDD/UE4/Engine/Binaries/Linux/UnrealHeaderTool.debug...
(gdb) run
Starting program: /home/nande/Work_SDD/UE4/Engine/Binaries/Linux/UnrealHeaderTool
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
0x00007ffff7d44050 in FNameHelper::MakeWithNumber (View=..., FindType=<optimized out>, InternalNumber=<optimized out>) at Runtime/Core/Private/UObject/UnrealNames.cpp:1815
1815 AnsiName[I] = View.Str[I];
(gdb)
this is the cpu i have at here, i dont know which flags are needed, or if those could be excluded from clang
# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 10
model name : AMD Phenom(tm) II X6 1100T Processor
stepping : 0
microcode : 0x10000dc
cpu MHz : 1341.589
cache size : 512 KB
physical id : 0
siblings : 6
core id : 0
cpu cores : 6
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt cpb hw_pstate vmmcall npt lbrv svm_lock nrip_save pausefilter
bugs : tlb_mmatch apic_c1e fxsave_leak sysret_ss_attrs null_seg amd_e400 spectre_v1 spectre_v2
bogomips : 6630.72
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate cpb
(other 5 cores like so)