From owner-freebsd-current@FreeBSD.ORG Sat Oct 4 22:40:15 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1B349416 for ; Sat, 4 Oct 2014 22:40:15 +0000 (UTC) Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [IPv6:2607:f8b0:400e:c03::22b]) (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 E0978EA6 for ; Sat, 4 Oct 2014 22:40:14 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id lf10so3297012pab.30 for ; Sat, 04 Oct 2014 15:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=3tkypqrtYc+JHIDkByMr4zllU6OKNuM5sBFT0l2iWBc=; b=s+9y+uYT48kCMHLU7cX9eVvx0Pij/Wk0Aujy5mvPznCcNLOXgzZPr0L0r7oxduR+Yq 9IAdqi3nlVs76eliM0AA8D+CmOJB47x7dnNIvsYEdpyd7uEKz93CV9UP34LD7Ecg4F83 hEz6u6fZf++g6RuzFWWPXnJilOOsk1k4Rm0YvGS0DtOUYn+/pSeNrq6BEvYZ7d2dNihi Y2NmhsmSVCB0papJ1p8Wg73rA82/RCQ3OTWaQuajuFcCegVq2PLtbTCaqjzFhQ/HU8qi nz0jDZlxyoZEGh8s4U/1x4/DwtHF5a/Pbpk0hD2HUeKJYyhpkcTtGpT+QAuQQtQ0thVF 0T9A== X-Received: by 10.70.21.33 with SMTP id s1mr8981782pde.99.1412462414529; Sat, 04 Oct 2014 15:40:14 -0700 (PDT) Received: from charmander.picturesperfect.net (c-67-182-131-225.hsd1.wa.comcast.net. [67.182.131.225]) by mx.google.com with ESMTPSA id pn1sm7357620pdb.65.2014.10.04.15.40.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Oct 2014 15:40:13 -0700 (PDT) Sender: Mark Johnston Date: Sat, 4 Oct 2014 15:40:07 -0700 From: Mark Johnston To: Ryan Stone Subject: Re: CURRENT: buildworld fails to compile: cannot find -lctf cc: error: linker command failed [libproc.so.3] Message-ID: <20141004224007.GA82800@charmander.picturesperfect.net> References: <20141004194756.5c291180.ohartman@zedat.fu-berlin.de> <20141004183337.GA22999@charmander.picturesperfect.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: FreeBSD CURRENT , "O. Hartmann" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2014 22:40:15 -0000 On Sat, Oct 04, 2014 at 04:39:37PM -0400, Ryan Stone wrote: > On Sat, Oct 4, 2014 at 2:33 PM, Mark Johnston wrote: > > On Sat, Oct 04, 2014 at 07:47:56PM +0200, O. Hartmann wrote: > >> Recent sources (Revision: 272529) fail to compile: > >> > >> [...] > >> cc -m32 -march=native -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ > >> -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -O2 -pipe -O3 -O3 > >> -pipe -DYP -I/usr/obj/usr/src/lib32/usr/include/rpcsvc -std=gnu99 -fstack-protector > >> -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int > >> -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value > >> -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch > >> -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments > >> -c /usr/src/lib/librpcsvc/yp_passwd.c -o yp_passwd.o --- all_subdir_libproc --- --- > >> libproc.so.3 --- /usr/obj/usr/src/tmp/usr/bin/ld: skipping > >> incompatible /usr/obj/usr/src/tmp/usr/lib/libctf.so when searching for > > > > I'm confused by this message. Are you building with -DNO_CLEAN? Do you > > have anything in make.conf or src.conf, especially anything that's > > changed since libctf was rebuilt? > > > > You might try rebuilding libctf with > > > > $ cd /usr/src > > $ make -C cddl/lib/libctf clean all > > > > but I'm not sure why ld is ignoring the existing libctf.so. > > The failure is coming while building the lib32 compat libraries. Are > we not currently building a lib32 libctf.so? No, we do. One thing I've noticed is that cddl/lib is built after lib/ when compiling 32-bit libs, whereas cddl/lib is built first when building natively. But that doesn't cause any problems for me. I also don't see why ld would be searching /usr/obj/usr/src/tmp for a 32-bit lib.