Date: Tue, 27 Dec 2022 17:57:37 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 268514] graphics/png: missing symbol after upgrading from 1.6.37 to 1.6.38 Message-ID: <bug-268514-39348-XuxegFe8Zu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268514-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-268514-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268514 --- Comment #3 from gnikl@justmail.de --- (In reply to Tijl Coosemans from comment #1) > Can you attach the following file: > /usr/ports/graphics/png/work/.build/CMakeFiles/CMakeOutput.log I attached CMakeError.log since this shows that the missing symbol versions= are caused by a libpng cmake configuration bug. CMakeLists.txt uses a compile/l= ink test to detect symbol versioning support, configure parses the linker help output to detect version-script support. The CMakeLists.txt approach is bro= ken since the test creates a normal executable. The test "works" with lld but f= ails for GNU ld as shown in the attached CMakeOutput.log. /usr/local/bin/ld --version: GNU ld (GNU Binutils) 2.39 Using ${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS} fixes the detection test for G= NU ld. --=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-268514-39348-XuxegFe8Zu>