Re: ifuncs check flawed?

2019-03-25 Thread Dan Allen
> On 23 Mar 2019, at 10:13 AM, Ed Maste wrote: > > To help track this down can you run `make buildenv` and then in the > resulting shell collect the output of `which ld` and `ld --version`? Thanks for the info & help Ed. I did the same experiment with the latest 12-SNAPSHOT without any

Re: ifuncs check flawed?

2019-03-23 Thread Ed Maste
On Tue, 19 Mar 2019 at 16:54, Dan Allen wrote: > > That is why I think the check is flawed! The check works as intended, as suggested by the non-booting kernel produced with the checks removed. To help track this down can you run `make buildenv` and then in the resulting shell collect the

Re: ifuncs check flawed?

2019-03-19 Thread Dan Allen
> On 19 Mar 2019, at 9:34 AM, Ed Maste wrote: > > There are a few different ways you could address this: > 1. Build either the buildworld or kernel-toolchain targets before make > buildkernel, which will then use the built toolchain including lld. I did this, and it did not work. I always

Re: ifuncs check flawed?

2019-03-19 Thread Ed Maste
On Mon, 18 Mar 2019 at 13:03, Dan Allen wrote: > > The buildworld and buildkernel steps both immediately fail due to the linker > not supporting ifuncs. By default FreeBSD/i386 uses lld as the bootstrap linker (i.e., the linker used for building the kernel, libraries, and userland binaries) but

re: ifuncs check flawed?

2019-03-18 Thread Dan Allen
Another data point: I did the whole experiment with the latest 12-STABLE but for amd64 and everything builds fine without changes, and runs fine too. I used the same src.conf and make.conf. So the problem is definitely with i386. Dan ___

re: ifuncs check flawed?

2019-03-18 Thread Dan Allen
Well, everything built fine, but the kernel faults on boot, so the checks are probably needed. ;-) I still do not understand why the linker that is part of 12-STABLE does not provide the support needed. The directives in my src.conf and make.conf do not delete the lld linker. They just cut

re: ifuncs check flawed?

2019-03-18 Thread Dan Allen
The ifuncs check for buildkernel is identical to the one in /usr/src/lib/libc/Makefile and is here: /usr/src/sys/conf/kern.pre.mk Dan ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To