Thomas Pöchtrager
Thomas Pöchtrager
Yes, 3.9.1 is the default version for now. Are you sure you have used the exact same object file for both archives?
Okay, sorry I do not use Docker. What distribution (and version) are you on?
Not the distribution but the compiler might be the problem (or undefined behavior in cctools). Did you compile OSXCross with clang?
> Does the OSX SDK version have anything to do with x64_86-apple-darwin14-ar, or is this built independently? No. I will try to investigate.
I installed Ubuntu Xenial in a VM but I still cannot reproduce this. $ uname -a Linux thomas-VirtualBox 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64...
Might be undefined behavior in `ar`. Wouldn't be first time. https://github.com/tpoechtrager/cctools-port/commit/5e5b511a3eebd3fa9ece49bead85a1be29a25dfb https://github.com/tpoechtrager/cctools-port/commit/5098fc9f6dfba7eac18f5ae55b7e361314e0fb7b Try to run `ar` within `valgrind` and/or build cctools with `-fsanitize=address`. `CXX="clang++ -fsanitize=address" CC="clang -fsanitize=address" ./build.sh`
Does `llvm-ar` work for you?
Which version of Ubuntu are you on?
I have no such issue on a freshly installed Ubuntu 20.04 VM. Your Clang installation is broken. Also it would be quite helpful if you wouldn't just post "20.04" and...
Hi, thanks for the hint. I think it should be replaced by `execvp` or something similar to get rid of the issue. Adding quotes doesn't fix the issue entirely. The...