Summary: | clang 17.0.6 breaks openoffice-4 and openoffice-devel builds on CURRENT with linker errors | ||
---|---|---|---|
Product: | Base System | Reporter: | Don Lewis <truckman> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed Not A Bug | ||
Severity: | Affects Only Me | ||
Priority: | --- | ||
Version: | 15.0-CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Don Lewis
2023-12-18 08:14:55 UTC
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f25b169ac89578f18a6e480d4d84284bb8085316 commit f25b169ac89578f18a6e480d4d84284bb8085316 Author: Don Lewis <truckman@FreeBSD.org> AuthorDate: 2023-12-18 08:52:02 +0000 Commit: Don Lewis <truckman@FreeBSD.org> CommitDate: 2023-12-18 08:56:38 +0000 editors/openoffice-*: Unbreak build on 15.0-CURRENT clang version 17.0.6 causes linker errors that break the build on 15.0-CURRENT. Work around this by building with an older llvm from ports. PR: 275820 editors/openoffice-4/Makefile | 8 ++++++++ editors/openoffice-devel/Makefile | 8 ++++++++ 2 files changed, 16 insertions(+) It turns out that the --no-undefined-version change is the culprit. In this particular case, GetVersionInfo is only exported by the Windows and OS/2 builds, so I have no idea why it is including in the .map file being used by the linker. Both _ZN9salhelper9ConditionC1ERN3osl5MutexE and _ZN9salhelper9ConditionC2ERN3osl5MutexE are listed in the .map (do accommodate a name mangling variation?) but only one of those symbols is defined. |