[Llvm-bgq-discuss] llvm-bgq

Christopher Samuel samuel at unimelb.edu.au
Wed Apr 2 22:53:22 CDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/04/14 13:15, Christopher Samuel wrote:

> Interesting, I'll check out what our on-site IBMers did in those xCAT
> postscripts.   Certainly the XL and GCC toolchains don't seem to mind.
> 
> I wonder if there's a symlink that's missing here?

Fixed it - strace showed me that the compiler was looking for those
libraries in /V1R2M0-efix23 which is the symptom of the relative symlink.

A quick grep and sure enough there was a readlink in the bgclang script.

Adding the -f flag to that readlink fixed it, I can now compile with
only some (apparently innocent) warnings.

[samuel at avoca Test]$ mpicc -O3 -o hello-bgclang hello.c
/usr/local/llvm/r203443-20140309/bin/clang: /lib64/libz.so.1: no version information available (required by /usr/local/llvm/r203443-20140309/bin/../lib/libLLVM-3.5.0svn.so)
/usr/local/llvm/r203443-20140309/bin/clang: /lib64/libz.so.1: no version information available (required by /usr/local/llvm/r203443-20140309/bin/../lib/libLLVM-3.5.0svn.so)
/usr/local/llvm/r203443-20140309/binutils/bin/as: /lib64/libz.so.1: no version information available (required by /usr/local/llvm/r203443-20140309/binutils/bin/as)
/usr/local/llvm/r203443-20140309/binutils/bin/ld: /lib64/libz.so.1: no version information available (required by /usr/local/llvm/r203443-20140309/binutils/bin/ld)

[samuel at avoca Test]$ bgclang -O3 -o hello-bgclang hello.c
/usr/local/llvm/r203443-20140309/bin/clang: /lib64/libz.so.1: no version information available (required by /usr/local/llvm/r203443-20140309/bin/../lib/libLLVM-3.5.0svn.so)
/usr/local/llvm/r203443-20140309/bin/clang: /lib64/libz.so.1: no version information available (required by /usr/local/llvm/r203443-20140309/bin/../lib/libLLVM-3.5.0svn.so)
/usr/local/llvm/r203443-20140309/binutils/bin/as: /lib64/libz.so.1: no version information available (required by /usr/local/llvm/r203443-20140309/binutils/bin/as)
/usr/local/llvm/r203443-20140309/binutils/bin/ld: /lib64/libz.so.1: no version information available (required by /usr/local/llvm/r203443-20140309/binutils/bin/ld)

Now for testing!

All the best,
Chris
- -- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlM82zIACgkQO2KABBYQAh+8zwCeJjaXOo7M49mWy0PeVMBTl6PD
WZUAnibwbdFbQrUhZgqmTr+xn3N7lX86
=93Zb
-----END PGP SIGNATURE-----


More information about the llvm-bgq-discuss mailing list