[Python-bugs-list] [ python-Bugs-472202 ] dlerror()-messages bogus on netbsd

noreply@sourceforge.net noreply@sourceforge.net
Wed, 17 Oct 2001 12:25:32 -0700


Bugs item #472202, was opened at 2001-10-17 12:25
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=472202&group_id=5470

Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Audun Arnesen Nordal (audun)
Assigned to: Nobody/Anonymous (nobody)
Summary: dlerror()-messages bogus on netbsd

Initial Comment:
In Python/dynload_shlib.c, a preprocessor check is done to determine if the 'NetBSD' identifier predates some value (199712) on NetBSD platforms. However, this identifier is defined in the <sys/param.h> file which is not included, and dlerror() messages are thus mistakingly hardcoded to "error in dynamic linking" on all NetBSD platforms.



Also, recent ELF-handling added targeted for OpenBSD applies to NetBSD as well.



This bug has been handled in the NetBSD package tree for some time (patch committed there by Matthias Drochner), but I couldn't find it reported in Python's buglist and the bug is present in Python's most recent cvs.


Patch enclosed.



Best regards,





Audun Nordal

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=472202&group_id=5470