All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] [WIP PATCH 2/5] gcc-final: disable shared build for static
Date: Mon, 26 May 2014 08:02:44 -0300	[thread overview]
Message-ID: <53831F54.4060703@zacarias.com.ar> (raw)
In-Reply-To: <20140526120731.729c0a2f@free-electrons.com>

On 05/26/2014 07:07 AM, Thomas Petazzoni wrote:

> Yeah, I read on the rest of your patches, and the patch changing
> --static to -static indeed makes it clear that it fixes the problem for
> external toolchains. IMO, switching from --static to -static is the
> real fix: the build process should not be confused by the presence of
> libstdc++.so even if we're doing a pure static build.
> 
> Also, about reverting back from --static to -static, would it be useful
> to contact Andy Kennedy to have more details about why he made the
> change? His commit log lacks the details on why he changed from -static
> to --static.

In tests for the internal toolchain audiofile builds but mpd fails to
link with that change alone (+host-gcc-final static works, actually with
host-gcc-fnial static alone it works).
For an external toolchain it works with the -static change.
Regards.

  reply	other threads:[~2014-05-26 11:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-25 22:12 [Buildroot] [WIP PATCH 0/5] Static linking fixes Gustavo Zacarias
2014-05-25 22:12 ` [Buildroot] [WIP PATCH 1/5] uclibc: don't install tools to staging when static Gustavo Zacarias
2014-05-26  9:35   ` Thomas Petazzoni
2014-07-15 18:54   ` Thomas Petazzoni
2014-05-25 22:12 ` [Buildroot] [WIP PATCH 2/5] gcc-final: disable shared build for static Gustavo Zacarias
2014-05-26  9:37   ` Thomas Petazzoni
2014-05-26 10:04     ` Gustavo Zacarias
2014-05-26 10:07       ` Thomas Petazzoni
2014-05-26 11:02         ` Gustavo Zacarias [this message]
2014-05-26  9:38   ` Thomas Petazzoni
2014-05-26 10:06     ` Gustavo Zacarias
2014-05-26 10:24       ` Thomas Petazzoni
2014-05-26 11:03         ` Gustavo Zacarias
2014-05-26 12:05           ` Thomas Petazzoni
2014-05-25 22:12 ` [Buildroot] [WIP PATCH 3/5] libiconv: disable preloadable for static builds Gustavo Zacarias
2014-05-25 22:12 ` [Buildroot] [WIP PATCH 4/5] package infra: revert 0a4bd19f Gustavo Zacarias
2014-05-25 22:13 ` [Buildroot] [WIP PATCH 5/5] package infra: add -static to C/CXXFLAGS Gustavo Zacarias
2014-05-26  8:13 ` [Buildroot] [WIP PATCH 0/5] Static linking fixes Thomas De Schampheleire
2014-05-26 10:02   ` Gustavo Zacarias
2014-07-30 21:42 ` 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=53831F54.4060703@zacarias.com.ar \
    --to=gustavo@zacarias.com.ar \
    --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 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.