[Bug 277229] lang/gnu-cobol: ld: error: undefined reference due to --no-allow-shlib-undefined: __isfinite with clang-17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 Feb 2024 22:10:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277229 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:00: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=CC --mode=link cc -O2 -pipe -fstack-protector -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 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/configure.ac) -- You are receiving this mail because: You are the assignee for the bug.