Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/qt5/qt5webengine: don't link with libstdc++.a on the host
Date: Fri, 29 May 2020 23:48:09 +0200	[thread overview]
Message-ID: <aa6f5047-3c91-e286-7bbe-29d26353b2c1@gmail.com> (raw)
In-Reply-To: <20200529233458.2dbace04@windsurf.home>

Hi Thomas,

Le 29/05/2020 ? 23:34, Thomas Petazzoni a ?crit?:
> On Sun, 24 May 2020 17:58:18 +0200
> Romain Naour <romain.naour@gmail.com> wrote:
> 
>> +             gn_gen_args = --no-last-commit-position --out-path $$out_path \
>> +                           --cc \"$$which($$QMAKE_CC)\" --cxx \"$$which($$QMAKE_CXX)\" \
>> +-                          --ld \"$$which($$QMAKE_LINK)\"
>> ++                          --ld \"$$which($$QMAKE_LINK)\" \
>> ++                          --no-static-libstdc++
> 
> If we have to pass this, doesn't it mean that the host tools are built
> statically ? Why are they built statically ? They really shouldn't be
> built statically at all. I believe this is what should be fixed, rather
> than just avoiding specifically from linking statically with libstdc++.

Without this option host tools are built statically because this option is
enabled by default.

Adding --no-static-libstdc++ allow to link dynamically with libc.so.6.

Best regards,
Romain

> 
> Thomas
> 

  reply	other threads:[~2020-05-29 21:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-24 15:58 [Buildroot] [PATCH] package/qt5/qt5webengine: don't link with libstdc++.a on the host Romain Naour
2020-05-26 21:02 ` Romain Naour
2020-05-26 21:13   ` Peter Seiderer
2020-05-27  5:19     ` Romain Naour
2020-05-29 21:34 ` Thomas Petazzoni
2020-05-29 21:48   ` Romain Naour [this message]
2020-05-31 13:08     ` Thomas Petazzoni
2020-05-31 13:20       ` Romain Naour
2020-05-31 20:30 ` Yann E. MORIN

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=aa6f5047-3c91-e286-7bbe-29d26353b2c1@gmail.com \
    --to=romain.naour@gmail.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