gcc/libgomp
Thomas Schwinge b335ef4e99 libgomp: Fix 32-bit x86 Intel MIC offloading testing.
[...]
    spawn [...]/build-gcc/gcc/xgcc -B[...]/build-gcc/gcc/ [...]/source-gcc/libgomp/testsuite/libgomp.c/examples-4/e.50.1.c -B[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp/ -B[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp/.libs -I[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp -I[...]/source-gcc/libgomp/testsuite/.. -march=i486 -fmessage-length=0 -fno-diagnostics-show-caret -fdiagnostics-color=never -B[...]/install/offload-x86_64-intelmicemul-linux-gnu/libexec/gcc/x86_64-unknown-linux-gnu/5.0.0 -B[...]/install/offload-x86_64-intelmicemul-linux-gnu/bin -fopenmp -O2 -L[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp/.libs -lm -m32 -o ./e.50.1.exe
    PASS: libgomp.c/examples-4/e.50.1.c (test for excess errors)
    Setting LD_LIBRARY_PATH to .:[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp/../liboffloadmic/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp/../liboffloadmic/plugin/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp/../libstdc++-v3/src/.libs:[...]/install/offload-x86_64-intelmicemul-linux-gnu/lib64:[...]/install/offload-x86_64-intelmicemul-linux-gnu/lib:[...]/build-gcc/gcc:[...]/build-gcc/gcc/32:.:[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp/../liboffloadmic/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp/../liboffloadmic/plugin/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/32/libgomp/../libstdc++-v3/src/.libs:[...]/install/offload-x86_64-intelmicemul-linux-gnu/lib64:[...]/install/offload-x86_64-intelmicemul-linux-gnu/lib:[...]/build-gcc/gcc:[...]/build-gcc/gcc/32:[...]/build-gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/libsanitizer/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/libvtv/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/libcilkrts/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/liboffloadmic/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/libssp/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/libgomp/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/libitm/.libs:[...]/build-gcc/x86_64-unknown-linux-gnu/libatomic/.libs:[...]/build-gcc/./gcc:[...]/build-gcc/./prev-gcc
    spawn [open ...]
    /tmp/offload_WCXKRZ/offload_target_main: error while loading shared libraries: liboffloadmic_target.so.5: wrong ELF class: ELFCLASS64
    WARNING: program timed out.
    FAIL: libgomp.c/examples-4/e.50.1.c execution test
    [...]

    $ find -name liboffloadmic_target.so.5
    ./install/offload-x86_64-intelmicemul-linux-gnu/lib64/liboffloadmic_target.so.5
    ./install/offload-x86_64-intelmicemul-linux-gnu/lib32/liboffloadmic_target.so.5
    ./build-gcc-offload-x86_64-intelmicemul-linux-gnu/x86_64-intelmicemul-linux-gnu/32/liboffloadmic/.libs/liboffloadmic_target.so.5
    ./build-gcc-offload-x86_64-intelmicemul-linux-gnu/x86_64-intelmicemul-linux-gnu/liboffloadmic/.libs/liboffloadmic_target.so.5

This is a "standard" GCC configuration: x86_64-intelmicemul-linux-gnu with
(default) multilibs enabled.

	libgomp/
	* configure.ac [tgt_dir] (offload_additional_lib_paths): Also add
	"$tgt_dir/lib32".
	* configure: Regenerate.

From-SVN: r219349
2015-01-08 17:01:37 +01:00
..
config Update copyright years. 2015-01-05 13:33:28 +01:00
testsuite libgomp: Fix "intelmic" offloading in build-tree testing. 2015-01-08 17:01:24 +01:00
acinclude.m4
aclocal.m4
alloc.c Update copyright years. 2015-01-05 13:33:28 +01:00
barrier.c Update copyright years. 2015-01-05 13:33:28 +01:00
ChangeLog libgomp: Fix 32-bit x86 Intel MIC offloading testing. 2015-01-08 17:01:37 +01:00
ChangeLog.graphite
config.h.in
configure libgomp: Fix 32-bit x86 Intel MIC offloading testing. 2015-01-08 17:01:37 +01:00
configure.ac libgomp: Fix 32-bit x86 Intel MIC offloading testing. 2015-01-08 17:01:37 +01:00
configure.tgt
critical.c Update copyright years. 2015-01-05 13:33:28 +01:00
env.c Update copyright years. 2015-01-05 13:33:28 +01:00
error.c Update copyright years. 2015-01-05 13:33:28 +01:00
fortran.c Update copyright years. 2015-01-05 13:33:28 +01:00
hashtab.h Update copyright years. 2015-01-05 13:33:28 +01:00
iter_ull.c Update copyright years. 2015-01-05 13:33:28 +01:00
iter.c Update copyright years. 2015-01-05 13:33:28 +01:00
libgomp_f.h.in Update copyright years. 2015-01-05 13:33:28 +01:00
libgomp_g.h Update copyright years. 2015-01-05 13:33:28 +01:00
libgomp_target.h Update copyright years. 2015-01-05 13:33:28 +01:00
libgomp.h Update copyright years. 2015-01-05 13:33:28 +01:00
libgomp.map
libgomp.spec.in
libgomp.texi
loop_ull.c Update copyright years. 2015-01-05 13:33:28 +01:00
loop.c Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.am
Makefile.in
omp_lib.f90.in Update copyright years. 2015-01-05 13:33:28 +01:00
omp_lib.h.in Update copyright years. 2015-01-05 13:33:28 +01:00
omp.h.in Update copyright years. 2015-01-05 13:33:28 +01:00
ordered.c Update copyright years. 2015-01-05 13:33:28 +01:00
parallel.c Update copyright years. 2015-01-05 13:33:28 +01:00
sections.c Update copyright years. 2015-01-05 13:33:28 +01:00
single.c Update copyright years. 2015-01-05 13:33:28 +01:00
splay-tree.h Update copyright years. 2015-01-05 13:33:28 +01:00
target.c Update copyright years. 2015-01-05 13:33:28 +01:00
task.c Update copyright years. 2015-01-05 13:33:28 +01:00
team.c Update copyright years. 2015-01-05 13:33:28 +01:00
work.c Update copyright years. 2015-01-05 13:33:28 +01:00