Date: Wed, 04 Dec 2024 18:52:58 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 283132] security/heimdal-devel: fix with stock clang and lld >= 16 Message-ID: <bug-283132-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283132 Bug ID: 283132 Summary: security/heimdal-devel: fix with stock clang and lld >=3D 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: cy@FreeBSD.org Flags: maintainer-feedback?(cy@FreeBSD.org) Upstream clang >=3D 16 made -Wimplicit-function-declaration into an error by default. In the base system, this change was reverted to reduce the fallout in ports, because there are many problematic configure scripts. For security/heimdal-devel this also applies, so for building the port with devel/llvm16 or higher we need to add -Wno-implicit-function-declaration to CFLAGS. Additionally, similar to bug 275979, add -Wl,--undefined-version to LDFLAGS, to suppress any linker errors about missing versioned symbols. Note: these changes are mainly needed for bug 283013, which attempts to bump the default LLVM_VERSION to 18. --=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-283132-7788>