[Bug 267671] [libc] Remove unnecessary printf to stderr in stdlib/cxa_thread_atexit_impl.c

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 10 Jul 2023 19:18:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267671

Rainer Hurling <rhurlin@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rhurlin@FreeBSD.org

--- Comment #1 from Rainer Hurling <rhurlin@FreeBSD.org> ---
Created attachment 243333
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243333&action=edit
diff of Eric's patch

I cannot judge whether Eric Jensen's analysis is correct and the fprintf() is
unnecessary. My C/C++ knowledge is not sufficient for that. 

Nevertheless I tried the patch on my 14.0-CURRENT box to avoid such dso error
messages. With my port graphics/qgis I have exactly the described problem, that
a whole bunch of '__cxa_thread_call_dtors' errors are printed on the console.
The patch suppresses these outputs as desired.

If there is a general feeling that Eric's suggestion is good and sufficient, I
too would appreciate a corresponding commit. For simplicity I have attached the
patch ;)

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