Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'cmake -DCMAKE_BUILD_TYPE=Debug' causes dyld error on macOS Mojave #183

Open
msakai opened this issue Dec 4, 2018 · 0 comments
Open

'cmake -DCMAKE_BUILD_TYPE=Debug' causes dyld error on macOS Mojave #183

msakai opened this issue Dec 4, 2018 · 0 comments

Comments

@msakai
Copy link
Member

msakai commented Dec 4, 2018

$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_TEST=ON -DENABLE_EXAMPLE=OFF && make 
..
[100%] Linking CXX executable vgg16_benchmark
[100%] Built target vgg16_benchmark
dyld: __dyld section not supported in /Users/sakai/Menoh/build/test/menoh_test
Abort trap: 6

I think this is a bug of -pg flag on macOS LLVM environment.

c.f. https://stackoverflow.com/questions/52519907/dyld-section-not-supported-after-mojave-upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant