Closed BSzili closed 2 years ago
thanks for reporting. I can reproduce your issue by using valgrind:
==33403== Memcheck, a memory error detector
==33403== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==33403== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==33403== Command: build-Linux/gcc/gcc/xgcc
==33403==
==33403== Invalid write of size 1
==33403== at 0x44B6DF: make_relative_prefix_1.isra.0.part.0 (in /home/stefan/amiga-gcc/build-Linux/gcc/gcc/xgcc)
...
Thanks for the quick fix!
I tried building the latest version of the toolchain on Ubuntu 20.04.5 LTS (I tried 18.04.6 too, but upgraded to test again) under WSL, but got stuck at building GCC. When it tries to do an xgcc dumpspecs the build stops because of a segfault. This is the output I get:
Running xgcc without any arguments also segafaults, this is the stacktrace I got with GDB:
I wonder what could be causing it, is this a an issue with the path?