Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2013 23:01:24 GMT
From:      Philipp Ost <pj@smo.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185375: math/lapack fails to build with PROFILE=on
Message-ID:  <201312312301.rBVN1OeT069193@oldred.freebsd.org>
Resent-Message-ID: <201312312310.rBVNA021097015@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185375
>Category:       ports
>Synopsis:       math/lapack fails to build with PROFILE=on
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 31 23:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Philipp Ost
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
FreeBSD 9.2-STABLE r258760 amd64
FreeBSD 11.0-CURRENT r259941 amd64
>Description:
math/lapack fails to build with PROFILE=on.

It fails with the following error:
[...]
gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -pg -c slatm3.f -o slatm3.o
gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -pg -c slatm5.f -o slatm5.o
gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -pg -c slatm6.f -o slatm6.o
gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -pg -c slatm7.f -o slatm7.o
gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -pg -c slahilb.f -o slahilb.o
/usr/local/bin/ld: //usr/lib/libc_p.a(sbrk.po): undefined reference to symbol '_
end'
//lib/libc.so.7: error adding symbols: DSO missing from command line
collect2: ld returned 1 exit status
*** [testslamch] Error code 1
/usr/local/bin/ld: //usr/lib/libc_p.a(sbrk.po): undefined reference to symbol '_
end'
//lib/libc.so.7: error adding symbols: DSO missing from command line
collect2: ld returned 1 exit status
/usr/local/bin/ld: //usr/lib/libc_p.a(sbrk.po): undefined reference to symbol '_
end'
//lib/libc.so.7: error adding symbols: DSO missing from command line
collect2: ld returned 1 exit status
*** [testdsecnd] Error code 1
gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -pg -c clatms.f -o clatms.o
*** [testlsame] Error code 1
/usr/local/bin/ld: //usr/lib/libc_p.a(sbrk.po): undefined reference to symbol '_
end'
/usr/local/bin/ld: //usr/lib/libc_p.a(sbrk.po): undefined reference to symbol '_
end'
//lib/libc.so.7: error adding symbols: DSO missing from command line
//lib/libc.so.7: error adding symbols: DSO missing from command line
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -pg -c clatme.f -o clatme.o
gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -pg -c clatmr.f -o clatmr.o
*** [testdlamch] Error code 1
*** [testsecond] Error code 1
5 errors
*** [lapack_install] Error code 2
gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -pg -c clatmt.f -o clatmt.o
gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -pg -c clagge.f -o clagge.o
[...]
gfortran46 -O0 -pg -c dlaran.f
gfortran46 -O -Wl,-rpath=/usr/local/lib/gcc46 -pg -c dlarnd.f -o dlarnd.o
/usr/local/bin/ar cr ../../libtmglib.a slatms.o slatme.o slatmr.o slatmt.o  slag
ge.o slagsy.o slakf2.o slarge.o slaror.o slarot.o slatm2.o  slatm3.o slatm5.o sl
atm6.o slatm7.o slahilb.o clatms.o clatme.o clatmr.o clatmt.o  clagge.o claghe.o
 clagsy.o clakf2.o clarge.o claror.o clarot.o  clatm1.o clarnd.o clatm2.o clatm3
.o clatm5.o clatm6.o clahilb.o slatm1.o slaran.o slarnd.o dlatms.o dlatme.o dlat
mr.o dlatmt.o  dlagge.o dlagsy.o dlakf2.o dlarge.o dlaror.o dlarot.o dlatm2.o  d
latm3.o dlatm5.o dlatm6.o dlatm7.o dlahilb.o zlatms.o zlatme.o zlatmr.o zlatmt.o
  zlagge.o zlaghe.o zlagsy.o zlakf2.o zlarge.o zlaror.o zlarot.o  zlatm1.o zlarn
d.o zlatm2.o zlatm3.o zlatm5.o zlatm6.o zlahilb.o        dlatm1.o dlaran.o dlarn
d.o
/usr/local/bin/ranlib ../../libtmglib.a
1 error
*** [build-profile] Error code 2

Stop in /usr/ports/math/lapack.
*** [build] Error code 1

Stop in /usr/ports/math/lapack.
>How-To-Repeat:
Set PROFILE=on; then: make
>Fix:
Set PROFILE=off.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312312301.rBVN1OeT069193>