[Bug 275820] clang 17.0.6 breaks openoffice-4 and openoffice-devel builds on CURRENT with linker errors

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Dec 2023 08:14:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275820

            Bug ID: 275820
           Summary: clang 17.0.6 breaks openoffice-4 and openoffice-devel
                    builds on CURRENT with linker errors
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: truckman@FreeBSD.org

FreeBSD zipper.catspoiler.org 15.0-CURRENT FreeBSD 15.0-CURRENT #107
main-n266973-ca39f23347e1: Sat Dec 16 03:11:23 PST 2023    
dl@zipper.catspoiler.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

cc --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

Building either editors/openoffice-4 ore editors/openoffice-devel on either
amd64 or i386 fails with these linker errors:

ld: error: version script assignment of 'UDK_3_0_0' to symbol 'GetVersionInfo'
f
ailed: symbol not defined
ld: error: version script assignment of 'UDK_3.1' to symbol
'_ZN9salhelper9Condi
tionC1ERN3osl5MutexE' failed: symbol not defined
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: ***
[/wrkdirs/usr/ports/editors/openoffice-devel/work/aoo-4.2.0/main/s
olenv/gbuild/LinkTarget.mk:330:
/wrkdirs/usr/ports/editors/openoffice-devel/work
/aoo-4.2.0/main/solver/420/unxfbsdi.pro/workdir/LinkTarget/Library/libuno_salhel
pergcc3.so] Error 1

Building with older llvm from ports avoids this problem.

I will try to put together an upstream bug report.

-- 
You are receiving this mail because:
You are the assignee for the bug.