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 Fix Solaris symbol versioning (PR libstdc++/52188) 2012-02-27 13:51:50 +00:00
aclocal.m4 re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-20 23:41:24 +00:00
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 Add forgotten ChangeLog entries. 2010-03-08 17:49:42 +00:00
config.h.in config.h.in: Regenerate. 2014-12-10 13:42:20 +00:00
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 configure.tgt (x86_64): Tune -m32 multilib to generic. 2014-12-03 14:58:07 +01:00
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 [PATCH 5/7] OpenMP 4.0 offloading infrastructure: libgomp. 2014-11-13 13:49:47 +00:00
libgomp.spec.in Generally link to libgomp for -ftree-parallelize-loops=*. 2013-11-07 16:07:34 +01:00
libgomp.texi gcc.c (process_command): Update copyright notice dates. 2015-01-05 13:05:46 +01:00
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.am (omp_lib.mod): Streamline rule. 2013-10-11 12:43:48 +02:00
Makefile.in [PATCH 4/4] OpenMP 4.0 offloading to Intel MIC: non-fallback testing. 2014-11-13 14:07:09 +00:00
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