* [meta-clang] [PATCH] nonclangable: Add python3
@ 2018-03-28 22:38 Maxime Jourdan
2018-03-28 22:56 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Maxime Jourdan @ 2018-03-28 22:38 UTC (permalink / raw)
To: openembedded-devel
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.
Signed-off-by: Maxime Jourdan <maxi.jourdan@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-clang] [PATCH] nonclangable: Add python3
2018-03-28 22:38 [meta-clang] [PATCH] nonclangable: Add python3 Maxime Jourdan
@ 2018-03-28 22:56 ` Khem Raj
2018-03-28 23:16 ` Maxime Jourdan
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2018-03-28 22:56 UTC (permalink / raw)
To: Maxime Jourdan; +Cc: openembeded-devel
Hi Maxime
On Wed, Mar 28, 2018 at 3:38 PM, Maxime Jourdan <maxi.jourdan@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-clang] [PATCH] nonclangable: Add python3
2018-03-28 22:56 ` Khem Raj
@ 2018-03-28 23:16 ` Maxime Jourdan
0 siblings, 0 replies; 3+ messages in thread
From: Maxime Jourdan @ 2018-03-28 23:16 UTC (permalink / raw)
To: Khem Raj; +Cc: openembeded-devel
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@gmail.com>:
> Hi Maxime
>
> On Wed, Mar 28, 2018 at 3:38 PM, Maxime Jourdan <maxi.jourdan@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@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@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-28 23:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-28 22:38 [meta-clang] [PATCH] nonclangable: Add python3 Maxime Jourdan
2018-03-28 22:56 ` Khem Raj
2018-03-28 23:16 ` Maxime Jourdan
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.