From owner-freebsd-current@freebsd.org Wed Aug 19 13:29:20 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 136DC3BE7FD for ; Wed, 19 Aug 2020 13:29:20 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-il1-f196.google.com (mail-il1-f196.google.com [209.85.166.196]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BWpXb22mVz3YHw for ; Wed, 19 Aug 2020 13:29:19 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-il1-f196.google.com with SMTP id j9so20602213ilc.11 for ; Wed, 19 Aug 2020 06:29:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Yri5YzutDosWQFDLdb8mFh6CWEkXeht4Qk2h2UNxXbI=; b=GlA75n1ct1Yu3TfQNMpajbMY+WXdL3MYqv1mvYz31/EfKZoKxCK5dmJuTurJk++2wN KHCydm+WdduGVGVl6zmhfSKZBb1j8/QOffWVzdNggP0XKgYwhukzK1MOtSU02EsM64mU ypFuozKp6nFO0DoxR1S6kOuAuehATRRdcVzwSZBZTRemjeoJl1l7vUkslNFfP/+OzF2B As7rbL+uGW6hBcTyENjTafvUVYD0kSodJpO266AyP9B2lqyO+TPu6HKSxyRgVIWxupeZ xb7JOSlmNfBiaCcGByQ//W+GGiTGmj4crCvi6DwXJKNtxgEneHSZJppA/l1tJ0b3odIW v8hg== X-Gm-Message-State: AOAM5317UNvl8ZEkZvQxSfCm3SbW2vfSFTxVwvnOGCeqjX8ulUDMzxII afcEzcdzdxExsvK/TKvql9a0L60j8yT3uCEn3M/FCAO0JDs= X-Google-Smtp-Source: ABdhPJyw7Z1Da8om/uEmz1tJfsPNSDI6zM4J6HmYNysClGeZQlE6PepjO2rOh4Thwi47qPyCrH+lPyyAaa87vWVB4jg= X-Received: by 2002:a92:4f:: with SMTP id 76mr17897890ila.11.1597843757796; Wed, 19 Aug 2020 06:29:17 -0700 (PDT) MIME-Version: 1.0 References: <0be4e1e1-a7a4-49c3-4865-3302786c2c00@protected-networks.net> In-Reply-To: From: Ed Maste Date: Wed, 19 Aug 2020 09:29:05 -0400 Message-ID: Subject: Re: kldref: too many segments on kernel build To: Dustin Marquess Cc: Michael Butler , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4BWpXb22mVz3YHw X-Spamd-Bar: / X-Spamd-Result: default: False [-0.20 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; FREEFALL_USER(0.00)[carpeddiem]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.20)[-0.203]; RCVD_IN_DNSWL_NONE(0.00)[209.85.166.196:from]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.166.196:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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, 19 Aug 2020 13:29:20 -0000 On Wed, 19 Aug 2020 at 00:19, Dustin Marquess wrote: > > On Tue, Aug 18, 2020 at 3:19 PM Michael Butler > wrote: > > > > Any thoughts as to why this is happening when I build a (custom) kernel? > > > > kldxref: /boot/kernel/kernel: too many segments > > I'm seeing this too. I haven't tried actually booting the kernel > because of this. This is fallout from Clang 11. The kernel should boot fine despite the warnings, and this should be cleaned up in the near future (by increasing the number of segments supported by kldxref, by changing the kernel linker script, or a combination of both).