From owner-freebsd-arch@FreeBSD.ORG Wed Jul 9 00:20:24 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 803ABCF0 for ; Wed, 9 Jul 2014 00:20:24 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 5973126ED for ; Wed, 9 Jul 2014 00:20:23 +0000 (UTC) Received: from [192.168.200.204] (c-50-131-5-126.hsd1.ca.comcast.net [50.131.5.126]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 7541A193DD9; Wed, 9 Jul 2014 00:20:22 +0000 (UTC) Subject: Re: Total confusion over toolchain/xdev behavior From: Sean Bruno Reply-To: sbruno@freebsd.org To: Warner Losh In-Reply-To: <98B42676-50A8-4034-995A-ACA9DCE83094@bsdimp.com> References: <1404688077.1059.115.camel@bruno> <1404766292.65432.43.camel@revolution.hippie.lan> <20B72004-1499-4F99-A7C7-13173C50C7C6@bsdimp.com> <1404831829.1662.7.camel@bruno> <1404835471.1662.13.camel@bruno> <1404842719.1662.15.camel@bruno> <1404851278.1662.17.camel@bruno> <7CB79988-8221-4F00-AB79-FB24EB3CEF66@bsdimp.com> <1404854676.1662.29.camel@bruno> <9733B60C-5EDA-44A5-9D36-E62433DB8949@bsdimp.com> <98B42676-50A8-4034-995A-ACA9DCE83094@bsdimp.com> Content-Type: text/plain; charset="windows-1251" Date: Tue, 08 Jul 2014 17:20:20 -0700 Message-ID: <1404865220.1662.42.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-arch X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2014 00:20:24 -0000 > >>> That’s from _xi-links target (the last one!). You can safely ignore it. > >>> > >>> Something like the following would also eliminate the warning. Just not too sure about it. You may also need to define WITH_INSTALL_AS_USER=t. > >>> > >>> Warner > >>> > >> Ah crap, is there were I need "XDTP" defined or something? > > > > Maybe… But it looks like it is still trying to do the links, so I must have messed up something in the patch… > > > > And the links look kinda sketchy to me like it is reaching outside the /usr/mips-freebsd area directly into /usr/bin, which won’t matter for what you are trying to do… You don’t need mips-freebsd-cc binaries in the chroot… though you might want different symlinks from your chroot’s /usr/bin/cc to /usr/mips-freebsd-cc/usr/bin/cc, etc. > > > > Warner > > Try this instead: > > Warner > Ok, thanks to you guys for bearing with me. It looks like I can get the xdev target to compile utilizing this patch + dim's libproc-no-cxx-1.diff and bapt's orginal patch to bsd.src.mk with the following command: make -s -j8 xdev MAKEOBJDIRPREFIX=/var/tmp XDDESTDIR=/var/tmp/mips_cc XDEV=mips XDEV_ARCH=mips WITHOUT_CXX=t I'm going to try a couple of other arch's and see what else lies within. sean