Tcl Source Code

View Ticket
Login
Ticket UUID: 16768d65f0f13ac2a75f545f2d2e9983fb89b0f7
Title: Fix gethostbyname_r and gethostbyaddr_r detection on NetBSD
Type: Bug Version: HEAD, affected older branches
Submitter: krytarowski Created on: 2019-09-30 10:28:46
Subsystem: 53. Configuration and Build Tools Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Important
Status: Closed Last Modified: 2019-10-02 11:44:49
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2019-10-02 11:44:49
Description:
gethostbyname_r and gethostbyaddr_r are internal libc symbols on NetBSD and shall not be picked by 3rd party software.

Fix the misdetection of these functions. This also fixes the end-product as it is no longer broken in these functions.

Patches that fix the problem:

http://netbsd.org/~kamil/tcl/netbsd-1/

Please merge into all supported branches.
User Comments: jan.nijtmans added on 2019-10-02 11:44:49:
Patches now applied to all open branches (core-8-5-branch up to trunk)

Thanks for the report and the patch!

krytarowski added on 2019-09-30 21:40:50:
The same problem (but for a single function and without a patch) was already reported in the past:

https://core.tcl-lang.org/tcl/tktview/91466985995db6b505c4