<div dir="ltr"><div>The actual part of the build log which shows the root cause of the error is right at the top:</div><div><br></div><div style="margin-left:40px">scons: Reading SConscript files ...<br>
Using target: darwin arch: x86 fbc: fbc (1.06.0 (04-29-2016)) fbcc:
/opt/local/bin/gcc-mp-4.7 (gcc 4.7.4) cc: clang (LLVM 8.0.0) cctarget:
x86_64-apple-darwin15.6.0<br>
WARNING: due to bug in old fbc, dropping arg -Wc -Wno-missing-braces<br>
WARNING: due to bug in old fbc, dropping arg -Wc -msse2<br>
WARNING: due to bug in old fbc, dropping arg -Wc -fno-pie</div><div><br></div><div>So it seems it was the missing -msse2 arg that was the problem, the -fno-pie was not passed before this commit anyway, but it made the commandline too long.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 7 Nov 2023 at 11:16, James Paige via Ohrrpgce <<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Yep, this commit seems to have broken the 32 bit Mac build, but the 64 bit Mac build is fine.</div><div><br></div><div><font size="-1">clang -o relump build/relump.o build/os_sockets.o
build/networkutil.o build/os_unix.o build/os_unix2.o build/util.o
build/base64.o build/unicode.o build/array.o build/miscc.o
build/fb/error.o build/lib/sha1.o build/lib/lodepng.o
build/lib/lodepng_gzip.o build/filelayer.o build/globals.o
build/lumpfile.o build/vector.o build/common_base.o
build/util-datafiles.o -O2 -F /Users/james/Library/Frameworks -mmacosx-version-min=10.6 -Wl,-rpath,@executable_path/../Frameworks -Wl,-no_pie -m32 -Wl,-dead_strip -Wl,-L/Users/james/misc/fbc-1.06/bin/../lib/freebasic/darwin-x86 /Users/james/misc/fbc-1.06/bin/../lib/freebasic/darwin-x86/fbrt0.o -lfbmt -Wl,-S -lstdc++ -lpthread -lncurses<br>
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9<br>
ld: illegal text-relocation to '___stack_chk_guard' in
/usr/lib/libpthread.dylib from '_fatal_signal_handler' in
build/os_unix.o for architecture i386<br>
ld: illegal text-relocation to '___stack_chk_guard' in
/usr/lib/libpthread.dylib from '_fatal_signal_handler' in
build/os_unix.o for architecture i386<br>
clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
scons: *** [relump] Error 1<br>
scons: *** [unlump] Error 1<br>
scons: building terminated because of errors.</font></div><div><font size="-1"><br></font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 27, 2023 at 10:06 PM subversion--- via Ohrrpgce <<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">teeemcee<br>
2023-10-27 19:06:05 -0700 (Fri, 27 Oct 2023)<br>
130<br>
scons: fix compiling for Linux x86_64 with clang by cleaning up -no-pie logic<br>
<br>
Hopefully this doesn't break Mac or FreeBSD builds.<br>
---<br>
U wip/SConscript<br>
<br>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>