[oe] [meta-clang] [PATCH] nonclangable: Add python3

Maxime Jourdan maxi.jourdan at wanadoo.fr
Wed Mar 28 23:16:52 UTC 2018


Hi Khem,

Sure I'll take a look. In the meantime this documents the issue.

Maxime

2018-03-29 0:56 GMT+02:00 Khem Raj <raj.khem at gmail.com>:

> Hi Maxime
>
> On Wed, Mar 28, 2018 at 3:38 PM, Maxime Jourdan <maxi.jourdan at wanadoo.fr>
> wrote:
> > While python3 will build "successfully" with clang,
> > it will silently discard a few modules in the process:
> >
> > Python build finished successfully!
> > The necessary bits to build these optional modules were not found:
> > _bz2                  _curses_panel         _dbm
> > _gdbm                 _lzma                 _sqlite3
> > _ssl                  nis                   readline
> > zlib
> >
> > The lack of these modules will generate empty packages
> > which can later break do_rootfs.
> >
>
> while this is fine, I would appreciate if you can delve a bit and see
> why these tests
> would fail with Clang and pass with gcc. It could be simple bugs in
> python itself where
> it assumes compiler == gcc
>
> > Signed-off-by: Maxime Jourdan <maxi.jourdan at wanadoo.fr>
> > ---
> >  conf/nonclangable.conf | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
> > index 720b653..7d30bc1 100644
> > --- a/conf/nonclangable.conf
> > +++ b/conf/nonclangable.conf
> > @@ -58,6 +58,7 @@ TOOLCHAIN_pn-openjre-8 = "gcc"
> >  TOOLCHAIN_pn-perf = "gcc"
> >  TOOLCHAIN_pn-piglit = "gcc"
> >  TOOLCHAIN_pn-prelink = "gcc"
> > +TOOLCHAIN_pn-python3 = "gcc"
> >  # has dpkg source which does not compile
> >  TOOLCHAIN_pn-start-stop-daemon = "gcc"
> >  TOOLCHAIN_pn-syslinux = "gcc"
> > --
> > 2.16.2
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list