Closed MichaelVoelkel closed 7 years ago
Hi again,
I figured that G++ 7.2 installed via MacPorts has this issue... When I change the generator to XCode9 with MacOS' clang compiler, I get a working build. For me, this issue is fine, then. Might still be useful to know how to get G++ to work here for others.
The issue here seems to be that your compiler generates instructions for the transactional memory extension. GCC then calls the system assembler (from Clang), which rejects those instructions. I had a similar issue with AVX512 a while ago, and it turned out that GCC does not forward the appropriate instruction set parameters to the assembler (i.e. -mrtm
in your case). It's a GCC issue and unrelated to TBB, other than the fact that it uses an instruction set extension.
Hello,
I have just downloaded the latest version of your repository as of this date.
I use MacOS High Sierra.
Trying to build via
mkdir myBuild && cd myBuild && cmake .. && cmake --build .
starting from the base directory of the clone results in the following errors:By the way, I get the message before that libc++ is used, which is also what I wish for. My standard compiler is G++7.2
the XCode-standard compiler clang (the MacOS-customized Apple clang, of course)...Any idea?
Thank you!