Undefined symbols trying to build with nix (mainly OS X) #5367
-
Example:
Linux also produces a slew of undefined reference errors, but these seem to be much more generic. I am including llvmPackages.llvm as either a buildInput or propagatedBuildInput (makes no difference). Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
First guess is that you have an LLVM that was built without AArch64 support. Did you build it from source? If so, specify something like |
Beta Was this translation helpful? Give feedback.
-
Nonconclusively, it looks like it’s probably building with all architectures since that’s the LLVM default. Another thing I’ve noticed is that the official release at least for 8.0.0, comes with a shared and static library. The cmake API seems to make use of both depending on which function is called?. However if I build the library, it only builds one toggleable with a variable. What should I be doing to build a package for a package system? Like which make target should I be using, or what script should I be following? |
Beta Was this translation helpful? Give feedback.
-
The 8.0 release is pretty old at this point -- TBH you'd be better off upgrading to our release 10. |
Beta Was this translation helpful? Give feedback.
The 8.0 release is pretty old at this point -- TBH you'd be better off upgrading to our release 10.