Date: Thu, 22 Feb 2024 22:10:25 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277229] lang/gnu-cobol: ld: error: undefined reference due to --no-allow-shlib-undefined: __isfinite with clang-17 Message-ID: <bug-277229-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277229 Bug ID: 277229 Summary: lang/gnu-cobol: ld: error: undefined reference due to --no-allow-shlib-undefined: __isfinite with clang-17 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: wen@FreeBSD.org Reporter: saper@saper.info Flags: maintainer-feedback?(wen@FreeBSD.org) Assignee: wen@FreeBSD.org This is FreeBSD 15.0-CURRENT #10 main-n267042-488e8a7faca5: Sun Dec 24 04:0= 0:42 CET 2023 on amd64 with # clang --version FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin Linking of the cobcrun executable fails with: /bin/sh ../libtool --tag=3DCC --mode=3Dlink cc -O2 -pipe -fstack-prote= ctor -fno-strict-aliasing -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -L/usr/local/lib -fstack-protector -Wl,-z,relro,-z,now,-O1 -o cobcrun cobcrun.o ../libcob/libcob.la ../lib/libsupport.la -L/usr/local/lib -lintl -Wl,-rpath,/usr/local/lib=20=20 libtool: link: cc -O2 -pipe -fstack-protector -fno-strict-aliasing -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -fstack-protector -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -o .libs/cobcrun cobcrun.o -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ../libcob/.libs/libcob.so ../lib/.libs/libsupport.a -lgmp -lxml2 -lcjson -lncursesw -ldb-5.3 -lintl -Wl,-rpath -Wl,/usr/local/lib ld: error: undefined reference due to --no-allow-shlib-undefined: __isfinite >>> referenced by ../libcob/.libs/libcob.so cc: error: linker command failed with exit code 1 (use -v to see invocation) (Please note, that autoconf code to detect if -lm should be linked in is commented out in https://sourceforge.net/p/gnucobol/code/HEAD/tree/tags/gnucobol-3.2/configu= re.ac) --=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-277229-7788>