From owner-freebsd-stable Mon Nov 6 5:42:38 2000 Delivered-To: freebsd-stable@freebsd.org Received: from fnord.ir.bbn.com (FNORD.IR.BBN.COM [192.1.100.210]) by hub.freebsd.org (Postfix) with SMTP id A1A2F37B479 for ; Mon, 6 Nov 2000 05:42:34 -0800 (PST) Received: (qmail 86242 invoked by uid 10853); 6 Nov 2000 13:42:28 -0000 To: stable@freebsd.org Subject: Re: upgrade from 3.x References: <200011051742.eA5HgOA18337@vashon.polstra.com> From: Greg Troxel Date: 06 Nov 2000 08:42:28 -0500 In-Reply-To: John Polstra's message of "Sun, 5 Nov 2000 09:42:24 -0800 (PST)" Message-ID: Lines: 27 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > /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 I upgraded a 3.3 box first to 3.5-stable and then to 4.1.1-stable a few weeks ago, and had the same problem. I am pretty sure this has nothing to do with the 'miniperl is not installed' problem, but is instead a problem in the miniperl (or libperl?) that seems to be built as part of the perl build. I did not figure this out entirely, but by commenting out setres{u,g}id in the config file (in src/usr.bin/perl/libperl, I think) was able to get things to build, and then I did another make world once upgraded. It may be that the miniperl is getting linked with the installed libc rather than the new one. However, since 3.5-stable apparently doesn't have the new syscall, I'm not sure what would happen. If perl isn't needed for the rest of the build, it probably doesn't matter. I suspect merging setres{u,g}id from 4-stable to 3-stable (but not enabling them in the 3-stable perl build) would fix this. But it seems like a lot of trouble. Sorry for being vague - my 4.1-stable box has crashed (due to some coda/softupdates wierdness, I think) and I can't get at it right now. Greg Troxel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message