NetBSD Problem Report #58845
From www@netbsd.org Fri Nov 22 14:36:32 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 228EC1A9238
for <gnats-bugs@gnats.NetBSD.org>; Fri, 22 Nov 2024 14:36:32 +0000 (UTC)
Message-Id: <20241122143630.DFF4F1A923E@mollari.NetBSD.org>
Date: Fri, 22 Nov 2024 14:36:30 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: libposix exports __posix_cerror on some architectures but not others
X-Send-Pr-Version: www-1.0
>Number: 58845
>Category: lib
>Synopsis: libposix exports __posix_cerror on some architectures but not others
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 22 14:40:00 +0000 2024
>Last-Modified: Fri Nov 22 14:50:03 +0000 2024
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The NetBSD __posix_Founderror
>Environment:
>Description:
amd64 libposix.so defines __posix_cerror, but aarch64 libposix.so does not.
If this is intentional, we need machine-dependent expected symbol lists (for PR PR lib/58838: shared libraries in base should all have expsym lists, https://gnats.NetBSD.org/58838).
If this is unintentional, we need to diagnose why and maybe fix it.
>How-To-Repeat:
write a .expsym file for libposix.so and watch a slew of builds fail
>Fix:
Yes, please!
>Audit-Trail:
From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/58845 CVS commit: src/lib/libposix
Date: Fri, 22 Nov 2024 14:46:16 +0000
Module Name: src
Committed By: riastradh
Date: Fri Nov 22 14:46:16 UTC 2024
Removed Files:
src/lib/libposix: posix.expsym
Log Message:
libposix: Nix expected symbols list for now.
PR lib/58845: libposix exports __posix_cerror on some architectures
but not others
PR lib/58838: shared libraries in base should all have expsym lists
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/lib/libposix/posix.expsym
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.