From: Nathan Chancellor <nathan@kernel.org>
To: kbuild-all@lists.01.org
Subject: Re: aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `security/keys/trusted-keys/tpm2key.asn1.o' being placed in section `.eh_frame'
Date: Fri, 29 Jan 2021 10:39:34 -0700 [thread overview]
Message-ID: <20210129173934.GA2433246@localhost> (raw)
In-Reply-To: <aa8e8553c1e94e2b2225aa66557f6a49886b0203.camel@HansenPartnership.com>
[-- Attachment #1: Type: text/plain, Size: 2773 bytes --]
On Fri, Jan 29, 2021 at 09:20:52AM -0800, James Bottomley wrote:
> On Fri, 2021-01-29 at 22:27 +0800, kernel test robot wrote:
> > tree:
> > https://github.com/0day-ci/linux/commits/UPDATE-20210129-183238/James-Bottomley/TPM-2-0-trusted-key-rework/20210129-175906
> > head: d98ce41d6c32fa78e380385c6e146f752e4d3809
> > commit: af175fe469c6f0bdd1e14a14a3d107e7adb122bb security: keys:
> > trusted: use ASN.1 TPM2 key format for the blobs
> > date: 4 hours ago
> > config: arm64-randconfig-r023-20210129 (attached as .config)
> > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project
> > 275c6af7d7f1ed63a03d05b4484413e447133269)
> > reproduce (this is a W=1 build):
> > wget
> > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
> > -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > # install arm64 cross compiling tool for clang build
> > # apt-get install binutils-aarch64-linux-gnu
> > #
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=af175fe469c6f0bdd1e14a14a3d107e7adb122bb
> > git remote add linux-review
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > git fetch --no-tags linux-review UPDATE-20210129-
> > 183238/James-Bottomley/TPM-2-0-trusted-key-rework/20210129-175906
> > git checkout af175fe469c6f0bdd1e14a14a3d107e7adb122bb
> > # save the attached .config to linux build tree
> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross
> > ARCH=arm64
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <lkp@intel.com>
> >
> > All warnings (new ones prefixed by >>):
> >
> > aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from
> > `fs/dlm/rcom.o' being placed in section `.eh_frame'
>
> What's the problem here? the file you're complaining about is pure
> machine generated so I can't alter its .c anyway and this looks like
> some type of linker problem anyway.
>
> Let's start with what does the error actually mean?
Unfortunately, this is a clang bug:
https://github.com/ClangBuiltLinux/linux/issues/1069
$ curl -LSs https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org/message/OWC2ZF3C6UTA6ND74UJVSJ4BRRKFGJKC/attachment/2/config.gz | gzip -d | rg "GCOV"
# GCOV-based kernel profiling
CONFIG_GCOV_KERNEL=y
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
CONFIG_GCOV_PROFILE_ALL=y
# end of GCOV-based kernel profiling
I will try to send out that workaround today so that we stop pinging
developers about it (and it would be nice if the 0day folks could just
send warnings of this nature to our mailing list only).
Cheers,
Nathan
next parent reply other threads:[~2021-01-29 17:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <aa8e8553c1e94e2b2225aa66557f6a49886b0203.camel@HansenPartnership.com>
2021-01-29 17:39 ` Nathan Chancellor [this message]
2021-01-31 4:28 ` aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `security/keys/trusted-keys/tpm2key.asn1.o' being placed in section `.eh_frame' Philip Li
2021-01-29 14:27 kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210129173934.GA2433246@localhost \
--to=nathan@kernel.org \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.