clangupc / clang-upc

Clang UPC Front-End
https://clangupc.github.io/
Other
17 stars 5 forks source link

3.8 merge: "ld: cannot find -lupc" on Solaris #92

Closed PHHargrove closed 8 years ago

PHHargrove commented 8 years ago

This issue is essentially the same as #91, except on a different target (Solaris):

ld: fatal: file upc-crtbegin.o: open failed: No such file or directory
ld: fatal: library -lupc: not found
ld: fatal: file upc-crtend.o: open failed: No such file or directory
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)

Again, the problem is that the UPC libs are installed in ${prefix}/lib/32, but the link step passes -L${prefix}/bin/../lib (no /32).

PHHargrove commented 8 years ago

Fix confirmed. Thanks, -Paul