NetBSD Problem Report #21036
Received: (qmail 15496 invoked by uid 605); 5 Apr 2003 23:22:32 -0000
Message-Id: <Pine.SOL.4.44.0304060015530.11445-100000@draco.cus.cam.ac.uk>
Date: Sun, 6 Apr 2003 00:22:30 +0100 (BST)
From: Ben Harris <bjh21@netbsd.org>
Sender: gnats-bugs-owner@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: libpthread/arch/arm/pthread_md.h misuses __APCS_26__
>Number: 21036
>Category: port-arm
>Synopsis: libpthread/arch/arm/pthread_md.h misuses __APCS_26__
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-arm-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 05 23:23:00 +0000 2003
>Closed-Date: Fri Mar 01 10:20:16 +0000 2019
>Last-Modified: Fri Mar 01 10:20:16 +0000 2019
>Originator: Ben Harris
>Release: 2003-06-04
>Organization:
>Environment:
N/A
>Description:
src/lib/libpthread/arch/arm/pthread_md.h seems to use the __APCS_26__
preprocessor symbol to decide what mode to set in the CPSR of new
ucontexts. This is wrong for NetBSD, since we run APCS-32 code on both
26-bit and 32-bit CPUs, so the determination of what to put in the CPSR
has to be made at run-time somehow.
>How-To-Repeat:
Grep pthread_md.h for __APCS_26__. If it's using it, it's broken.
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Fri, 01 Mar 2019 10:20:16 +0000
State-Changed-Why:
This was fixed in revision 1.11 of pthread_md.h
on 2018-11-22 (!). Only took 15 years.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.