From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 19 23:11:59 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 661A17DF for ; Wed, 19 Nov 2014 23:11:59 +0000 (UTC) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 32003660 for ; Wed, 19 Nov 2014 23:11:59 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id rl12so1647878iec.19 for ; Wed, 19 Nov 2014 15:11:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UJAapiyeUIUrlkNFXCX7ZafN4urlVIA7tdc4a4UcfZM=; b=RmCkaWjG1SdWKzuZaUsGXJMzEZk/UhpqyGfxG8cZV6x8CRTHOrAxl0E6sPufk3ZRkF b7NoNFZiRTDHSQ/sg3sCTMaeLWdchuSwJaG/mK784rjqimLnQJaqXcwrBGWRtw7G99E0 YpO3tYCmK11oEagwm6ycvB6y4xYcEi6K7dgLkhCm6+ICQDuH2v1EBKyoNWEtyhqtOI4T 5Lefh3292GkoudXo+0ic3++Btnw1GnXrB7ri6qFMPCBUlBiLtrkFdUtgdkyc40TvBtgK LLNSSSVOjpAyHEGWb26GLECBMxqYEFBIe9O/8mhiRua6gG8WJRAeDGzzeISy/xgwgqlC QxXA== MIME-Version: 1.0 X-Received: by 10.107.130.30 with SMTP id e30mr31116iod.87.1416438718692; Wed, 19 Nov 2014 15:11:58 -0800 (PST) Received: by 10.64.147.164 with HTTP; Wed, 19 Nov 2014 15:11:58 -0800 (PST) Date: Wed, 19 Nov 2014 15:11:58 -0800 Message-ID: Subject: Running 8 building 10 part2: ctfmerge hangs From: Dieter BSD To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 23:11:59 -0000 amd64 running 8.2 Attempting to build 10.1 kernel in chroot I copied 8.2's /bin/sh to the chroot to avoid F_DUPFD_CLOEXEC problem. cd /usr/src [ in chroot ] nice -20 make buildkernel KERNCONF=GENERIC >> $LOGFILE 2>&1 It grinds away awhile, then ctfmerge hangs. End of logfile: ctfconvert -L VERSION -g vers.o linking kernel.debug ctfmerge -L VERSION -g -o kernel.debug locore.o [ ...] hack.So vers.o USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 10007 0.0 0.1 23224 4580 10 IN+ 11:25AM 0:00.07 [ctfmerge] -rwxr-xr-x 1 root wheel 117461957 Nov 19 11:25 kernel.debug It is now 12:12pm. The machine is otherwise idle. Copied the 8.2 ctfmerge to the chroot, added -v and removed most of the arguments, and it still hangs. cd /usr/obj/usr/src/sys/GENERIC VERSION="FreeBSD 10.1-RELEASE amd64 1001000" /tmp/ctfmerge -v -L VERSION -o kernel.debug.verbose cam.o Added a bunch of debugging printfs to ctfmerge.c, but trapped in header file hell trying to get it to compile.