Yep, this commit seems to have broken the 32 bit Mac build, but the 64 bit Mac build is fine.
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 clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 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 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 clang: error: linker command failed with exit code 1 (use -v to see invocation) clang: error: linker command failed with exit code 1 (use -v to see invocation) scons: *** [relump] Error 1 scons: *** [unlump] Error 1 scons: building terminated because of errors. On Fri, Oct 27, 2023 at 10:06 PM subversion--- via Ohrrpgce < ohrrpgce@lists.motherhamster.org> wrote: > teeemcee > 2023-10-27 19:06:05 -0700 (Fri, 27 Oct 2023) > 130 > scons: fix compiling for Linux x86_64 with clang by cleaning up -no-pie > logic > > Hopefully this doesn't break Mac or FreeBSD builds. > --- > U wip/SConscript > > _______________________________________________ > Ohrrpgce mailing list > ohrrpgce@lists.motherhamster.org > http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org >
_______________________________________________ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org