Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2018 13:01:37 -0400
From:      Steve Wills <swills@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>, Daniel Braniss <danny@cs.huji.ac.il>
Cc:        Edward Napierala <trasz@freebsd.org>, FreeBSD Current <current@freebsd.org>
Subject:   Re: devdmatch: Can't read linker file.
Message-ID:  <4c4f2a9c-be75-29f1-3ec6-d1ac774b0015@FreeBSD.org>
In-Reply-To: <CANCZdfrbXWJVB9zkbB_coqj1OD4eW1Pt4xLU6OWBoCbj4ztk1w@mail.gmail.com>
References:  <DA4F5B3C-56E1-4805-93CA-9E9DC8B9A03A@cs.huji.ac.il> <CANCZdfqNd07z5Uy2Tb1LqWhn7VTUDF_YpzR-k%2Bjz-8cRxZYqgw@mail.gmail.com> <20180313084010.GA13194@brick> <CANCZdfqa5-hKMgyovcumTukL5yB_3LYCB5yYX4EH5o2QeePG%2Bw@mail.gmail.com> <CAFLM3-rNToE_skk%2BqVD7XjYYBz-qaGSDT%2BZBcSeEYNWUGjjQ5g@mail.gmail.com> <6A1A6820-5A7E-410F-8C0F-F049CDBD9E4A@cs.huji.ac.il> <CANCZdfrbXWJVB9zkbB_coqj1OD4eW1Pt4xLU6OWBoCbj4ztk1w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
FWIW, I ran into this issue on an i386 image I built from an amd64 host 
using poudriere and poudriere image.

Steve

On 03/13/2018 14:44, Warner Losh wrote:
> 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 <danny@cs.huji.ac.il>
> wrote:
> 
>>
>>
>> On 13 Mar 2018, at 19:12, Edward Napierala <trasz@freebsd.org> 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 <imp@bsdimp.com>:
>>
>>> 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 <
>>> trasz@freebsd.org>
>>> 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 <danny@cs.huji.ac.il>
>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>> the above i get on arm/nanopi-neo. (it’s the only platform I run
>>>> current
>>>>>> :-)
>>>>>>
>>>>>> cheers,
>>>>>>          danny
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> freebsd-current@freebsd.org mailing list
>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@
>>>> freebsd.org"
>>>>
>>> _______________________________________________
>>> freebsd-current@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org
>>> "
>>>
>>
>>
>>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4c4f2a9c-be75-29f1-3ec6-d1ac774b0015>