From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1ACAC4363C for ; Sun, 4 Oct 2020 07:42:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 68806206B5 for ; Sun, 4 Oct 2020 07:42:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="UJ0hPVHB" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725840AbgJDHmy (ORCPT ); Sun, 4 Oct 2020 03:42:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725820AbgJDHmx (ORCPT ); Sun, 4 Oct 2020 03:42:53 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4193C0613CE for ; Sun, 4 Oct 2020 00:42:53 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id k8so4449228pfk.2 for ; Sun, 04 Oct 2020 00:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YfJ6oI/cx9RfsuyVosR0SJxaCQ+cWKtTDlmRTsDCB9o=; b=UJ0hPVHB1fPPShGpiGyAHioRu5zQERm9VGgu03OGDVKR9Wk+UWm2B/0c66MBi8IGOy jOE1W5pw0hpOavL+/4BpIgJRFwCPA+dx1FVQvXfYuRi6vLjmqtFhQMlezdjm2CxTxiwF ty/Qs8z2Dv7gEIihbr5/BskJMG6Emz4pWA0eo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=YfJ6oI/cx9RfsuyVosR0SJxaCQ+cWKtTDlmRTsDCB9o=; b=RHWoSVTTQwXA0kRqsJMAzkKYczg1Tu2s5Ic550CxAJ3y7zUWOk1sjILcZkS3x3NME4 lRroWvRhoiGyrb7VPEXmfaevh3fjeK33nR6NyUah7KJiTU1HKVfLBpQKNdWvP1sScsMD KSN2MeN6DUtWsL8cfO5t2g//85rP2nK6P3tP6jMdOCbyVNzZFy0x4M44J5gOyFM9zFus dV6AlI0W8Rd0oOl/Dd/Y6+9UKq4oM487HpVFZ28lBGwwUs9EADz4/VeHUggX87BdyUy6 7eQD7rO+dXvSv0gBVk0YW0gPmH5gs2M9Ok9p0l4NCUmijmoRH4B5EOep++/9peq9kyxx pYFg== X-Gm-Message-State: AOAM533xZdwX1/kOeD0xfvhB4mgvJKjQFtQa6een1FO00PNTLu473P6e y5FsE85WTtUCfe+aRWNAAil15g== X-Google-Smtp-Source: ABdhPJyogk1UCoNcQg7FX1meMqKl7T/kZ1fK+7W9VWE5nFJXVNtqCYYfvScQ9l84dg7CC+RzblGlKQ== X-Received: by 2002:aa7:97a8:0:b029:13e:d13d:a105 with SMTP id d8-20020aa797a80000b029013ed13da105mr10972037pfq.33.1601797373308; Sun, 04 Oct 2020 00:42:53 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id s28sm8001324pfd.111.2020.10.04.00.42.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Oct 2020 00:42:52 -0700 (PDT) Date: Sun, 4 Oct 2020 00:42:51 -0700 From: Kees Cook To: Stephen Rothwell Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Linux Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build warning after merge of the tip tree Message-ID: <202010032117.0A418A3FF7@keescook> References: <20200914132249.40c88461@canb.auug.org.au> <202010031451.ABC49D88@keescook> <20201004102437.12fb0442@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201004102437.12fb0442@canb.auug.org.au> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 04, 2020 at 10:24:37AM +1100, Stephen Rothwell wrote: > On Sat, 3 Oct 2020 14:54:46 -0700 Kees Cook wrote: > > On Mon, Sep 14, 2020 at 01:22:49PM +1000, Stephen Rothwell wrote: > > > > > > After merging the tip tree, today's linux-next build (x86_64 allmodconfig) > > > produced this warning: > > > > > > x86_64-linux-gnu-ld: warning: orphan section `.ctors.65435' from `kernel/trace/trace_selftest_dynamic.o' being placed in section `.ctors.65435' > > > [...] > > > > Is it only trace that is warning? > > Yes, it is only trace. it is always 65435 as well, in case that matters. > > > > gcc (Debian 10.2.0-5) 10.2.0 > > > GNU ld (GNU Binutils for Debian) 2.35 > > > > I can't reproduce this with: > > > > gcc (Ubuntu 10.2.0-11ubuntu1) 10.2.0 > > GNU ld (GNU Binutils for Ubuntu) 2.35.1 > > > > Are you running Debian testing or unstable? (I see binutils 2.35.1 is > > in both, so was this fixed in the .1?) > > > > I will go build a Debian testing container... Still nothing for me on Debian testing, x86_64 host: gcc (Debian 10.2.0-9) 10.2.0 GNU ld (GNU Binutils for Debian) 2.35.1 $ lsb_release -r Release: testing $ uname -m x86_64 > I am running testing. Just upgraded to 2.35.1 and the messages are > still there. (I did a build of just tip/auto-latest - this is a cross > build powerpc le hosted) Interesting. I can't imagine this would be host-specific? -- Kees Cook