Date: Tue, 08 Jul 2014 14:24:36 -0700 From: Sean Bruno <sbruno@ignoranthack.me> To: Warner Losh <imp@bsdimp.com> Cc: freebsd-arch <freebsd-arch@freebsd.org> Subject: Re: Total confusion over toolchain/xdev behavior Message-ID: <1404854676.1662.29.camel@bruno> In-Reply-To: <7CB79988-8221-4F00-AB79-FB24EB3CEF66@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> <B96EB5EC-A078-4CDE-AB30-CF7FD05D1287@bsdimp.com> <1404842719.1662.15.camel@bruno> <FF6728EE-7BF9-44E1-99EA-661F398F3EEB@FreeBSD.org> <B9B53E2E-FBAD-461E-86B9-8AD516F94570@FreeBSD.org> <1404851278.1662.17.camel@bruno> <7CB79988-8221-4F00-AB79-FB24EB3CEF66@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2014-07-08 at 15:01 -0600, Warner Losh wrote: > On Jul 8, 2014, at 2:27 PM, Sean Bruno <sbruno@ignoranthack.me> wrote: > > > On Tue, 2014-07-08 at 21:02 +0200, Dimitry Andric wrote: > >> On 08 Jul 2014, at 20:27, Dimitry Andric <dim@FreeBSD.org> wrote: > >>> On 08 Jul 2014, at 20:05, Sean Bruno <sbruno@ignoranthack.me> 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 > > Oh! I know that one… > > 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? ===> usr.bin/lex/lib (obj,depend,all,install) sh /home/sbruno/fbsd_head/tools/install.sh -C -o sbruno -g devel -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 sbruno@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 WITH_INSTALL_AS_USER=t sean
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1404854676.1662.29.camel>