Date: Wed, 25 Dec 2024 09:28:16 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 283587] math/suitesparse-lagraph: needs -lm on armv7 Message-ID: <bug-283587-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283587 Bug ID: 283587 Summary: math/suitesparse-lagraph: needs -lm on armv7 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: fortran@FreeBSD.org Reporter: fuz@FreeBSD.org Assignee: fortran@FreeBSD.org Flags: maintainer-feedback?(fortran@FreeBSD.org) Attachment #256126 text/plain mime type: Created attachment 256126 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256126&action= =3Dedit suitesparse-lagraph 1.1.3 build failure on armv7 FreeBSD 14.1 In a recent test build I found that the test suite would fail to link due to missing math library (-lm) symbols: : && /usr/local/libexec/ccache/cc -O2 -pipe -O3 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DLGDIR=3D/wrkdirs/usr/ports/math/suitesparse-lagraph/work/SuiteSparse-7.7.= 0/LAGraph -O3 -O2 -pipe -O3 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -Wno-extra-semi-stmt -O2 -pipe -O3 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20 -DNDEBUG -Wno-extra-semi-stmt -O2 -pipe -O3 -fstack-protector-strong -isys= tem /usr/local/include -fno-strict-aliasing -DNDEBUG -Wno-extra-semi-stmt -L/wrkdirs/usr/ports/math/suitesparse-lagraph/work/SuiteSparse-7.7.0/lib -s -fstack-protector-strong -L/usr/local/lib -Xlinker --dependency-file=3Dsrc/test/CMakeFiles/test_Betweenness.dir/link.d src/test/CMakeFiles/test_Betweenness.dir/test_Betweenness.c.o -o src/test/test_Betweenness=20 -Wl,-rpath,/wrkdirs/usr/ports/math/suitesparse-lagraph/work/SuiteSparse-7.7= .0/LAGraph/experimental:/wrkdirs/usr/ports/math/suitesparse-lagraph/work/Su= iteSparse-7.7.0/LAGraph/src/test:/wrkdirs/usr/ports/math/suitesparse-lagrap= h/work/SuiteSparse-7.7.0/LAGraph/src experimental/liblagraphx.so.1.1.3 src/test/liblagraphtest.so.1.1.3=20 src/liblagraph.so.1.1.3 /usr/local/lib/libgraphblas.so.9.1.0 && : ld: error: undefined reference due to --no-allow-shlib-undefined: round >>> referenced by experimental/liblagraphx.so.1.1.3 ld: error: undefined reference due to --no-allow-shlib-undefined: fmax >>> referenced by experimental/liblagraphx.so.1.1.3 ld: error: undefined reference due to --no-allow-shlib-undefined: fmin >>> referenced by experimental/liblagraphx.so.1.1.3 This should be fixable by supplying -lm to the link of these components. See attached log file for details. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283587-7788>