From: Romain Naour Date: Sun, 31 May 2020 15:20:26 +0200 Subject: [Buildroot] [PATCH] package/qt5/qt5webengine: don't link with libstdc++.a on the host In-Reply-To: <20200531150837.67abf9f9@windsurf.home> References: <20200524155818.126961-1-romain.naour@gmail.com> <20200529233458.2dbace04@windsurf.home> <20200531150837.67abf9f9@windsurf.home> Message-ID: <010809c3-a1cd-3b81-eff6-de2a7b1a968c@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Thomas, Le 31/05/2020 ? 15:08, Thomas Petazzoni a ?crit?: > On Fri, 29 May 2020 23:48:09 +0200 > Romain Naour wrote: > >>> 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. > > Can't we remove this, and instead link dynamically the host tools ? Sorry, I don't understand. When --no-static-libstdc++ was added [1], it's default value was "false". It means link statically libstdc++ if --no-static-libstdc++ is not provided on the command line. [1] https://github.com/qt/qtwebengine-chromium/commit/cfab9198a9917f42cf08b1caf84ab9b71aac1911#diff-905c8f054808213577c0a92d1b704615 > >> Adding --no-static-libstdc++ allow to link dynamically with libc.so.6. > > --no-static-libstdc++ changes how we link against libc.so.6 ? Shouldn't > it only affect how we link against libstdc++.so ? Sorry, I meant libstdc++.so here... not libc.so.6. Best regards, Romain > > Thomas >