From owner-freebsd-current@freebsd.org Wed Mar 14 17:02:07 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CED9698A for ; Wed, 14 Mar 2018 17:02:07 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CE2A26B1FB for ; Wed, 14 Mar 2018 17:02:06 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8F1476985; Wed, 14 Mar 2018 17:02:06 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 546556984 for ; Wed, 14 Mar 2018 17:02:06 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DE2016B1F5; Wed, 14 Mar 2018 17:02:05 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from lrrr.mouf.net (cpe-24-163-43-246.nc.res.rr.com [24.163.43.246]) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id w2EH1gHs007262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 14 Mar 2018 17:01:48 GMT (envelope-from swills@FreeBSD.org) Subject: Re: devdmatch: Can't read linker file. To: Warner Losh , Daniel Braniss Cc: Edward Napierala , FreeBSD Current References: <20180313084010.GA13194@brick> <6A1A6820-5A7E-410F-8C0F-F049CDBD9E4A@cs.huji.ac.il> From: Steve Wills Message-ID: <4c4f2a9c-be75-29f1-3ec6-d1ac774b0015@FreeBSD.org> Date: Wed, 14 Mar 2018 13:01:37 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Wed, 14 Mar 2018 17:01:50 +0000 (UTC) X-Spam-Status: No, score=1.3 required=4.5 tests=RCVD_IN_RP_RNBL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.99.2 at mouf.net X-Virus-Status: Clean X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2018 17:02:07 -0000 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 > wrote: > >> >> >> On 13 Mar 2018, at 19:12, Edward Napierala 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 : >> >>> 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 >>>> 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" >