Subject: port-amiga/8458: Perl5 compile abends: incompat arg - semctl
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jimd@siu.edu>
List: netbsd-bugs
Date: 09/21/1999 00:54:01
>Number:         8458
>Category:       port-amiga
>Synopsis:       Perl compiles abend with incompatible arg type, doio.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-amiga-maintainer (NetBSD/amiga Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 21 00:50:01 1999
>Last-Modified:
>Originator:     Jim Dutton
>Organization:
	
>Release:        NetBSD-1.4.1
>Environment:
	
System: NetBSD amiga1 1.4.1 NetBSD 1.4.1 (GENERIC) #101: Sat Aug 14 20:22:26 MEST 1999 is@jocelyn:/usr/obj/kernel/GENERIC amiga

gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)

>Description:
	Compiling Perl 5.004_01 and 5.004_04 both abend with the following
	messages. In previous NetBSD version(s), this problem did not exist.

`sh  cflags libperl.a doop.o`  doop.c
    CCCMD =  gcc -DPERL_CORE -c -I/usr/local/include -O   
`sh  cflags libperl.a doio.o`  doio.c
    CCCMD =  gcc -DPERL_CORE -c -I/usr/local/include -O   
doio.c: In function `Perl_do_ipcctl':
doio.c:1381: incompatible type for argument 4 of `semctl'
doio.c:1436: incompatible type for argument 4 of `semctl'
*** Error code 1

	Previous Perl built under previous NetBSD core dumps with a "bus
	error".

>How-To-Repeat:
	Recompile Perl
>Fix:
>Audit-Trail:
>Unformatted: