[Bug 268514] graphics/png: missing symbol after upgrading from 1.6.37 to 1.6.38
Date: Tue, 27 Dec 2022 17:57:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268514 --- 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/link test to detect symbol versioning support, configure parses the linker help output to detect version-script support. The CMakeLists.txt approach is broken since the test creates a normal executable. The test "works" with lld but fails 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 GNU ld. -- You are receiving this mail because: You are the assignee for the bug.