Linux SNPS ARC Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey.Brodkin@synopsys.com (Alexey Brodkin)
To: linux-snps-arc@lists.infradead.org
Subject: [uclibc-ng-devel] [PATCH] ARC: Enable getpt() support in ARC defconfigs
Date: Wed, 1 Mar 2017 18:25:35 +0000	[thread overview]
Message-ID: <1488392734.4659.54.camel@synopsys.com> (raw)
In-Reply-To: <eaea2503-3a2a-2871-7f37-c57ed6504946@synopsys.com>

Hi Vineet,

On Wed, 2017-03-01@10:00 -0800, Vineet Gupta wrote:
> On 03/01/2017 07:25 AM, Thomas Petazzoni wrote:
> > 
> > Hello,
> > 
> > On Tue, 28 Feb 2017 22:02:27 +0300, Vlad Zakharov wrote:
> > > 
> > > This commit enables getpt() support in ARC defconfigs as some packages
> > > need it. E.g. we need this to be able to build xterm package as it uses
> > > getpt().
> > > 
> > > As an example I can refer to buildroot autobuilds where xterm build is
> > > failing when using prebuilt ARC toolchain (which in its turn uses uClibc
> > > without getpt() support):
> > > https://urldefense.proofpoint.com/v2/url?u=http-3A__autobuild.buildroot.net_results_28a_28a92049a6ceef005787c5779f77ecf3fe8ad642_build-2Dend.log
> > > &d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=7FgpX6o3vAhwMrMhLh-4ZJey5kjdNUwOL2CWsFwR4T8&m=ziY-j5w_cIfohygKzr-OKfk6T_9nr9g3b-
> > > kimHZMkxg&s=Bi2mbuDCVZlzqIZy-ahLFXcNKXbqMMobAcwsnHR99yA&e=?
> > > 
> > > Signed-off-by: Vlad Zakharov <vzakhar at synopsys.com>
> > > ---
> > > ?extra/Configs/defconfigs/arc/arcv2_defconfig | 1 +
> > > ?extra/Configs/defconfigs/arc/defconfig???????| 1 +
> > > ?2 files changed, 2 insertions(+)
> > That's more of a question for Waldemar: does it really makes sense to
> > have defconfigs for each architecture? I mean how do they differ
> > between each other?
> > 
> > For example, the ARC arcv2_defconfig and defconfig only differ by the
> > option CONFIG_ARC_CPU_HS, whose only purpose is to pass -mcpu=archs.
> > Shouldn't be the solution used on ARM (removing all options to select
> > the compiler flags, and leave it to the user to pass the appropriate
> > options) be used as well ?
> 
> Yeah that would work fine I guess !

That means for building of our toolchain we'll need to have
separately stored "defconfigs" in some form. Let's see what Anton says on that :)

And regardless of what mr Anton says having off-the-tree defconfigs is not the best idea
because with time options will go in and out and occasionally we'll have outdated
defconfigs.

> > 
> > So, are they really useful? Shouldn't uclibc-ng instead come with just
> > one or two defconfigs, like a "minimal" one and "full-featured" one?
> 
> totally agree and I've historically been pushing back on patches from Alexey et
> all where we wanted to enable toggles to get buildroot packages building.

Those changes I made to make sure our prebuilt toolchain is useful for building
more packages. I.e. to be in one camp with Mentor's (AKA CodeSourcery) prebuilt
tools that are really capable.

> That was
> a fair requirement on their part but it kept bloating uClibc for our typical
> embedded use. But this idea of minimal vs. full featured is exactly what we need.
> @Alexey / @vlad can we take this up please !

Probably Waldemar's opinion might be useful here.
@Waldemar are there any plans for busting arch-specific defconfigs in favor
to generic defconfigs like those "minimal" and "full" mentioned above?

-Alexey

  reply	other threads:[~2017-03-01 18:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28 19:02 [PATCH] ARC: Enable getpt() support in ARC defconfigs Vlad Zakharov
2017-03-01 15:24 ` [uclibc-ng-devel] " Thomas Petazzoni
2017-03-01 18:00   ` Vineet Gupta
2017-03-01 18:25     ` Alexey Brodkin [this message]
2017-03-01 18:35       ` Vineet Gupta
2017-03-01 18:57       ` Anton Kolesov
2017-03-01 19:10         ` Vineet Gupta
2017-03-01 19:28           ` Waldemar Brodkorb
2017-03-01 20:25       ` Thomas Petazzoni
2017-03-01 21:30         ` Alexey Brodkin
2017-03-01 21:45           ` 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=1488392734.4659.54.camel@synopsys.com \
    --to=alexey.brodkin@synopsys.com \
    --cc=linux-snps-arc@lists.infradead.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