Makes sense. I'd forgotten that kldxref can't do cross-platform stuff....
One could arrange to build it targeting arch X but running on the native
host and fix things that way. Nobody has care enough to do that, though
perhaps this gives us a use case for why one might want to try.

Warner

On Tue, Mar 13, 2018 at 11:41 AM, Daniel Braniss <[email protected]>
wrote:

>
>
> On 13 Mar 2018, at 19:12, Edward Napierala <[email protected]> wrote:
>
> I think it's only needed for kernels that are cross-built.  That's due to
> kldxref(8) being unable to handle kernels for other architectures.
>
> my case exactly.
>
> 2018-03-13 13:34 GMT+00:00 Warner Losh <[email protected]>:
>
>> I wonder why that isn't the default, or why the linker.hints isn't at
>> least
>> created by the make installkernel step...
>>
>> Warner
>>
>> On Tue, Mar 13, 2018 at 2:40 AM, Edward Tomasz Napierała <
>> [email protected]>
>> wrote:
>>
>> > FWIW, it seems to be a common problem, see https://reviews.freebsd.org/
>> > D14534.
>> >
>> > On 0312T1027, Warner Losh wrote:
>> > > Well, is there a /boot/kernel/linker.hints?
>> > >
>> > > Warner
>> > >
>> > > On Mon, Mar 12, 2018 at 9:56 AM, Daniel Braniss <[email protected]>
>> > wrote:
>> > >
>> > > > Hi,
>> > > > the above i get on arm/nanopi-neo. (it’s the only platform I run
>> > current
>> > > > :-)
>> > > >
>> > > > cheers,
>> > > >         danny
>> > > >
>> > > >
>> > > _______________________________________________
>> > > [email protected] mailing list
>> > > https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@
>> > freebsd.org"
>> >
>> _______________________________________________
>> [email protected] mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "[email protected]
>> "
>>
>
>
>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"

Reply via email to