Re: [cfe-users] Seg fault building with clang++ and -femulated-tls against gcc std lib

2020-01-14 Thread Dave Gittins via cfe-users
Update: I believe this is resolved by adding -lgcc_s.1 to the build command. (gcc does this automatically) So in case anyone else runs into this, here is my working build command to build with clang on OSX against the gcc 7.5 std lib: usr/local/Cellar/llvm@7/7.1.0_1/bin/clang++ -isystem /usr/loca

[cfe-users] Seg fault building with clang++ and -femulated-tls against gcc std lib

2020-01-14 Thread Dave Gittins via cfe-users
I am having a problem building on OSX with clang, against the gcc standard library (there are project constraints behind why I am doing this). I am using homebrew packages for both clang and gcc. This pattern worked fine until a recent gcc package upgrade and I would at least like to understand bet