]> code.ossystems Code Review - openembedded-core.git/commit
python3: RDEPEND on libgcc
authorJoshua Watt <jpewhacker@gmail.com>
Mon, 30 Dec 2019 20:59:41 +0000 (14:59 -0600)
committerArmin Kuster <akuster808@gmail.com>
Thu, 9 Jan 2020 04:29:28 +0000 (20:29 -0800)
commite6c4017727008ac2f665e843d59d53b584f3f1b3
treeb61f8e91f898054beb245bffed6ba6f48990e313
parentb8926f3898fbf6828b908d741ab3b450adb85643
python3: RDEPEND on libgcc

=help>
List-Subscribe:
 <http://lists.openembedded.org/mailman/listinfo/openembedded-core>,
 <mailto:openembedded-core-request@lists.openembedded.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Sender: openembedded-core-bounces@lists.openembedded.org
Errors-To: openembedded-core-bounces@lists.openembedded.org
X-Virus-Scanned: clamav-milter 0.101.4 at dan
X-Virus-Status: Clean
X-Evolution-Source: 1525863794.3857.16@hex
Content-Transfer-Encoding: 8bit

Python uses features of glibc that require it to dynamically load (i.e.
dlopen()) libgcc_s at runtime. However, since this isn't a link time
dependency, it doesn't get picked up automatically by bitbake so
manually add it to RDEPENDS.

There is an outstanding bug in Python to make it explicitly link against
libgcc at link time which would remove the need for this. See:
https://bugs.python.org/issue37395

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df107f3a149b1e88d9f869e7ff87950ccf5aaee0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/python/python3_3.7.6.bb