[Bug 268514] graphics/png: missing symbol after upgrading from 1.6.37 to 1.6.38

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 24 May 2023 18:00:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268514

--- Comment #6 from gnikl@justmail.de ---
(In reply to Adriaan de Groot from comment #4)
> There's an essential bit of information missing here: "with gcc as compiler".
Why do you think this is relevant? The problem is the used linker as stated in
comment #3. Since GCC defaults to binutils using GCC is the natural choice to
demonstrate the issue.

> objdump -T /usr/local/lib/libpng16.so.16.39.0` shows versioned symbols in a regular build
That is expected since the system compiler uses lld as linker.

> please provide more detailed instructions on how to reproduce the problem.
cd <path>/graphics/png
CC=gcc11 make build

I don't mind that the bug report was closed since the issue does only surface
when using GNU ld (eg. when using GCC or clang with gld as linker). Still, I do
wonder about the build system change. AFAICT, the preferred build system for
libpng is autoconf and usually the FreeBSD port collection does not deviate.

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