NetBSD Problem Report #58846

From www@netbsd.org  Fri Nov 22 16:11:28 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 A698E1A9238
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 22 Nov 2024 16:11:28 +0000 (UTC)
Message-Id: <20241122161127.AFC511A9242@mollari.NetBSD.org>
Date: Fri, 22 Nov 2024 16:11:27 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: librt exports __rt_cerror on some architectures but not others
X-Send-Pr-Version: www-1.0

>Number:         58846
>Category:       lib
>Synopsis:       librt exports __rt_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 16:15:01 +0000 2024
>Last-Modified:  Fri Nov 22 16:20:03 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, 10, 9, ...
>Organization:
The NetRT __found_error
>Environment:
>Description:
On amd64, librt exports __rt_cerror.

On earmv7hf, librt does not export __rt_cerror.

If this is intentional, need to deal with MD expected symbol lists.

If this is not intentional, need to diagnose why and fix it.

Probably related to:

PR lib/58845: libposix exports __posix_cerror on some architectures but not others
>How-To-Repeat:
build with an MI expected symbols list
>Fix:
Yes, please!

>Audit-Trail:
From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58846 CVS commit: src/lib/librt
Date: Fri, 22 Nov 2024 16:17:34 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Fri Nov 22 16:17:34 UTC 2024

 Removed Files:
 	src/lib/librt: rt.expsym

 Log Message:
 librt: Nix expected symbols for now.

 Need to find why the symbol __rt_cerror is apparently
 machine-dependent.

 PR lib/58846: librt exports __rt_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/librt/rt.expsym

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(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.