Browse Source

test_potrs.c: remove pragma darwin-aarch64 support

Using GCC 14.2.0 on Darwin, the pragma ultimately causes a linker error
"ld: invalid r_symbolnum=". The current workaround is to use the old
linker, but (a) it's deprecated and (b) it can produce libraries that
are subsequently not linkable with the newer linker in dependents: the
new ld64 does not link to libraries with duplicate rpaths created by the
classic linker.
tags/v0.3.30
Harmen Stoppels 5 months ago
parent
commit
51ba70f47b
2 changed files with 0 additions and 5 deletions
  1. +0
    -4
      Makefile.system
  2. +0
    -1
      utest/test_potrs.c

+ 0
- 4
Makefile.system View File

@@ -436,10 +436,6 @@ CCOMMON_OPT += -Wl,-ld_classic
FCOMMON_OPT += -Wl,-ld_classic FCOMMON_OPT += -Wl,-ld_classic
endif endif
ifeq (x$(XCVER), x 16) ifeq (x$(XCVER), x 16)
ifeq ($(C_COMPILER), GCC)
CCOMMON_OPT += -Wl,-ld_classic
FCOMMON_OPT += -Wl,-ld_classic
endif
ifeq ($(F_COMPILER), GFORTRAN) ifeq ($(F_COMPILER), GFORTRAN)
override CEXTRALIB := $(filter-out(-lto_library, $(CEXTRALIB))) override CEXTRALIB := $(filter-out(-lto_library, $(CEXTRALIB)))
endif endif


+ 0
- 1
utest/test_potrs.c View File

@@ -32,7 +32,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**********************************************************************************/ **********************************************************************************/


#include "openblas_utest.h" #include "openblas_utest.h"
#pragma GCC optimize("no-gcse")
/* /*
void BLASFUNC(cpotrf)(char*, BLASINT*, complex float*, BLASINT*, BLASINT*); void BLASFUNC(cpotrf)(char*, BLASINT*, complex float*, BLASINT*, BLASINT*);
void BLASFUNC(zpotrs_(char*, BLASINT*, BLASINT*, complex double*, void BLASFUNC(zpotrs_(char*, BLASINT*, BLASINT*, complex double*,


Loading…
Cancel
Save