From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Makefile: Disable stack-usage check for ARC
Date: Wed, 4 Apr 2018 09:14:54 -0400 [thread overview]
Message-ID: <20180404131454.GO19725@bill-the-cat.ec.rr.com> (raw)
In-Reply-To: <1522831875.4851.5.camel@synopsys.com>
On Wed, Apr 04, 2018 at 08:51:16AM +0000, Alexey Brodkin wrote:
> Hi Tom,
>
> On Tue, 2018-04-03 at 16:49 -0400, Tom Rini wrote:
> > On Tue, Apr 03, 2018 at 08:27:20PM +0000, Alexey Brodkin wrote:
> > > Hi Tom,
> > >
> > > On Tue, 2018-04-03 at 16:25 -0400, Tom Rini wrote:
> > > > On Tue, Apr 03, 2018 at 08:21:06PM +0000, Alexey Brodkin wrote:
> > > > > Hi Tom,
> > > > >
> > > > > On Tue, 2018-04-03 at 16:17 -0400, Tom Rini wrote:
> > > > > > On Mon, Apr 02, 2018 at 12:18:02PM +0300, Alexey Brodkin wrote:
> > > > > >
> > > > > > > With the most recent tools for ARC (arc-2017.09) in case of
> > > > > > > "naked" function compiler throws a warning:
> > > > > > > ---------------------------------->8-----------------------------
> > > > > > > board/synopsys/hsdk/hsdk.c: In function 'hsdk_core_init_f':
> > > > > > > board/synopsys/hsdk/hsdk.c:345:1: warning: stack usage computation not supported for this target
> > > > > > > }
> > > > > > > ^
> > > > > > > ---------------------------------->8-----------------------------
> > > > > > >
> > > > > > > That happens because the compiler doesn't handle "naked" functions
> > > > > > > as a special case where stack calculation shouldn't be done.
> > > > > > >
> > > > > > > But for now until this is fixed in GCC to get clean buildman output
> > > > > > > we're disabling stack-usage check for ARC.
> > > > > > >
> > > > > > > See https://lists.denx.de/pipermail/u-boot/2018-April/324455.html
> > > > > > > for more background.
> > > > > > >
> > > > > > > Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> > > > > > > Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
> > > > > > > Cc: Tom Rini <trini@konsulko.com>
> > > > > >
> > > > > > Erm, this patch isn't working for me. I take the current ARC PR, and
> > > > > > apply this, and I still see the warning showing up.
> > > > >
> > > > > How do you see an issue?
> > > > > Could you please make sure arc-2017.09 tools are used but not arc-2016.09?
> > > > > See my change for TravisCI in the same PR.
> > > >
> > > > ... but the patch here is disabling -fstack-usage altogether for ARC,
> > > > yes?
> > >
> > > Right, but that's a temporary "patch" for the problem in hand.
> > > Once GCC 8.x gets released we'll just switch to it and that problem shouldn't
> > > bother us any longer.
> >
> > OK. But this patch doesn't work and we're trying -fstack-usage is the
> > problem I see :)
>
> Well probably I'm missing something :)
>
> Here's a TravisCI job for ARC that passes perfectly fine:
> https://travis-ci.org/abrodkin/u-boot/jobs/362026822
>
> Stuff that is built there is here:
> https://github.com/abrodkin/u-boot/commits/staging-arc
Yes, OK, moving to 2017.09 also is fine here, so I'm just going to
accept it and move on. Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180404/17fe1d2a/attachment.sig>
next prev parent reply other threads:[~2018-04-04 13:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-02 9:18 [U-Boot] [PATCH] Makefile: Disable stack-usage check for ARC Alexey Brodkin
2018-04-03 20:17 ` Tom Rini
2018-04-03 20:21 ` Alexey Brodkin
2018-04-03 20:25 ` Tom Rini
2018-04-03 20:27 ` Alexey Brodkin
2018-04-03 20:49 ` Tom Rini
2018-04-04 8:51 ` Alexey Brodkin
2018-04-04 13:14 ` Tom Rini [this message]
2018-04-04 13:18 ` Tom Rini
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=20180404131454.GO19725@bill-the-cat.ec.rr.com \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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