pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

math/R recently broken on Alma Linux

make[3]: Entering directory
cc -Wl,--export-dynamic -fopenmp
-Wl,-Wl,-R/home/bacon/Pkgsrc/pkg/lib/R/lib -L"../../lib" -Wl,-zrelro
-L/home/bacon/Pkgsrc/pkg/lib -Wl,-R/home/bacon/Pkgsrc/pkg/lib
-L/usr/lib64 -Wl,-R/usr/lib64 -pthread -o R.bin Rmain.o  -lR
/usr/bin/ld: unrecognized option '-Wl'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:148: R.bin] Error 1
make[3]: Leaving directory

Was working probably up to a few weeks ago.

Looks like someone patched a redundant hard-coded -Wl into

I think this should fix it:

-+  LIBR0="-Wl,@COMPILER_RPATH_FLAG@${prefix}/lib/R/lib\$(R_ARCH)
++  LIBR0="@COMPILER_RPATH_FLAG@${prefix}/lib/R/lib\$(R_ARCH)

Home | Main Index | Thread Index | Old Index