Re: 9.0 RC1 linking problem with i386 libs on amd64

2011-10-28 Thread Dimitry Andric
On 2011-10-28 22:15, Dominic Fandrey wrote: ... This latter problem is what my patch attempts to fix, while changing as little as possible. An alternative is to pass __MAKE_CONF=/dev/null to the 32-bit stage. That should also work in the environment, see make.conf(5) The problem with this, is

Re: 9.0 RC1 linking problem with i386 libs on amd64

2011-10-28 Thread Dominic Fandrey
On 28/10/2011 20:19, Dimitry Andric wrote: > On 2011-10-28 16:41, Dominic Fandrey wrote: > ... >> ... >> >> I had hoped that the .ifdef construction from the wiki was dated. I >> suppose it's emulating setting CC in the environment instead of in >> the make/src.conf. > > There are two different pr

Re: 9.0 RC1 linking problem with i386 libs on amd64

2011-10-28 Thread Dimitry Andric
On 2011-10-28 16:41, Dominic Fandrey wrote: ... Like that: .if ${.CURDIR:M/usr/src} || ${.CURDIR:M/usr/src/*} CC=clang CXX=clang++ CPP=clang-cpp NO_WERROR= WERROR= .endif I had hoped that the .ifdef construction from the wiki was dated. I suppose it's emulating setting CC in the environment inst

Re: 9.0 RC1 linking problem with i386 libs on amd64

2011-10-28 Thread Dominic Fandrey
On 26/10/2011 16:39, Dimitry Andric wrote: > On 2011-10-26 15:32, Dominic Fandrey wrote: >> I haven't tried to dig into this. Only "unusual" properties of the system >> are my non-default MAKEOBJDIRPREFIX and the use of ccache. >> >> # uname -a >> FreeBSD AryaStark.norad 9.0-RC1 FreeBSD 9.0-RC1 #0:

Re: 9.0 RC1 linking problem with i386 libs on amd64

2011-10-26 Thread Dimitry Andric
On 2011-10-26 15:32, Dominic Fandrey wrote: I haven't tried to dig into this. Only "unusual" properties of the system are my non-default MAKEOBJDIRPREFIX and the use of ccache. # uname -a FreeBSD AryaStark.norad 9.0-RC1 FreeBSD 9.0-RC1 #0: Wed Oct 26 13:46:13 CEST 2011 root@AryaStark.norad:

9.0 RC1 linking problem with i386 libs on amd64

2011-10-26 Thread Dominic Fandrey
I haven't tried to dig into this. Only "unusual" properties of the system are my non-default MAKEOBJDIRPREFIX and the use of ccache. # uname -a FreeBSD AryaStark.norad 9.0-RC1 FreeBSD 9.0-RC1 #0: Wed Oct 26 13:46:13 CEST 2011 root@AryaStark.norad:/usr/obj/GENERIC/amd64/usr/src/sys/GENERIC am