https://bugs.linaro.org/show_bug.cgi?id=2510
--- Comment #2 from Carl Wallen <[email protected]> --- Agree, the first part of the bugreport is a duplicate of 2507. The second part of this bug report is not a duplicate, I still see the same error when trying to link an external application against the odp-lib (if compiled with --enable-shared=no). --- Using the new configure option "--enable-shared=no" breaks the build of an external application being linked against the installed libodp: <odp-root>$ ./bootstrap <odp-root>$ ./configure --enable-shared=no <odp-root>$ make <odp-root>$ make install <app-root>$ ./bootstrap <app-root>$ ./configure --with-odp-path=<odp_install path> <app-root>$ make ... /usr/bin/ld: <odp_install>/lib/libodp-linux.a(odp_cpumask.o): relocation R_X86_64_32 against `odp_global_data' can not be used when making a shared object; recompile with -fPIC <odp_install>/lib/libodp-linux.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status -- You are receiving this mail because: You are on the CC list for the bug.
