I suppose openblas fails to recongnise the CPU, resorts to TARGET=ATOM and fails there. You probaby can try setting OPENBLAS_CONFIGURE="$OPENBLAS_CONFIGURE TARGET=???" replacing ??? with the correct value, and rebuild...
On Wed, Dec 4, 2019 at 4:09 PM mmarco <[email protected]> wrote: > > I am trying to setup several virtual machines to run patchbots (for different > distros). I am getting the following error when trying to compile Sage from > source: > > n not be used when making a shared object; recompile with -fPIC > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > ../libopenblas_atom-r0.3.6.a(zsymv_U.o): relocation R_X86_64_32S against > undefined symbol `PREFETCHSIZE' ca > n not be used when making a shared object; recompile with -fPIC > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > ../libopenblas_atom-r0.3.6.a(zsymv_L.o): relocation R_X86_64_32S against > undefined symbol `PREFETCHSIZE' ca > n not be used when making a shared object; recompile with -fPIC > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > ../libopenblas_atom-r0.3.6.a(zhemv_U.o): relocation R_X86_64_32S against > undefined symbol `PREFETCHSIZE' ca > n not be used when making a shared object; recompile with -fPIC > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > ../libopenblas_atom-r0.3.6.a(zhemv_L.o): relocation R_X86_64_32S against > undefined symbol `PREFETCHSIZE' ca > n not be used when making a shared object; recompile with -fPIC > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: > final link failed: nonrepresentable section on output > collect2: error: ld returned 1 exit status > make[5]: *** [Makefile:153: ../libopenblas_atom-r0.3.6.so] Error 1 > make[5]: Leaving directory > '/home/patchbot/sage/local/var/tmp/sage/build/openblas-0.3.6.p0/src/exports' > make[4]: *** [Makefile:101: shared] Error 2 > make[4]: Leaving directory > '/home/patchbot/sage/local/var/tmp/sage/build/openblas-0.3.6.p0/src' > ******************************************************************************** > > > > The error has appeared both in a OpenSuse 15 and Debian 10 installs. > > Someone has an idea about what could be going on? > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/08b6df64-6698-4d7c-92aa-e123f71a57d4%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq0txtg1G4H-%2B53hP1ZJH7%2ByXdzPBqLKdwuJ%2Bzb3%2BWbn9Q%40mail.gmail.com.
