pfnet-research / menoh

Menoh: fast DNN inference library with multiple programming language support
MIT License
279 stars 34 forks source link

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

Open msakai opened 5 years ago

msakai commented 5 years ago
$ 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