From owner-freebsd-current@freebsd.org Wed Mar 14 17:06:44 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 39D20F2B375 for ; Wed, 14 Mar 2018 17:06:44 +0000 (UTC) (envelope-from etnapierala@gmail.com) 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 B7E9F6B657 for ; Wed, 14 Mar 2018 17:06:43 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 716FDF2B374; Wed, 14 Mar 2018 17:06:43 +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 25FBBF2B373 for ; Wed, 14 Mar 2018 17:06:43 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-ua0-x231.google.com (mail-ua0-x231.google.com [IPv6:2607:f8b0:400c:c08::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CC2C6B655; Wed, 14 Mar 2018 17:06:42 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-ua0-x231.google.com with SMTP id f5so2547289uam.5; Wed, 14 Mar 2018 10:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CZ7cRdOgl37rkeGJyReJ2BgR5/mhOPBWtQUIpPTHCt8=; b=CeAdA0wwu3YiaM8Vc0eDX6zdGV1fmCLW6L7Gh2oHuk7ZD2nn8qt5BJLD7kREVPKmSD elUBU9fMe0CDqORLGarya/O6Il0wJLJyxLhI/N+CO3nV16nPnzcHoxQlCnF46TSRY8+P JFuaWEov4ciuwCjU3ssU9ocAD72XQAiMCBpYNQ1/RQ8s3NcpVwH9dOxvmMAQHGePNm1K q3neMt92JMIW4iC/Gn125/LzsYVRDcguz6DEAMt8SNI6euI4ziU/Nrg15YBnsA73Atl5 dxMQAliMG9vs8B82TF46d5YGPfFgZY1Gb7O8Lk9wj7HAmzcDIrUjopd6OOHxEyc+kJCH SW1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CZ7cRdOgl37rkeGJyReJ2BgR5/mhOPBWtQUIpPTHCt8=; b=Om2FTvH3WdA/kEhWg59adG19xRH6Oj72xhcnW/xygcdBfTv4YVZIxuIijNRi7K+Icm aPUk4HMdbCrPuqVyHD3i2WlM1h1DQ/VhRhbhBMIY6jj08OyOkN/Co2VrjExc6cE9SoTV CUYpYbI3BEQ4BUVQ9vUV37eFY5DFHzxW8fhUCKfJNdar9LGaQWMqODBw4Nnd/yMoK2QP CG5Cn+aonGHMM3l5kZdGHPn35viDroy588BEDlNftPSU+03OI+Ma0YR45BvZCsIbrvYo BwUps2PgLLEg5kbVRQV4T3LrLQf58lee4VLjjC2zY64ysI/CVMbXWDfnTUz4yjog5VqX rbBQ== X-Gm-Message-State: AElRT7Fee6tsV2bOawDCmmNXukEtgye9LmoTr30zIgttcTpNFdKk9Yeq Te5gQ8Iar6+UjNh5wDaF/BiRHf1HXc+gahok+hU= X-Google-Smtp-Source: AG47ELvH7iZkU0PWSJkYU76xADQA0O1ughdmNAsaBh9WgSi1SlNESoUBE4VSFncyYm1qoryLGiIKCWfKbGinnyLcIlQ= X-Received: by 10.176.18.70 with SMTP id s6mr3682731uac.144.1521047160578; Wed, 14 Mar 2018 10:06:00 -0700 (PDT) MIME-Version: 1.0 Sender: etnapierala@gmail.com Received: by 10.176.9.79 with HTTP; Wed, 14 Mar 2018 10:05:55 -0700 (PDT) In-Reply-To: <4c4f2a9c-be75-29f1-3ec6-d1ac774b0015@FreeBSD.org> References: <20180313084010.GA13194@brick> <6A1A6820-5A7E-410F-8C0F-F049CDBD9E4A@cs.huji.ac.il> <4c4f2a9c-be75-29f1-3ec6-d1ac774b0015@FreeBSD.org> From: Edward Napierala Date: Wed, 14 Mar 2018 17:05:55 +0000 X-Google-Sender-Auth: _GW2igzTTEPtO0NVBviCuiuQt_U Message-ID: Subject: Re: devdmatch: Can't read linker file. To: Steve Wills Cc: Warner Losh , Daniel Braniss , FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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:06:44 -0000 Hm. Perhaps we should make kldxref_enable default to YES by default on all platforms, then? The overhead is pretty much none when it has nothing to do - it won't try to recreate the linker.hints if it already exists. 2018-03-14 17:01 GMT+00:00 Steve Wills : > 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=C5=82a < >>>> 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=E2=80=99s 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@f >>>> reebsd.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.or= g >> " >> >>