From owner-freebsd-arm@freebsd.org Tue Jan 5 20:00:27 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 717A7A63F22 for ; Tue, 5 Jan 2016 20:00:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qg0-x22b.google.com (mail-qg0-x22b.google.com [IPv6:2607:f8b0:400d:c04::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B37411AE for ; Tue, 5 Jan 2016 20:00:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qg0-x22b.google.com with SMTP id 6so208695049qgy.1 for ; Tue, 05 Jan 2016 12:00:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=YpjXAJV+K9KSPnZoaPUgMgVa4cVVi/e2QUZhe5+oijU=; b=c++A2Da8Jv3tWt4vlM71IuI+7livJL4k5rBKtJlVQSpMQ6o/BMcc/45evOD4M14nxI yfGhRw/1xA31/IxCHRwnVP+VNbtUr+2eD0xa8E9Na4gcfovagDxGZ+swg3Xj/hXGsUPd Kmy0OLq/pfqzvaix74UJf/RRlKexvgBgW0yosQsCbSVzbLXEH5eWrmTbMQbNIdBzEev2 nVY2n9JHLvGpeSulL8EZEzpavfSwGwbTkYq9YM0MksJBcHgH0NT/J9EKy/vUS+6GEORJ I28T09vQWh0BKLTUsDXX8CLQmbLuRIDKCCKveAcR8Bi+rKjhgcRRNFUz/0DJrsjc0AEO USrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=YpjXAJV+K9KSPnZoaPUgMgVa4cVVi/e2QUZhe5+oijU=; b=lZ626nGOtCEQrHCKE9wN+bbMLQzeZNApUkYm0riCrj9llxcLsXg6p5D8vbzk39Tmer Cmihrm7odG5GuIejdFkcaIvmQSdXV3o6Mc7XV4/1kbcdRec7Yrg1eCgqjwhhu3VdULO1 d+19tq0HyPz/SW4ot5Yk3WUHBAXYyA41VHVWCunmy5bYKZNCfG8ExBjbDH0GAaYoRk7K O39os5UcGwc/NbsQOU/q3gDMtpAnbyTu9/sPda285iGI0s2MRDg/ny+hdmf5ZqZVW+YL cU+EOD0c4rG6EFcf2SgxQSGF1UdLoJfJ4AwDfc/NfFb8WxEjCOOgwS/wYElUdymRAyw5 pmQQ== X-Gm-Message-State: ALoCoQneXkGJluySJtb2apLjTps2y81Umr2lF4o8BuwOkzVh82si8dqzPelaD3f42HJoH24sY43df1Tg5WL2NcA7JxR0QE6CKg== MIME-Version: 1.0 X-Received: by 10.140.247.67 with SMTP id s64mr133945602qhc.20.1452024026363; Tue, 05 Jan 2016 12:00:26 -0800 (PST) Sender: wlosh@bsdimp.com Received: by 10.140.27.181 with HTTP; Tue, 5 Jan 2016 12:00:26 -0800 (PST) X-Originating-IP: [50.253.99.174] In-Reply-To: <568C1B27.3050206@denninger.net> References: <568C1919.2090407@denninger.net> <568C1B27.3050206@denninger.net> Date: Tue, 5 Jan 2016 13:00:26 -0700 X-Google-Sender-Auth: gfEAhHkww7xEhN5OOUYUSm6HO-U Message-ID: Subject: Re: How did I manage to break this?! From: Warner Losh To: Karl Denninger Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2016 20:00:27 -0000 what dpes readelf -h on all the affected files tell you? You're most interested in the line: Flags: 0x5000202, Version5 EABI, has entry point, software FP Warner On Tue, Jan 5, 2016 at 12:36 PM, Karl Denninger wrote: > $ uname -v > FreeBSD 11.0-CURRENT #0 r293189: Tue Jan 5 08:44:05 CST 2016 > karl@NewFS.denninger.net: > /pics/CrossBuild/obj/arm.armv6/pics/CrossBuild/src/sys/RPI2 > > Built a few hours ago, svn'd this morning. rm -r'd both the object and > export directories before starting to prevent the risk of a carry-over. > > And no, I pkg delete'd all the packages on the machine (including pkg > itself!) and then rm -r'd the entire /usr/local/lib directory, then used > pkg to reload them. > > No chance they're leftovers. > > On 1/5/2016 13:33, Warner Losh wrote: > > what revision are you at? > > > > Could these be left-over hard-float libraries? > > > > Warner > > > > On Tue, Jan 5, 2016 at 12:27 PM, Karl Denninger > > wrote: > > > > Went back from arm6hf to arm6 on a Pi2 (cross-built the world and > > kernel, then rsync'd it), and now I'm getting this with two packages > > that I loaded from the "pkg add" command (which, incidentally, was > the > > reason to do it in the first place, since arm6hf has no package > > repository) > > > > The system itself is running fine. > > > > $ git > > Shared object "libintl.so.8" not found, required by "git" > > > > Bee-ess > > > > $ ldconfig -r|grep intl > > 134:-lintl.8 => /usr/local/lib/libintl.so.8 > > 135:-lintl.9 => /usr/local/lib/libintl.so.9 > > > > $ ls -al /usr/local/lib/*intl* > > -rw-r--r-- 1 root wheel 74122 Dec 7 12:58 > /usr/local/lib/libintl.a > > lrwxr-xr-x 1 root wheel 16 Dec 7 12:58 > > /usr/local/lib/libintl.so > > -> libintl.so.8.1.4 > > lrwxr-xr-x 1 root wheel 16 Dec 7 12:58 > > /usr/local/lib/libintl.so.8 -> libintl.so.8.1.4 > > -rw-r--r-- 1 root wheel 51832 Dec 7 12:58 > > /usr/local/lib/libintl.so.8.1.4 > > lrwxr-xr-x 1 root wheel 12 Dec 7 12:58 > > /usr/local/lib/libintl.so.9 -> libintl.so.8 > > > > That all came in from the pkg add, so why is the loader > > complaining that > > libintl.so.8 not there? Incidentally, bash throws up on the same > > error. > > > > -- > > Karl Denninger > > karl@denninger.net > > > > > /The Market Ticker/ > > /[S/MIME encrypted email preferred]/ > > > > > > -- > Karl Denninger > karl@denninger.net > /The Market Ticker/ > /[S/MIME encrypted email preferred]/ >