Summary: | lang/gnu-cobol: ld: error: undefined reference due to --no-allow-shlib-undefined: __isfinite with clang-17 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Marcin Cieślak <saper> |
Component: | Individual Port(s) | Assignee: | Wen Heping <wen> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | saper |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(wen) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Marcin Cieślak
2024-02-22 22:10:25 UTC
A quick fix seems to be this: # git diff . diff --git a/lang/gnu-cobol/Makefile b/lang/gnu-cobol/Makefile index 8690cf388b63..a23a71f77d8a 100644 --- a/lang/gnu-cobol/Makefile +++ b/lang/gnu-cobol/Makefile @@ -16,6 +16,7 @@ LIB_DEPENDS= libgmp.so:math/gmp \ USES= bdb gmake libtool ncurses tar:xz USE_LDCONFIG= yes +CONFIGURE_ENV= MATH_LIBS=-lm GNU_CONFIGURE= yes TEST_TARGET= check TEST_ENV= TESTSUITEFLAGS=--jobs=${MAKE_JOBS_NUMBER} A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=299683ae32dd945383498c0e78c2a274a4c94258 commit 299683ae32dd945383498c0e78c2a274a4c94258 Author: Marcin Cieślak <saper@saper.info> AuthorDate: 2024-02-23 12:03:50 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2024-02-23 12:05:11 +0000 lang/gnu-cobol: Fix ld error PR: 277229 Reported by: saper@saper.info lang/gnu-cobol/Makefile | 3 +++ 1 file changed, 3 insertions(+) |