Closed pschachte closed 9 months ago
Unfortunately, with these changes, building executables fails utterly under Linux (though it still passes all final-dump tests), so merging this PR is going to have to wait until I can fix that.
It could be the -no-pie
change. Maybe we need that on non-macos builds?
It could be the
-no-pie
change. Maybe we need that on non-macos builds?
Ooo, didn't think of that! I'll try backing that out and see if that fixes it.
Nope, unfortunately, it wasn't the lack of --no-pie switch.
Trudging through the build errors, it seems it's the linker not being able to find the Boehm GC lib functions. Bummer
Thanks for that; I couldn't find the linker error messages in the log.
Really weird, though, that it links fine under MacOS, but not Linux.
Actually, it seems that it can't see any of the C lib's functions, not specifically Boehm GC
Somehow the change moved the list of libraries in front of the object files. I'm trying to figure out how. It seems the Linux cc
is sensitive to the command line order and the MacOS one isn't.
Fix #415