Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-03-01 Thread Lucas Nali de Magalhães
> On Feb 28, 2019, at 7:40 PM, Warner Losh wrote: > > On Thu, Feb 28, 2019 at 10:00 AM Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > .if defined(KERNEL_LD_OVERRIDE) > LD=${KERNEL_LD_OVERRIDE} > .else > LD=ld.lld > .endif My suggestion would be to test $LD == ld and then use

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Thu, Feb 28, 2019 at 10:00 AM Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > [ Charset UTF-8 unsupported, converting... ] > > > On Thu, 28 Feb 2019 at 09:33, Rodney W. Grimes > > > wrote: > > > > > > > > LD?=ld.lld in the right

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Warner Losh
On Thu, Feb 28, 2019 at 10:00 AM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > [ Charset UTF-8 unsupported, converting... ] > > On Thu, 28 Feb 2019 at 09:33, Rodney W. Grimes > > wrote: > > > > > > LD?=ld.lld in the right place(s)? > > > > Perhaps, I seem to recall some issue with

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Thu, 28 Feb 2019 at 09:33, Rodney W. Grimes > wrote: > > > > LD?=ld.lld in the right place(s)? > > Perhaps, I seem to recall some issue with that, but not the specifics. sys.mk already does a LD?=ld so by the time we try to override it in the

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Rodney W. Grimes
> On Thu, 28 Feb 2019 at 09:33, Rodney W. Grimes > wrote: > > > > LD?=ld.lld in the right place(s)? > > Perhaps, I seem to recall some issue with that, but not the specifics. Any idea on what that issue was? > > And is this still an issue for stable/12 i386? > > or has ld been changed to

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Ed Maste
On Thu, 28 Feb 2019 at 09:33, Rodney W. Grimes wrote: > > LD?=ld.lld in the right place(s)? Perhaps, I seem to recall some issue with that, but not the specifics. > And is this still an issue for stable/12 i386? > or has ld been changed to ld.lld? stable/12 i386 still has GNU ld as /usr/bin/ld

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Thu, 28 Feb 2019 at 08:26, Rodney W. Grimes > wrote: > > > > Are you really rally expecting a user to rebuild the world that > > he just installed that should be exactly the same world he gets > > build (reproduceable builds and all??). > > I'm

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Ed Maste
On Thu, 28 Feb 2019 at 08:26, Rodney W. Grimes wrote: > > Are you really rally expecting a user to rebuild the world that > he just installed that should be exactly the same world he gets > build (reproduceable builds and all??). I'm expecting that a user will either follow the directions in the

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Rodney W. Grimes
> > > > Let me guess. You use 'make' in sys/i386/build/YOUR_KERNEL ? > > > > Then you need to use 'LD=ld.ldd make'. The proper way of > > > > 'make buildkernel' from top-level src handles it automatically. > > > > > > > If you back up in the thread you would also see the output > > > is the same

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Rodney W. Grimes
> > > Let me guess. You use 'make' in sys/i386/build/YOUR_KERNEL ? > > > Then you need to use 'LD=ld.ldd make'. The proper way of > > > 'make buildkernel' from top-level src handles it automatically. > > > > > If you back up in the thread you would also see the output > > is the same for cd

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Ed Maste
> > Let me guess. You use 'make' in sys/i386/build/YOUR_KERNEL ? > > Then you need to use 'LD=ld.ldd make'. The proper way of > > 'make buildkernel' from top-level src handles it automatically. > > > If you back up in the thread you would also see the output > is the same for cd /usr/src; make

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Thu, 28 Feb 2019 at 03:50, Rodney W. Grimes > wrote: > > > > Now the begging question, why isnt the toolchain as shipped > > already properly built? > > The required toolchain is included in 12.0-RELEASE i386 - the linker > is /usr/bin/ld.lld. It

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Ed Maste
On Thu, 28 Feb 2019 at 03:50, Rodney W. Grimes wrote: > > Now the begging question, why isnt the toolchain as shipped > already properly built? The required toolchain is included in 12.0-RELEASE i386 - the linker is /usr/bin/ld.lld. It just needs to be specified explicitly if build via a method

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Rodney W. Grimes
> On Thu, Feb 28, 2019 at 12:49:25AM -0800, Rodney W. Grimes wrote: > > > -- Start of PGP signed section. > > > > On 28 Feb 2019, at 00:37, Rodney W. Grimes > > > > wrote: > > > > > > > > > > config CUSTOM > > > > > Kernel build directory is ../compile/CUSTOM > > > > > Don't forget to do ``make

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Konstantin Belousov
On Thu, Feb 28, 2019 at 12:49:25AM -0800, Rodney W. Grimes wrote: > > -- Start of PGP signed section. > > > On 28 Feb 2019, at 00:37, Rodney W. Grimes > > > wrote: > > > > > > > > config CUSTOM > > > > Kernel build directory is ../compile/CUSTOM > > > > Don't forget to do ``make cleandepend &&

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Rodney W. Grimes
> -- Start of PGP signed section. > > On 28 Feb 2019, at 00:37, Rodney W. Grimes > > wrote: > > > > > > config CUSTOM > > > Kernel build directory is ../compile/CUSTOM > > > Don't forget to do ``make cleandepend && make depend'' > > > fb-bld-120-i386.dnsmgr.net:root {200}# cd ../compile/CUSTOM

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-27 Thread Rodney W. Grimes
-- Start of PGP signed section. > On 28 Feb 2019, at 00:37, Rodney W. Grimes > wrote: > > > > config CUSTOM > > Kernel build directory is ../compile/CUSTOM > > Don't forget to do ``make cleandepend && make depend'' > > fb-bld-120-i386.dnsmgr.net:root {200}# cd ../compile/CUSTOM > >

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-27 Thread Dimitry Andric
On 28 Feb 2019, at 00:37, Rodney W. Grimes wrote: > > config CUSTOM > Kernel build directory is ../compile/CUSTOM > Don't forget to do ``make cleandepend && make depend'' > fb-bld-120-i386.dnsmgr.net:root {200}# cd ../compile/CUSTOM > fb-bld-120-i386.dnsmgr.net:root {201}# (make cleandepend &&

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-27 Thread Rodney W. Grimes
[ Charset ISO-8859-1 unsupported, converting... ] > Rodney W. Grimes wrote: > >config CUSTOM > >Kernel build directory is ../compile/CUSTOM > >Don't forget to do ``make cleandepend && make depend'' > >fb-bld-120-i386.dnsmgr.net:root {200}# cd ../compile/CUSTOM > >fb-bld-120-i386.dnsmgr.net:root

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-27 Thread Rick Macklem
Rodney W. Grimes wrote: >config CUSTOM >Kernel build directory is ../compile/CUSTOM >Don't forget to do ``make cleandepend && make depend'' >fb-bld-120-i386.dnsmgr.net:root {200}# cd ../compile/CUSTOM >fb-bld-120-i386.dnsmgr.net:root {201}# (make cleandepend && make depend && >>make -j4 && make

FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-27 Thread Rodney W. Grimes
config CUSTOM Kernel build directory is ../compile/CUSTOM Don't forget to do ``make cleandepend && make depend'' fb-bld-120-i386.dnsmgr.net:root {200}# cd ../compile/CUSTOM fb-bld-120-i386.dnsmgr.net:root {201}# (make cleandepend && make depend && make -j4 && make install) >