Opened 20 months ago

#65796 new defect

R +accelerate build fails

Reported by: ShadSterling (Shad Sterling) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: kjellpk (Kjell Konis), i0ntempest
Port: R

Description

Looks like blas00.c is using a lot of implicit declarations:

:info:build blas00.c:6:5: error: implicit declaration of function 'dasum_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dasum)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:69:1: note: expanded from here
:info:build dasum_
:info:build ^
:info:build blas00.c:7:5: error: implicit declaration of function 'daxpy_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(daxpy)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:70:1: note: expanded from here
:info:build daxpy_
:info:build ^
:info:build blas00.c:8:5: error: implicit declaration of function 'dcopy_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dcopy)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:71:1: note: expanded from here
:info:build dcopy_
:info:build ^
:info:build blas00.c:9:5: error: implicit declaration of function 'ddot_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(ddot)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:72:1: note: expanded from here
:info:build ddot_
:info:build ^
:info:build blas00.c:10:5: error: implicit declaration of function 'dgbmv_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dgbmv)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:73:1: note: expanded from here
:info:build dgbmv_
:info:build ^
:info:build blas00.c:11:5: error: implicit declaration of function 'dgemm_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dgemm)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:74:1: note: expanded from here
:info:build dgemm_
:info:build ^
:info:build blas00.c:11:5: note: did you mean 'dgbmv_'?
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:74:1: note: expanded from here
:info:build dgemm_
:info:build ^
:info:build blas00.c:10:5: note: 'dgbmv_' declared here
:info:build     F77_CALL(dgbmv)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:73:1: note: expanded from here
:info:build dgbmv_
:info:build ^
:info:build blas00.c:12:5: error: implicit declaration of function 'dgemv_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dgemv)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:75:1: note: expanded from here
:info:build dgemv_
:info:build ^
:info:build blas00.c:13:5: error: implicit declaration of function 'dger_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dger)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:76:1: note: expanded from here
:info:build dger_
:info:build ^
:info:build blas00.c:14:5: error: implicit declaration of function 'dnrm2_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dnrm2)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:77:1: note: expanded from here
:info:build dnrm2_
:info:build ^
:info:build blas00.c:15:5: error: implicit declaration of function 'drot_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(drot)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:78:1: note: expanded from here
:info:build drot_
:info:build ^
:info:build blas00.c:15:5: note: did you mean 'ddot_'?
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:78:1: note: expanded from here
:info:build drot_
:info:build ^
:info:build blas00.c:9:5: note: 'ddot_' declared here
:info:build     F77_CALL(ddot)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:72:1: note: expanded from here
:info:build ddot_
:info:build ^
:info:build blas00.c:16:5: error: implicit declaration of function 'drotg_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(drotg)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:79:1: note: expanded from here
:info:build drotg_
:info:build ^
:info:build blas00.c:16:5: note: did you mean 'drot_'?
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:79:1make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.1/src/extra/tzone'
:info:build : note: expanded from here
:info:build drotg_
:info:build ^
:info:build blas00.c:15:5: note: 'drot_' declared here
:info:build     F77_CALL(drot)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:78:1: note: expanded from here
:info:build drot_
:info:build ^
:info:build blas00.c:17:5: error: implicit declaration of function 'drotm_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(drotm)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:80:1: note: expanded from here
:info:build drotm_
:info:build ^
:info:build blas00.c:18:5: error: implicit declaration of function 'drotmg_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(drotmg)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:81:1: note: expanded from here
:info:build drotmg_
:info:build ^
:info:build blas00.c:19:5: error: implicit declaration of function 'dsbmv_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dsbmv)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:82:1: note: expanded from here
:info:build dsbmv_
:info:build ^
:info:build blas00.c:19:5: note: did you mean 'dgbmv_'?
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:82:1: note: expanded from here
:info:build dsbmv_
:info:build ^
:info:build blas00.c:10:5: note: 'dgbmv_' declared here
:info:build     F77_CALL(dgbmv)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:73:1: note: expanded from here
:info:build dgbmv_
:info:build ^
:info:build blas00.c:20:5: error: implicit declaration of function 'dscal_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dscal)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:83:1: note: expanded from here
:info:build dscal_
:info:build ^
:info:build blas00.c:20:5: note: did you mean 'scalb'?
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:83:1: note: expanded from here
:info:build dscal_
:info:build ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/math.h:684:15: note: 'scalb' declared here
:info:build extern double scalb(double, double); 
:info:build               ^
:info:build blas00.c:21:5: error: implicit declaration of function 'dsdot_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dsdot)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:84:1: note: expanded from here
:info:build dsdot_
:info:build ^
:info:build blas00.c:21:5: note: did you mean 'ddot_'?
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:84:1: note: expanded from here
:info:build dsdot_
:info:build ^
:info:build blas00.c:9:5: note: 'ddot_' declared here
:info:build     F77_CALL(ddot)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:72:1: note: expanded from here
:info:build ddot_
:info:build ^
:info:build blas00.c:22:5: error: implicit declaration of function 'dspmv_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dspmv)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:85:1: note: expanded from here
:info:build dspmv_
:info:build ^
:info:build blas00.c:22:5: note: did you mean 'dsbmv_'?
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:85:1: note: expanded from here
:info:build dspmv_
:info:build ^
:info:build blas00.c:19:5: note: 'dsbmv_' declared here
:info:build     F77_CALL(dsbmv)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:82:1: note: expanded from here
:info:build dsbmv_
:info:build ^
:info:build blas00.c:23:5: error: implicit declaration of function 'dspr_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dspr)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:86:1: note: expanded from here
:info:build dspr_
:info:build ^
:info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.1/src/extra/tzone'
:info:build /usr/bin/clang -I. -I../../../src/include -I../../../src/include -I. -I../../../src/main -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DHAVE_CONFIG_H  -I/System/Library/Frameworks/CoreFoundation.framework/Headers  -fPIC  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64   -c localtime.c -o localtime.o
:info:build blas00.c:24:5: error: implicit declaration of function 'dspr2_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     F77_CALL(dspr2)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:87:1: note: expanded from here
:info:build dspr2_
:info:build ^
:info:build /usr/bin/clang -I. -I../../../src/include -I../../../src/include -I. -I../../../src/main -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DHAVE_CONFIG_H  -I/System/Library/Frameworks/CoreFoundation.framework/Headers  -fPIC  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64   -c strftime.c -o strftime.o
:info:build blas00.c:24:5: note: did you mean 'dspr_'?
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:87:1: note: expanded from here
:info:build dspr2_
:info:build ^
:info:build blas00.c:23:5: note: 'dspr_' declared here
:info:build     F77_CALL(dspr)();
:info:build     ^
:info:build ../../../src/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
:info:build # define F77_CALL(x)    x ## _
:info:build                         ^
:info:build <scratch space>:86:1: note: expanded from here
:info:build dspr_
:info:build ^
:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]

}}}

Attachments (1)

main.log (274.4 KB) - added by ShadSterling (Shad Sterling) 20 months ago.

Download all attachments as: .zip

Change History (1)

Changed 20 months ago by ShadSterling (Shad Sterling)

Attachment: main.log added
Note: See TracTickets for help on using tickets.