From cisco@fbsd.hilliard.com  Tue Jan 16 08:30:51 2001
Return-Path: <cisco@fbsd.hilliard.com>
Received: from hlmailer.hilliard.com (unknown [198.184.127.28])
	by hub.freebsd.org (Postfix) with ESMTP id 6F65837B402
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 16 Jan 2001 08:30:51 -0800 (PST)
Received: from fbsd.hilliard.com ([198.184.69.200])
          by hlmailer.hilliard.com (Netscape Messaging Server 3.6)
           with ESMTP id AAA6478 for <FreeBSD-gnats-submit@freebsd.org>;
          Tue, 16 Jan 2001 11:30:21 -0500
Received: (from root@localhost)
	by fbsd.hilliard.com (8.9.3/8.9.3) id LAA94810;
	Tue, 16 Jan 2001 11:30:49 -0500 (EST)
	(envelope-from cisco)
Message-Id: <200101161630.LAA94810@fbsd.hilliard.com>
Date: Tue, 16 Jan 2001 11:30:49 -0500 (EST)
From: root@fbsd.hilliard.com
Reply-To: root@fbsd.hilliard.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Can't compile 4.2
X-Send-Pr-Version: 3.2

>Number:         24387
>Category:       i386
>Synopsis:       4.2 compile bombs at PERL build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 16 08:40:00 PST 2001
>Closed-Date:    Sat Apr 28 19:41:01 PDT 2001
>Last-Modified:  Sat Apr 28 19:41:33 PDT 2001
>Originator:     Michael Harpe
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Hilliard-Lyons, Inc.
>Environment:

	FreeBSD 4.2 CVSup'ed numerous times. This also happens when building from source tree shipped on
        the 4.2 CDROM set.

>Description:

make buildworld bombs out with the folllwing:

cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5 -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl    -L/usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl -static -o miniperl miniperlmain.o opmini.o  /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl/libperl.a -lm -lcrypt -lutil
/usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl/libperl.a(pp_hot.o): In function `Perl_pp_aassign':
pp_hot.o(.text+0x16a1): undefined reference to `setresuid'
pp_hot.o(.text+0x16d4): undefined reference to `setresgid'
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

I have tried this with vanilla 4.2 sources and cvsup'ed sources as new as 1/16/2000.

>How-To-Repeat:

	Do a make buildworld.

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Sat Apr 28 19:41:01 PDT 2001 
State-Changed-Why:  
If you're compiling 4.x on 3.x, don't do that.  Otherwise, I'm sure 
has been fixed: build failures don't hang around long. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24387 
>Unformatted:
