Bug 16970 - xerbla undefined on 3.3.1 build
Summary: xerbla undefined on 3.3.1 build
Status: UNCONFIRMED
Alias: None
Product: R
Classification: Unclassified
Component: Installation (show other bugs)
Version: R 3.3.*
Hardware: Other Windows 64-bit
: P5 blocker
Assignee: R-core
URL:
Depends on:
Blocks:
 
Reported: 2016-06-24 10:01 UTC by Marco Atzeri
Modified: 2016-06-24 10:01 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Atzeri 2016-06-24 10:01:25 UTC
Building on cygwin 64 bit

gcc -shared -Wl,--out-implib -Wl,libRblas.so.a -fopenmp  -o libRblas.so blas.o  cmplxblas.o -lgfortran -lquadmath -lm -lcygwin -ladvapi32 -lshell32 -luser32
blas.o: In function `dgbmv_':
/usr/src/debug/R-3.3.1-1/src/extra/blas/blas.f:357: undefined reference to `xerbla_'
/usr/src/debug/R-3.3.1-1/src/extra/blas/blas.f:357:(.text+0x7db): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `xerbla_'

The src/extra/blas/xerbla.c file was always present in version 3.2.x,
but it seems gone on 3.3.x 

Building on 3.2.4-revised gave:

gcc -I. -I../../../src/include -I/cygdrive/e/cyg_pub/devel/R/R-3.2.4-1.x86_64/src/R-revised/src/include  -DHAVE_CONFIG_H   -fopenmp   -ggdb -O2 -pipe -Wimplicit-function-declaration -std=gnu99 -fdebug-prefix-map=/cygdrive/e/cyg_pub/devel/R/R-3.2.4-1.x86_64/build=/usr/src/debug/R-3.2.4-1 -fdebug-prefix-map=/cygdrive/e/cyg_pub/devel/R/R-3.2.4-1.x86_64/src/R-revised=/usr/src/debug/R-3.2.4-1  -c /cygdrive/e/cyg_pub/devel/R/R-3.2.4-1.x86_64/src/R-revised/src/extra/blas/xerbla.c -o xerbla.o
gcc -shared -Wl,--out-implib -Wl,libRblas.dll.a -fopenmp  -o libRblas.dll blas.o  cmplxblas.o -lgfortran -lquadmath -lm -lcygwin -ladvapi32 -lshell32 -luser32  xerbla.o