Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make shared NO_LAPACK=1 DYNAMIC_ARCH=1 is failing #35

Closed
sylvestre opened this issue Jun 8, 2011 · 3 comments
Closed

make shared NO_LAPACK=1 DYNAMIC_ARCH=1 is failing #35

sylvestre opened this issue Jun 8, 2011 · 3 comments
Assignees
Labels
Milestone

Comments

@sylvestre
Copy link
Contributor

With the command:
make shared NO_LAPACK=1 DYNAMIC_ARCH=1
openblas fails to build with:

gcc -O2 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DSMP_SERVER -DMAX_CPU_NUMBER=8 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME="_" -DCHAR_CNAME="" -I.. -w -o linktest linktest.c ../libopenblasp-r0.1alpha1.so -L/usr/lib/gcc/x86_64-linux-gnu/4.5.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.5.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.5.2/../../.. -L/usr/lib/x86_64-linux-gnu -lgfortran -lm -lgfortran -lm -lc && echo OK.
../libopenblasp-r0.1alpha1.so: undefined reference to dneg_tcopy_OPTERON_SSE3' ../libopenblasp-r0.1alpha1.so: undefined reference todneg_tcopy_ATOM'
../libopenblasp-r0.1alpha1.so: undefined reference to xneg_tcopy_NANO' ../libopenblasp-r0.1alpha1.so: undefined reference toqlaswp_ncopy_OPTERON_SSE3'
../libopenblasp-r0.1alpha1.so: undefined reference to xlaswp_ncopy_ATOM' ../libopenblasp-r0.1alpha1.so: undefined reference toxlaswp_ncopy_OPTERON'
../libopenblasp-r0.1alpha1.so: undefined reference to claswp_ncopy_BARCELONA' ../libopenblasp-r0.1alpha1.so: undefined reference toclaswp_ncopy_PENRYN'
../libopenblasp-r0.1alpha1.so: undefined reference to zneg_tcopy_NEHALEM' ../libopenblasp-r0.1alpha1.so: undefined reference toslaswp_ncopy_OPTERON'
../libopenblasp-r0.1alpha1.so: undefined reference to qneg_tcopy_NEHALEM' ../libopenblasp-r0.1alpha1.so: undefined reference tocneg_tcopy_DUNNINGTON'
../libopenblasp-r0.1alpha1.so: undefined reference to xlaswp_ncopy_BARCELONA' ../libopenblasp-r0.1alpha1.so: undefined reference toqlaswp_ncopy_DUNNINGTON'
../libopenblasp-r0.1alpha1.so: undefined reference to xlaswp_ncopy_NANO' ../libopenblasp-r0.1alpha1.so: undefined reference tosneg_tcopy_PRESCOTT'
../libopenblasp-r0.1alpha1.so: undefined reference to zlaswp_ncopy_NEHALEM' ../libopenblasp-r0.1alpha1.so: undefined reference toclaswp_ncopy_OPTERON_SSE3'
../libopenblasp-r0.1alpha1.so: undefined reference to `slaswp_ncopy_NANO'

in the exports directory

make NO_LAPACK=1 DYNAMIC_ARCH=1
fails also here:

make[1]: Entering directory /home/sylvestre/dev/debian/debian-science/packages/openblas/build-area/plop/xianyi-OpenBLAS-72cb641/test' [...] gfortran -O2 -m128bit-long-double -Wall -m64 -o zblat2 zblat2.o ../libopenblasp-r0.1alpha1.a -lm -lpthread -lm -lpthread ../libopenblasp-r0.1alpha1.a(setparam_PRESCOTT.o):(.data.rel+0x268): undefined reference tosneg_tcopy_PRESCOTT'
../libopenblasp-r0.1alpha1.a(setparam_PRESCOTT.o):(.data.rel+0x270): undefined reference to slaswp_ncopy_PRESCOTT' ../libopenblasp-r0.1alpha1.a(setparam_PRESCOTT.o):(.data.rel+0x4c8): undefined reference todneg_tcopy_PRESCOTT'
../libopenblasp-r0.1alpha1.a(setparam_PRESCOTT.o):(.data.rel+0x4d0): undefined reference to `dlaswp_ncopy_PRESCOTT'
[...]

@ghost ghost assigned xianyi Jun 8, 2011
@xianyi xianyi closed this as completed in 8d50a9f Jun 9, 2011
@xianyi
Copy link
Collaborator

xianyi commented Jun 9, 2011

Hi Sylvestre,

I fixed this bug on develop branch.

Thanks

Xianyi

@sylvestre
Copy link
Contributor Author

Sorry but it fails in kernel/

setparam_KATMAI.c:206:3: error: ‘qneg_tcopy_KATMAI’ undeclared here (not in a function)
setparam_KATMAI.c:206:22: error: ‘qlaswp_ncopy_KATMAI’ undeclared here (not in a function)
setparam_KATMAI.c:485:3: error: ‘xneg_tcopy_KATMAI’ undeclared here (not in a function)
setparam_KATMAI.c:485:22: error: ‘xlaswp_ncopy_KATMAI’ undeclared here (not in a function)

@xianyi xianyi reopened this Jun 9, 2011
@xianyi xianyi closed this as completed in b3d1887 Jun 9, 2011
@sylvestre
Copy link
Contributor Author

Perfect. Thanks.

martin-frbg added a commit that referenced this issue Mar 1, 2020
kseniyazaytseva pushed a commit to kseniyazaytseva/OpenBLAS that referenced this issue Dec 19, 2023
…_MANGOPI configurations

Merge in PL/openblas from k.zaytseva/fix_dsdot to dev-riscv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants