From owner-svn-src-head@freebsd.org Tue Mar 5 16:28:36 2019 Return-Path: Delivered-To: svn-src-head@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 B500C1507315; Tue, 5 Mar 2019 16:28:36 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4577872076; Tue, 5 Mar 2019 16:28:36 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lj1-f196.google.com with SMTP id l5so8152042lje.1; Tue, 05 Mar 2019 08:28:36 -0800 (PST) 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=LENWOBxn852TKip04JPxMrIbGvZdL9hsQNreeqNgJNI=; b=P1MWb74+1jee4USYc1yHtoPocHZny5qRaxsiI08dyj6M/ebfVysPCoCISJLrHfasBH iWCoO4novT6baHO1ExrQt4Vx5GMpVSLG+bhyfs60PwWJQfE3QkW4FEphf43meobFLkoC +PYrkXg+yNfbapEB8izxaIqcexb1Cb6XE9CvuFTTs8FtAeT4At41T3I79LW7jGtENVpR U7dpaDAQ6UOLI3g6uKFemEXIT2V5ulUVqpYMd56T7FVm8dKJzg4zB3LDffuZXRDzX3VU 73/BdSs/NEuAoze3IpiJKDGbmzt/Y4hp/x33CzfDR+V3qxW5tWqmpHfFpF3My5VC10va wWyQ== X-Gm-Message-State: APjAAAUEv1zj/Z//s04mcAZ6TX4BvlMMo6MoKEe4RAlRCrv5iFP83y6q xqyQpWUM049NEZf8IoORN+pmhurRMmqc6JRJvLyf3Q== X-Google-Smtp-Source: APXvYqz4ATdxuLiRyEK8Wm/RPZvBeFcefqClsyeHhI67kTAvnzIfQO++MUUdLUjfZFrxf84kjI4uzslAZh9wxWTVJv8= X-Received: by 2002:a2e:9dda:: with SMTP id x26mr14247384ljj.53.1551803308777; Tue, 05 Mar 2019 08:28:28 -0800 (PST) MIME-Version: 1.0 References: <201902232114.x1NLE0cH085345@repo.freebsd.org> In-Reply-To: From: Alan Somers Date: Tue, 5 Mar 2019 09:28:17 -0700 Message-ID: Subject: Re: svn commit: r344487 - in head/sys: conf gnu/gcov To: Matthew Macy Cc: src-committers , svn-src-all , svn-src-head Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4577872076 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.955,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2019 16:28:37 -0000 It's not a problem with the version; they're built from the same source. But is there a problem with the compiler? Can a GCC-built kernel work with Clang-built world? On Tue, Mar 5, 2019 at 12:54 AM Matthew Macy wrote: > > World? It looks like there's a version mismatch between the kernel and modules. > > -M > > On Thu, Feb 28, 2019 at 7:11 PM Alan Somers wrote: > > > > On Thu, Feb 28, 2019 at 6:40 PM Matthew Macy wrote: > > > > > > to config add: > > > options LINDEBUGFS > > > options GCOV > > > > > > compile kernel with gcc (otherwise it will be a no-op) > > > > > > sysctl debug.gcov.enable=1 > > > > > > mount -t debugfs debugfs /sys/kernel/debug > > > > > > (or wherever) and the output artifacts will appear under gcov/ > > build path> - you need to be root to see the artifacts > > > > > > gcov can then generate the results as it would normally from the > > > profiling and the build time artifacts > > > > > > bug reports welcome > > > > > > > > > -M > > > > Here's a bug report: I rebuilt the kernel but boot fails with this > > error. Do I need to rebuild world too? > > > > Mounting local filesystems:kldload: fdescfs.ko: lost base for reltab > > linker_load_file: /boot/kernel/fdescfs.ko - unsupported file type > > mount: fdescfs: Operation not supported by device > > Mounting /etc/fstab filesystems failed, will retry after root mount hold release > > kldload: fdescfs.ko: lost base for reltab > > linker_load_file: /boot/kernel/fdescfs.ko - unsupported file type > > mount: fdescfs: Operation not supported by device > > . > > Mounting /etc/fstab filesystems failed, startup aborted