Created attachment 168542 [details] v0 + commit message I'm trying to build lang/rust against devel/llvm37 which fails due to missing static libs unlike other devel/llvm* ports. The issue is caused by -DBUILD_SHARED_LIBS=ON in devel/llvm37 which haven't propagated to devel/llvm38 and disappeared in devel/llvm-devel since ports r409072. note: "cc" ... "-L" "/usr/local/llvm37/lib" ... "-Wl,-Bstatic" ... "-l" "LLVMInterpreter" ... note: /usr/bin/ld: cannot find -lLLVMInterpreter cc: error: linker command failed with exit code 1 (use -v to see invocation) Let's go back to static builds. Tested only once as $ poudriere bulk -Ctj 101i386 devel/llvm37 \ devel/creduce devel/include-what-you-use security/afl
When I do build llvm static I get a lot of complaints about the 1GB package size so I'm not show how best to balance this. I'm building llvm38 and llvm-devel static primarily because upstream broke shared builds.
(In reply to Brooks Davis from comment #1) Maybe we could get an OPTION for the static builds? The default with lang/rust for now is to use its own bundled LLVM during build. The main reason for this is that it passes a better portion of regression tests than with ports LLVM. I suspect this will change eventually, and then it would be good to be able to switch to using ports LLVM by default.
llvm37 is gone.