[Llvm-bgq-discuss] Clang 3.6 on BG/Q
Jean-Michel Dupays
jean-michel.dupays at idris.fr
Fri Oct 10 05:44:35 CDT 2014
Le vendredi 10 octobre 2014 01:53:24, vous avez écrit :
> Hi Jean-Michel,
>
> I apologize for the delay. Look for the link to
> V1R2M2_base_4.7.2-files.tar.gz on the trac page
> (http://trac.alcf.anl.gov/projects/llvm-bgq/), and follow the surrounding
> instructions. Please let me know if you have any trouble.
>
> -Hal
Dear Hal,
Many thanks for the tar files.
I made two tests :
+ I downloaded V1R2M2_base_4.7.2-files.tar.gz (as you mentioned even if our
driver is V1R2M1) in the directory /bglocal/cn/pub/gcc/.
I type this :
$ export LD_LIBRARY_PATH=/bglocal/cn/pub/gcc/V1R2M2_base_4.7.2/gnu-
linux-4.7.2/powerpc64-bgq-linux/lib:$LD_LIBRARY_PATH
$ /bgsys/drivers/ppcfloor/gnu-linux/powerpc64-bgq-linux/bin/ldd
/bglocal/fe/pub/Clang/r217688-20140912/r217688-20140912/libc++/lib/libc++.so
Erreur de segmentation (core dumped)
It is perhaps normal because I try to use ldd command of the driver V1R2M1
with libraries for V1R2M2.
+ So I downloaded http://www.mcs.anl.gov/~hfinkel/bgclang/V1R2M1_base_4.7.2-
files.tar.gz in the directory /bglocal/cn/pub/gcc/. I tried this :
$ export LD_LIBRARY_PATH=/bglocal/cn/pub/gcc/V1R2M1_base_4.7.2/gnu-
linux-4.7.2/powerpc64-bgq-linux/lib:$LD_LIBRARY_PATH
$ /bgsys/drivers/ppcfloor/gnu-linux/powerpc64-bgq-linux/bin/ldd
/bglocal/fe/pub/Clang/r217688-20140912/r217688-20140912/libc++/lib/libc++.so
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8)
/bglocal/fe/pub/Clang/r217688-20140912/r217688-20140912/libc++/lib/libc++.so:
/bglocal/cn/pub/gcc/V1R2M1_base_4.7.2/gnu-linux-4.7.2/powerpc64-bgq-
linux/lib/libc.so.6: version `GLIBC_2.17' not found (required by
/bglocal/fe/pub/Clang/r217688-20140912/r217688-20140912/libc++/lib/libc++.so)
linux-vdso64.so.1 => (0x00000fffb5080000)
libstdc++.so.6 => /bglocal/cn/pub/gcc/V1R2M1_base_4.7.2/gnu-
linux-4.7.2/powerpc64-bgq-linux/lib/libstdc++.so.6 (0x00000fffb4c30000)
libpthread.so.0 => /bglocal/cn/pub/gcc/V1R2M1_base_4.7.2/gnu-
linux-4.7.2/powerpc64-bgq-linux/lib/libpthread.so.0 (0x00000fffb4b10000)
libc.so.6 => /bglocal/cn/pub/gcc/V1R2M1_base_4.7.2/gnu-
linux-4.7.2/powerpc64-bgq-linux/lib/libc.so.6 (0x00000fffb48e0000)
libm.so.6 => /bglocal/cn/pub/gcc/V1R2M1_base_4.7.2/gnu-
linux-4.7.2/powerpc64-bgq-linux/lib/libm.so.6 (0x00000fffb47c0000)
librt.so.1 => /bglocal/cn/pub/gcc/V1R2M1_base_4.7.2/gnu-
linux-4.7.2/powerpc64-bgq-linux/lib/librt.so.1 (0x00000fffb4690000)
/bgsys/drivers/ppcfloor/gnu-linux/powerpc64-bgq-linux/lib/ld64.so.1
(0x00000000335b0000)
libgcc_s.so.1 => /bglocal/cn/pub/gcc/V1R2M1_base_4.7.2/gnu-
linux-4.7.2/powerpc64-bgq-linux/lib/libgcc_s.so.1 (0x00000fffb4580000)
So the result is the same with a personal compiled version of gcc 4.7.2.
I think the problem comes from the tar files of r217688-20140912 which need
glibc 2.17 and not from the toolchain of V1R2M1 driver with gcc 4.7.2. What do
you think ?
I don't know if my explanations are clear. Let me know if not.
Thank you in advance.
Best regards.
--
Jean-Michel Dupays / Support utilisateurs IDRIS
Mél : jean-michel.dupays at idris.fr / assist at idris.fr
Tél : +33(0)1 69 35 85 57 / +33(0)1 69 35 85 55
Fax : +33(0)1 69 85 37 75
Toile : http://www.idris.fr
Adresse :
IDRIS/CNRS, Campus Universitaire d'Orsay, Rue John Von Neumann,
Bâtiment 506, BP 167, 91403 ORSAY Cedex (France)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alcf.anl.gov/pipermail/llvm-bgq-discuss/attachments/20141010/171de10d/attachment.html>
More information about the llvm-bgq-discuss
mailing list