Opened 11 years ago

Last modified 11 years ago

#40019 reopened defect

pspp 0.8.0 can't find cblas_dsdot () in optimized libgslblas

Reported by: watsodw Owned by: daitakahashi
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: nerdling (Jeremy Lavergne)
Port: pspp gsl

Description

But is is installed :

gsl @1.15_2+gcc47+optimize+universal

Attachments (1)

main.log (168.8 KB) - added by watsodw 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by watsodw

Attachment: main.log added

comment:1 Changed 11 years ago by nerdling (Jeremy Lavergne)

Owner: changed from macports-tickets@… to snc@…
Status: newassigned

The log seems to indicate that the gsl with those variants is missing cblas_dsdot from its libraries. While I'll work to verify the test actually checks for that, can you see if it's actually in the libraries of gsl?

comment:2 Changed 11 years ago by nerdling (Jeremy Lavergne)

Owner: changed from snc@… to jochen@…
Port: gsl added
Status: assignednew
Summary: pspp 0.8.0 install fails - can't find libgslblaspspp 0.8.0 can't find cblas_dsdot () in optimized libgslblas
Version: 2.2.0

Assigning to gsl maintainer for more gsl knowledge.

The configure test is an extern virtual and an attempt to call it. If it fails with -lgslcblas flag then it is not considered a viable library even though gsl is installed. Perhaps the optimized gsl is missing this function. Any suggestions, jochen?

comment:3 Changed 11 years ago by jochen@…

Owner: changed from jochen@… to dtakahashi42@…

New GSL maintainer is Daisuke Takahashi; Daisuke can you please take care of further issues in this ticket?

comment:4 Changed 11 years ago by jochen@…

Resolution: invalid
Status: newclosed

You need to link against libgslcblas! libgslblas should not even exist, I believe.

>otool -L /opt/local/lib/libgslcblas.a | grep dsdot
/opt/local/lib/libgslcblas.a(sdsdot.o):
/opt/local/lib/libgslcblas.a(dsdot.o):

comment:5 Changed 11 years ago by daitakahashi

Resolution: invalid
Status: closedreopened

I think we should keep this issue open, because the log indicates something wrong in libgslcblas, although I could not reproduce the problem. The libgslcblas.a has *_dsdot, and configure of pspp works fine here.

$ nm /opt/local/lib/libgslcblas.a|grep dsdot
/opt/local/lib/libgslcblas.a(sdsdot.o):
0000000000000000 T _cblas_sdsdot
/opt/local/lib/libgslcblas.a(dsdot.o):
0000000000000000 T _cblas_dsdot

I would like to ask you how to install with +optimize variant? On recent machines, it is not possible due to the AVX problem (see #38271).

Note: See TracTickets for help on using tickets.