math/suitesparse is broken

Steve Kargl sgk at troutmask.apl.washington.edu
Tue May 1 14:52:06 UTC 2018


On Tue, May 01, 2018 at 02:57:16PM +1000, Dewayne Geraghty wrote:
> Thanks Steve, I have the same problem via gcc7 (after giving up on
> clang6). You might get a response to a PR.  Sadly I
> just reverted both /usr/src and suitesparse, and moved on...
> as there are other problems with i386 and I suspect amd64.
> 
> gcc7 -pie -Wl,--strip-debug -Wl,--build-id=md5
> -Wl,-rpath=/usr/local/lib/gcc7  -L/usr/local/lib/gcc7 -B/usr/local/bin

(snip)

> -L/usr/local/lib/gcc7 -llapack -lopenblas
> /usr/local/bin/ranlib libcholmod.a
> /usr/lib/Scrt1.o: In function `_start':
> /smallblocks/src/lib/csu/amd64/crt1.c:(.text+0x18c): undefined reference
> to `main'
> collect2: error: ld returned 1 exit status
> gmake[4]: *** [Makefile:544:

Dewayne, 

Once I found a way to defeat openblas, my build of suitesparse
completed without the above issue.  I'm running a few day old
-current, so there may be something the needs to get merged 
into the 11 branch.

-- 
Steve


More information about the freebsd-ports mailing list