Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] toolchain: Bump ARC tools to arc-2016.09-rc1
Date: Mon, 14 Nov 2016 21:45:35 +0100	[thread overview]
Message-ID: <20161114214535.02025d6f@free-electrons.com> (raw)
In-Reply-To: <1479146197-41383-1-git-send-email-vzakhar@synopsys.com>

Hello,

On Mon, 14 Nov 2016 20:56:37 +0300, Vlad Zakharov wrote:
> As described at:
> 4520524ba055706236db9f00dd79f1b2e2e87fde
> this commit continues a series of updates of ARC tools.
> This time we're updating tools to arc-2016.09-rc1.
> 
> This update contains a lot of important fixes, e.g. it fixes:
> http://autobuild.buildroot.net/results/4c7/4c77f33c842b37bf28cb931edf1b290e1bf4d93c//
> http://autobuild.buildroot.net/results/902/902729a0b98675ad803939e3ecdcf230065a6012//
> and other failures.
> 
> Other important change is that we also update gdb. Now we are
> using gdb 7.12.
> 
> This version of gdb requires C++ toolchain support so we add
> corresponding dependency to gdb Config.in file.
> 
> Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>

Thanks. Even though it's a bump of a major component, it's fixing some
annoying build issues, and I guess a "rc" release is better than the
"engineering builds" we were using so far, so I've applied to master.
However, I had two things to fix before applying, see below.


> +	# Since ARC gdb moved to 7.12 toolchain requires C++ support to build gdb.
> +	depends on !BR2_arc || BR2_TOOLCHAIN_BUILDROOT_CXX

BR2_TOOLCHAIN_BUILDROOT_CXX is not correct here. This symbol only makes
sense in the context of the internal toolchain backend. But the target
gdb package makes perfect sense even when an external toolchain is
used.

To add a dependency on C++ support, you must use the
BR2_INSTALL_LIBSTDCPP symbol. This one is valid regardless of whether
you're using the internal toolchain backend or the external toolchain
backend.

Also, you forgot to add a comment about this C++ dependency, so I've
added it.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2016-11-14 20:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-14 17:56 [Buildroot] [PATCH] toolchain: Bump ARC tools to arc-2016.09-rc1 Vlad Zakharov
2016-11-14 20:45 ` Thomas Petazzoni [this message]
2016-11-14 21:33 ` Thomas Petazzoni

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=20161114214535.02025d6f@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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