From: Nathan Chancellor <natechancellor@gmail.com>
To: Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>
Cc: devicetree@vger.kernel.org, clang-built-linux@googlegroups.com
Subject: Error in dtc around -fno-common
Date: Tue, 10 Mar 2020 00:53:28 -0700 [thread overview]
Message-ID: <20200310075328.GA17573@ubuntu-m2-xlarge-x86> (raw)
Hi all,
GCC 10 is defaulting to -fno-common and Clang has decided to join it [1],
which will completely turn our CI [2] red across the board when our
compiler uprevs in the current tree's state:
ld.lld: error: duplicate symbol: yylloc
>>> defined at dtc-lexer.lex.c
>>> scripts/dtc/dtc-lexer.lex.o:(yylloc)
>>> defined at dtc-parser.tab.c
>>> scripts/dtc/dtc-parser.tab.o:(.bss+0x10)
clang-11: error: linker command failed with exit code 1 (use -v to see
invocation)
Is it possible to pick a single patch from dtc and get it fast tracked
to mainline/stable so that this does not happen? It would be this one:
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=0e9225eb0dfec51def612b928d2f1836b092bc7e
I have tested it and it works fine. If that is not possible, how would
you recommend solving this issue?
[1]: https://github.com/llvm/llvm-project/commit/3d9a0445cce368b55dc3a573bc91fe902bbb977f
[2]: https://travis-ci.com/ClangBuiltLinux/continuous-integration/builds/152428887
Cheers,
Nathan
next reply other threads:[~2020-03-10 7:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-10 7:53 Nathan Chancellor [this message]
2020-03-11 20:38 ` Error in dtc around -fno-common Nick Desaulniers
2020-03-13 13:33 ` Rob Herring
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=20200310075328.GA17573@ubuntu-m2-xlarge-x86 \
--to=natechancellor@gmail.com \
--cc=clang-built-linux@googlegroups.com \
--cc=devicetree@vger.kernel.org \
--cc=frowand.list@gmail.com \
--cc=robh+dt@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).