Subject: lib/3078: recent change to include/dlfcn.h breaks csu/i386
To: None <gnats-bugs@gnats.netbsd.org>
From: Thorsten Frueauf <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 01/03/1997 12:40:31
>Number:         3078
>Category:       lib
>Synopsis:       recent change to include/dlfcn.h breaks csu/i386
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan  3 03:50:00 1997
>Last-Modified:
>Originator:     Thorsten Frueauf
>Organization:
private
>Release:        <NetBSD-current source date> NetBSD current 02.01.1997
>Environment:
	
NetBSD cyberlap 1.2B NetBSD 1.2B (CYBERLAP) #2: Thu Jan  2 12:17:15 CET 1997     frueauf@cyberlap:/usr/src/sys/arch/i386/compile/CYBERLAP i386

>Description:
	
Recent changes to include/dlfcn.h break the compilation of lib/csu at least on
the i386 port. Prototypes were changed, but not at all places (e.g.
lib/csu/common.c).

>How-To-Repeat:
	

Try `cd /src/lib/csu && make` on a current 02.01.1997 NetBSD/i386 system and
watch:

/src/lib/csu:
===> i386
cc -O -DLIBC_SCCS -I/usr/src/lib/csu/i386/..  -Werror  -c -DCRT0 -DDYNAMIC /usr/
src/lib/csu/i386/crt0.c -o crt0.o
/usr/src/lib/csu/i386/../common.c: In function `dlopen':
In file included from /usr/src/lib/csu/i386/crt0.c:116:
/usr/src/lib/csu/i386/../common.c:164: argument `name' doesn't match prototype
/usr/include/dlfcn.h:42: prototype declaration
/usr/src/lib/csu/i386/../common.c: In function `dlsym':
/usr/src/lib/csu/i386/../common.c:185: argument `name' doesn't match prototype
/usr/include/dlfcn.h:44: prototype declaration
*** Error code 1

>Fix:
	
Dunno the real fix. Clean up the prototype changes.
>Audit-Trail:
>Unformatted:
recent change to include/dlfcn.h breaks csu/i386