From owner-freebsd-current@FreeBSD.ORG Sat Oct 4 23:41:19 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 E622F80E for ; Sat, 4 Oct 2014 23:41:18 +0000 (UTC) Received: from quine.pinyon.org (quine.pinyon.org [65.101.5.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B4E66182 for ; Sat, 4 Oct 2014 23:41:18 +0000 (UTC) Received: by quine.pinyon.org (Postfix, from userid 122) id 864A41604D0; Sat, 4 Oct 2014 16:41:11 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on quine.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from feyerabend.n1.pinyon.org (feyerabend.n1.pinyon.org [10.0.10.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by quine.pinyon.org (Postfix) with ESMTPSA id 071FF1603BC for ; Sat, 4 Oct 2014 16:41:08 -0700 (MST) Message-ID: <54308593.6050301@pinyon.org> Date: Sat, 04 Oct 2014 16:41:07 -0700 From: "Russell L. Carter" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: CURRENT: buildworld fails to compile: cannot find -lctf cc: error: linker command failed [libproc.so.3] References: <20141004194756.5c291180.ohartman@zedat.fu-berlin.de> <20141004183337.GA22999@charmander.picturesperfect.net> <20141004224007.GA82800@charmander.picturesperfect.net> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 23:41:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/04/14 15:58, Mark Johnston wrote: > On Sat, Oct 4, 2014 at 3:40 PM, Mark Johnston > wrote: >> 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. > > Sorry, that's not even true. I misread a part of Makefile.inc1. > > I'm still not able to reproduce the problem, but it seems that the > patch here is appropriate: > http://people.freebsd.org/~markj/patches/libctf_prebuild.diff > > Oliver, could you give this a try? Even poudriere can't get past this one. Russell -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUMIWTAAoJEFnLrGVSDFaEPNkP/i0eo+rmHzyT9qH7F+iJOn8r 2WbN7OKT8Q086nI/rtHAqEeOiIUkXPhxfQiU2zrjXt551zgrAsfdqe39P6kLm1ha L3yA3joVkjLdWwpDMKEUtm9EChVG//rM258xWKhSTnGBnw4Qvtzy458SdAIXap3J HjTMJfZ95QuWanoK0HIN0glVoXdO/gVjmifm4CMmRKpKESjsU3vvCckbqDBim0Vi kmSWhL+dHucaX4b/8hQ/Csn6AKIZoo6LNw8cphZGS9dAvf+0f4PKCZ2KJhwV61TE rCi5AstFYoWgCk3LKAxMR4bquvtNusTvT5YokDQ4qMwwpihNR8PL6C5IP3bo/RkI tp4x959Yq5b7RVmmU7IDTQlWA5WoiQMYDGj/HC4iMkfBHzf7Cxl4sl4/HZwJ3fXu TkCm/EKKyah3heS/wF4tKx4npjBLu6+rWJLFdhCTLS2PWmdMNzBUB65vFrvdTEZl EFWpiITuV0Dd3Kb46s/Jm/26X1UMZRnKDJEMGtEauJj7hfwoR35+ym/WxI0PnMsz b4x+NxdPWQbOlRX3pnumcGVI1fuaRMJ8Dbdof7r/CXQITzZjHgbXVvZ0nnAh67L3 Om1G8be2w0jXfTPDI7qQxHIQfoua95VYMdvOcq48mnq3kDSuU+y3BUXamnqsrWqT K3N72p7T3F/8TsmiFzAI =IbPc -----END PGP SIGNATURE-----