From owner-freebsd-arch@FreeBSD.ORG Tue Jul 8 20:28:02 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 3C6BFD95; Tue, 8 Jul 2014 20:28:02 +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 12BF52DC2; Tue, 8 Jul 2014 20:28:01 +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 1ACF1193DD9; Tue, 8 Jul 2014 20:28:00 +0000 (UTC) Subject: Re: Total confusion over toolchain/xdev behavior From: Sean Bruno Reply-To: sbruno@freebsd.org To: Dimitry Andric In-Reply-To: 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> Content-Type: text/plain; charset="us-ascii" Date: Tue, 08 Jul 2014 13:27:58 -0700 Message-ID: <1404851278.1662.17.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit 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: Tue, 08 Jul 2014 20:28:02 -0000 On Tue, 2014-07-08 at 21:02 +0200, Dimitry Andric wrote: > On 08 Jul 2014, at 20:27, Dimitry Andric wrote: > > On 08 Jul 2014, at 20:05, Sean Bruno wrote: > > ... > >> ===> lib/libproc (all) > >> building static proc library > >> ranlib -D libproc.a > >> make[5]: /var/tmp/home/sbruno/fbsd_head/lib/libproc/.depend, 322: > >> ignoring stale .depend for /var/tmp/mips_cc/usr/lib/libstdc++.a > >> building shared library libproc.so.2 > >> /var/tmp/mips_cc/usr/bin/ld: cannot find -lsupc++ > >> *** Error code 1 > >> > >> Stop. > >> make[5]: stopped in /home/sbruno/fbsd_head/lib/libproc > >> *** Error code 1 > > > > Yes, libproc and it dependencies should be disabled when MK_CXX=no. Alternatively, libproc's demangling support could be conditionally compiled out in that case. > > Now with a suggested patch. > > -Dimitry Getting closer, now we're at the point where we have some kind of path/permission failure: dirty.ysv:~/fbsd_head % make xdev MAKEOBJDIRPREFIX=/var/tmp DESTDIR=/var/tmp/mips_cc XDDESTDIR=/var/tmp/mips_cc XDEV=mips XDEV_ARCH=mips WITHOUT_CLANG=t WITHOUT_CLANG_BOOTSTRAP=t WITH_GCC=t WITH_GCC_BOOTSTRAP=t WITH_GNUCXX=t WITHOUT_CXX=t ===> secure/lib/libssh (install) sh /home/sbruno/fbsd_head/tools/install.sh -C -o root -g wheel -m 444 libssh.a /var/tmp/mips_cc/usr/lib/private sh /home/sbruno/fbsd_head/tools/install.sh -s -o root -g wheel -m 444 libssh.so.5 /var/tmp/mips_cc/usr/lib/private sh /home/sbruno/fbsd_head/tools/install.sh -l s libssh.so.5 /var/tmp/mips_cc/usr/lib/private/libssh.so ===> usr.bin/lex/lib (obj,depend,all,install) sh /home/sbruno/fbsd_head/tools/install.sh -C -o root -g wheel -m 444 libln.a /var/tmp/mips_cc/usr/lib /var/tmp/mips_cc/usr/lib/libl.a -> /var/tmp/mips_cc/usr/lib/libln.a /var/tmp/mips_cc/usr/lib/libfl.a -> /var/tmp/mips_cc/usr/lib/libln.a cd /var/tmp/mips_cc/usr/bin; mkdir -p ../../../../usr/bin; for i in *; do ln -sf ../..//usr/mips-freebsd/usr/bin/$i ../../../../usr/bin/mips-freebsd-$i; ln -sf ../..//usr/mips-freebsd/usr/bin/$i ../../../../usr/bin/mips-freebsd11.0-$i; done mkdir: ../../../../usr: Permission denied *** Error code 1 Stop. make[1]: stopped in /home/sbruno/fbsd_head *** Error code 1 Stop. make: stopped in /home/sbruno/fbsd_head