Skip to contentSkip to conversation

libhugetlbfs and luajit update

PATCH In review [email protected] 2 participants 13 messages Jul 16, 2014 – Dec 9, 2014

lore
Share & tools
lore
#0 lore raw

cover libhugetlbfs and luajit update

From: Ting Liu <[email protected]>

Since there are several libhugetlbfs patches to be applied, generate the patches based on meta-openembedded-contrib (jansa/master branch):

commit 76afdeedacf4497893359c5e9cb335ada6729e12

Author: Martin Jansa <[email protected]>
Date:   Wed Jun 25 20:30:44 2014 +0200

python-cython: Add git version

Ting Liu (3):
libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64
libhugetlbfs: not build obj32 for powerpc64
luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc

 .../libhugetlbfs/libhugetlbfs_git.bb               |    6 +++++-
 meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb    |    2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/3 libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64

From: Ting Liu <[email protected]>

In recent libhugetlbfs source, powerpc/powerpc64 is changed back to ppc/ppc64 (to match with the output of uname -a).

Update the recipe to avoid build issue for now.

---
 .../libhugetlbfs/libhugetlbfs_git.bb               |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +4 -1
index e8e0787..e554b26 100644
@@ -25,7 +25,10 @@ S = "${WORKDIR}/git"
 COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
 
 LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
-EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=1"
+LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
+LIBHUGETLBFS_ARCH_powerpc = "ppc"
+LIBHUGETLBFS_ARCH_powerpc64 = "ppc64"
+EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=2"
 PARALLEL_MAKE = ""
 CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
 
Signature · 1 line
1.7.3.4
#2 lore raw

Re: [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64

Quoted 17 lines · On Wed, Jul 16, 2014 at 02:23:59PM +0800, [email protected] wrote:

From: Ting Liu <[email protected]>

In recent libhugetlbfs source, powerpc/powerpc64 is changed back to ppc/ppc64 (to match with the output of uname -a).

Update the recipe to avoid build issue for now.

---
 .../libhugetlbfs/libhugetlbfs_git.bb               |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +0 -0
index e8e0787..e554b26 100644

meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb S = "${WORKDIR}/git" · line 33

Quoted 10 lines
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +4 -1
@@ -25,7 +25,10 @@ S = "${WORKDIR}/git"
 COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
 
 LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
-EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=1"
+LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
+LIBHUGETLBFS_ARCH_powerpc = "ppc"
+LIBHUGETLBFS_ARCH_powerpc64 = "ppc64"
+EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=2"
 PARALLEL_MAKE = ""
 CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"

libhugetlbfs is currently failing with
http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20140714_130534.log/3_min/failed/libhugetlbfs.log

and it also fails to build for qemux86-64 (log in last world status e-mail).

Can we please fix it first?

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

Re: [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64

Quoted 39 lines

-----Original Message-----
From: [email protected] [mailto:openembedded- [email protected]] On Behalf Of Martin Jansa
Sent: Wednesday, July 16, 2014 9:27 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [oe] [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64

Quoted 19 lines · On Wed, Jul 16, 2014 at 02:23:59PM +0800, [email protected] wrote:

From: Ting Liu <[email protected]>

In recent libhugetlbfs source, powerpc/powerpc64 is changed back to ppc/ppc64 (to match with the output of uname -a).

Update the recipe to avoid build issue for now.

---
 .../libhugetlbfs/libhugetlbfs_git.bb               |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index e8e0787..e554b26 100644

meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb S = "${WORKDIR}/git" · line 28

Quoted 4 lines
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +0 -1
@@ -25,7 +25,10 @@ S = "${WORKDIR}/git"
 COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
 
 LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
-EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS}

V=1"

meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb S = "${WORKDIR}/git"

Quoted 4 lines
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +4 -0
+LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
+LIBHUGETLBFS_ARCH_powerpc = "ppc"
+LIBHUGETLBFS_ARCH_powerpc64 = "ppc64"
+EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}'

${LIBARGS} V=2"

Quoted 8 lines

meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb S = "${WORKDIR}/git" · line 33

Quoted 2 lines
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +0 -0
 PARALLEL_MAKE = ""
 CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-

pointer -g0"

libhugetlbfs is currently failing with
http://logs.nslu2-
linux.org/buildlogs/oe/world/log.dependencies.20140714_130534.log/3_min/failed /libhugetlbfs.log

I think the issue was fixed by this patch:
http://cgit.openembedded.org/meta-openembedded/commit/?h=master-next&id=66709a85a2c0d0fdfadbd9832cb8056e65b39a36

Quoted 7 lines

and it also fails to build for qemux86-64 (log in last world status e-mail).

Can we please fix it first?

--
Martin 'JaMa' Jansa jabber: [email protected]

#4 lore raw

Re: [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64

Quoted 43 lines · On Thu, Jul 17, 2014 at 07:09:18AM +0000, [email protected] wrote:
Quoted 43 lines

-----Original Message-----
From: [email protected] [mailto:openembedded- [email protected]] On Behalf Of Martin Jansa
Sent: Wednesday, July 16, 2014 9:27 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [oe] [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64

Quoted 19 lines · On Wed, Jul 16, 2014 at 02:23:59PM +0800, [email protected] wrote:

From: Ting Liu <[email protected]>

In recent libhugetlbfs source, powerpc/powerpc64 is changed back to ppc/ppc64 (to match with the output of uname -a).

Update the recipe to avoid build issue for now.

---
 .../libhugetlbfs/libhugetlbfs_git.bb               |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index e8e0787..e554b26 100644

meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb S = "${WORKDIR}/git" · line 28

Quoted 4 lines
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +0 -1
@@ -25,7 +25,10 @@ S = "${WORKDIR}/git"
 COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
 
 LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
-EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS}

V=1"

meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb S = "${WORKDIR}/git"

Quoted 4 lines
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +4 -0
+LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
+LIBHUGETLBFS_ARCH_powerpc = "ppc"
+LIBHUGETLBFS_ARCH_powerpc64 = "ppc64"
+EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}'

${LIBARGS} V=2"

meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb S = "${WORKDIR}/git" · line 33

Quoted 2 lines
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +0 -0
 PARALLEL_MAKE = ""
 CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-

pointer -g0"

Quoted 11 lines
Quoted 4 lines

libhugetlbfs is currently failing with
http://logs.nslu2-
linux.org/buildlogs/oe/world/log.dependencies.20140714_130534.log/3_min/failed /libhugetlbfs.log

I think the issue was fixed by this patch:
http://cgit.openembedded.org/meta-openembedded/commit/?h=master-next&id=66709a85a2c0d0fdfadbd9832cb8056e65b39a36

Quoted 3 lines

and it also fails to build for qemux86-64 (log in last world status e-mail).

with all the libhugetlbfs patches included I still get

NOTE: recipe libhugetlbfs-1_2.18-r0: task do_compile: Started
ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-eglibc/work/core2-64-oe-linux/libhugetlbfs/1_2.18-r0/temp/log.do_compile.7225)
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-eglibc/work/core2-64-oe-linux/libhugetlbfs/1_2.18-r0/temp/log.do_compile.7225 Log data follows:

| DEBUG: Executing shell function do_compile
| NOTE: make ARCH=x86_64 OPT= -O2 -pipe -g -feliminate-unused-debug-types -fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0 CC=x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64 LIB32=lib LIB64=lib V=2
| ./localversion version ./libhugetlbfs_testprobes.h ./libhugetlbfs_privutils.h ./libhugetlbfs_internal.h ./libhugetlbfs_debug.h ./kernel-features.h ./hugetlbfs.h *.c *.lds Makefile
| version update: 2.18
| version string: 2.18 (modified)
| x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64 -m32  -D__LIBHUGETLBFS__  -O2 -pipe -g -feliminate-unused-debug-types -fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0 -Wall -fPIC -o obj32/elflink.o -c elflink.c
| In file included from /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/include/features.h:402:0,
|                  from /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/include/stdio.h:27,
|                  from elflink.c:23:
| /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
|  # include <gnu/stubs-32.h>
|                            ^
| compilation terminated.
| make: *** [obj32/elflink.o] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-eglibc/work/core2-64-oe-linux/libhugetlbfs/1_2.18-r0/temp/log.do_compile.7225)

NOTE: recipe libhugetlbfs-1_2.18-r0: task do_compile: Failed
ERROR: Task 25874 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb, do_compile) failed with exit code '1'

Quoted 9 lines
Quoted 4 lines

Can we please fix it first?

--
Martin 'JaMa' Jansa jabber: [email protected]

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw

Re: [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64

Quoted 113 lines

-----Original Message-----
From: [email protected] [mailto:openembedded- [email protected]] On Behalf Of Martin Jansa
Sent: Wednesday, July 23, 2014 4:51 PM
To: [email protected]
Subject: Re: [oe] [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64

Quoted 54 lines · On Thu, Jul 17, 2014 at 07:09:18AM +0000, [email protected] wrote:
Quoted 46 lines

-----Original Message-----
From: [email protected] [mailto:openembedded- [email protected]] On Behalf Of Martin Jansa
Sent: Wednesday, July 16, 2014 9:27 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [oe] [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for
powerpc/powerpc64

Quoted 20 lines · On Wed, Jul 16, 2014 at 02:23:59PM +0800, [email protected] wrote:

From: Ting Liu <[email protected]>

In recent libhugetlbfs source, powerpc/powerpc64 is changed back to
ppc/ppc64 (to match with the output of uname -a).

Update the recipe to avoid build issue for now.

---
 .../libhugetlbfs/libhugetlbfs_git.bb               |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index e8e0787..e554b26 100644

meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb S = "${WORKDIR}/git" · line 28

Quoted 5 lines
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +0 -1
@@ -25,7 +25,10 @@ S = "${WORKDIR}/git"
 COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
 
 LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
-EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}'
 ${LIBARGS}

V=1"

meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb S = "${WORKDIR}/git"

Quoted 4 lines
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +4 -0
+LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
+LIBHUGETLBFS_ARCH_powerpc = "ppc"
+LIBHUGETLBFS_ARCH_powerpc64 = "ppc64"
+EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}'

${LIBARGS} V=2"

meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb S = "${WORKDIR}/git"

Quoted 3 lines
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +0 -1
 PARALLEL_MAKE = ""
 CFLAGS += "-fexpensive-optimizations -frename-registers
-fomit-frame-
Quoted 7 lines

pointer -g0"

libhugetlbfs is currently failing with
http://logs.nslu2-
linux.org/buildlogs/oe/world/log.dependencies.20140714_130534.log/3_ min/failed
/libhugetlbfs.log

Quoted 6 lines

I think the issue was fixed by this patch:
http://cgit.openembedded.org/meta-openembedded/commit/?h=master-next&i
d=66709a85a2c0d0fdfadbd9832cb8056e65b39a36

Quoted 2 lines

and it also fails to build for qemux86-64 (log in last world status e-

mail).

Quoted 1 line
Quoted 1 line

with all the libhugetlbfs patches included I still get

NOTE: recipe libhugetlbfs-1_2.18-r0: task do_compile: Started
ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-eglibc/work/core2-64-oe- linux/libhugetlbfs/1_2.18-r0/temp/log.do_compile.7225)
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp- eglibc/work/core2-64-oe-linux/libhugetlbfs/1_2.18-r0/temp/log.do_compile.7225 Log data follows:

| DEBUG: Executing shell function do_compile
| NOTE: make ARCH=x86_64 OPT= -O2 -pipe -g
| -feliminate-unused-debug-types -fexpensive-optimizations
| -frename-registers -fomit-frame-pointer -g0 CC=x86_64-oe-linux-gcc
| -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wl,-O1
| -Wl,--hash-style=gnu -Wl,--as-needed
| --sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64

LIB32=lib LIB64=lib V=2 ./localversion
version ./libhugetlbfs_testprobes.h ./libhugetlbfs_privutils.h ./libhugetlbfs_ internal.h ./libhugetlbfs_debug.h ./kernel-features.h ./hugetlbfs.h *.c *.lds Makefile version update: 2.18 version string: 2.18 (modified) x86_64-oe-linux- gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--hash- style=gnu -Wl,--as-needed --sysroot=/home/jenkins/oe/world/shr-core/tmp- eglibc/sysroots/qemux86-64 -m32 -D__LIBHUGETLBFS__ -O2 -pipe -g -feliminate- unused-debug-types -fexpensive-optimizations -frename-registers -fomit-frame- pointer -g0 -Wall -fPIC -o obj32/elflink.o -c elflink.c In file included from /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86- 64/usr/include/features.h:402:0,
| from /home/jenkins/oe/world/shr-core/tmp-
eglibc/sysroots/qemux86-64/usr/include/stdio.h:27,

|                  from elflink.c:23:
| /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/inc
| lude/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or
directory  # include <gnu/stubs-32.h>
|                            ^
| compilation terminated.
| make: *** [obj32/elflink.o] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
| /home/jenkins/oe/world/shr-core/tmp-eglibc/work/core2-64-oe-linux/libh
| ugetlbfs/1_2.18-r0/temp/log.do_compile.7225)
Quoted 4 lines

NOTE: recipe libhugetlbfs-1_2.18-r0: task do_compile: Failed
ERROR: Task 25874 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta- oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb, do_compile) failed with exit code '1'

So 'BUILDTYPE=NATIVEONLY' is needed for all 64bit platforms, not only powerpc64.

Quoted 13 lines
Quoted 10 lines
Quoted 5 lines

Can we please fix it first?

--
Martin 'JaMa' Jansa jabber: [email protected]

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]

#6 lore raw

PATCH 2/3 libhugetlbfs: not build obj32 for powerpc64

In reply to [email protected]

From: Ting Liu <[email protected]>

If obj32 needed, user can build lib32-libhugetlbfs.

Fix the below build issue for 64bit powerpc boards:

| fatal error: gnu/stubs-32.h: No such file or directory
|  # include <gnu/stubs-32.h>
|                            ^
| compilation terminated.
| make: *** [obj32/elflink.o] Error 1
---
 .../libhugetlbfs/libhugetlbfs_git.bb               |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +1 -0
index e554b26..55d555b 100644
@@ -29,6 +29,7 @@ LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
 LIBHUGETLBFS_ARCH_powerpc = "ppc"
 LIBHUGETLBFS_ARCH_powerpc64 = "ppc64"
 EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=2"
+EXTRA_OEMAKE_append_powerpc64 = " BUILDTYPE=NATIVEONLY"
 PARALLEL_MAKE = ""
 CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
 
Signature · 1 line
1.7.3.4
#7 lore raw

PATCH 3/3 luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc

In reply to [email protected]

From: Ting Liu <[email protected]>

fslmachine is too generic, use qoriq-ppc instead. The change had been applided in meta-fsl-ppc layer.

---
 meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb +1 -1
index de3a40b..75885d6 100644
@@ -9,7 +9,7 @@ SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \
 SRC_URI[md5sum] = "f14e9104be513913810cd59c8c658dc0"
 SRC_URI[sha256sum] = "55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79"
 
-SRC_URI_append_fslmachine = " file://ppc-fixplt.patch "
+SRC_URI_append_qoriq-ppc = " file://ppc-fixplt.patch "
 
 S = "${WORKDIR}/LuaJIT-${PV}"
 
Signature · 1 line
1.7.3.4
#8 lore raw

Re: [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc

Quoted 4 lines · On Wed, Jul 16, 2014 at 02:24:01PM +0800, [email protected] wrote:

From: Ting Liu <[email protected]>

fslmachine is too generic, use qoriq-ppc instead. The change had been applided in meta-fsl-ppc layer.

Should it be moved there completely as .bbappend?

Quoted 26 lines
---
 meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb +1 -1
index de3a40b..75885d6 100644
@@ -9,7 +9,7 @@ SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \
 SRC_URI[md5sum] = "f14e9104be513913810cd59c8c658dc0"
 SRC_URI[sha256sum] = "55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79"
 
-SRC_URI_append_fslmachine = " file://ppc-fixplt.patch "
+SRC_URI_append_qoriq-ppc = " file://ppc-fixplt.patch "
 
 S = "${WORKDIR}/LuaJIT-${PV}"
 
Signature · 7 lines
1.7.3.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#9 lore raw

Re: [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc

Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:openembedded- [email protected]] On Behalf Of Martin Jansa
Sent: Wednesday, July 16, 2014 3:14 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [oe] [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc

Quoted 7 lines
Quoted 4 lines · On Wed, Jul 16, 2014 at 02:24:01PM +0800, [email protected] wrote:

From: Ting Liu <[email protected]>

fslmachine is too generic, use qoriq-ppc instead. The change had been applided in meta-fsl-ppc layer.

Should it be moved there completely as .bbappend?

It makes sense for me. Will send patch. Please ignore this one. Thanks.

Quoted 33 lines
Quoted 12 lines
---
 meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb +0 -0
index de3a40b..75885d6 100644
@@ -9,7 +9,7 @@ SRC_URI =
Quoted 1 line

"http://luajit.org/download/LuaJIT-${PV}.tar.gz \ SRC_URI[md5sum] =

"f14e9104be513913810cd59c8c658dc0"

Quoted 1 line

SRC_URI[sha256sum] =

"55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79"

Quoted 9 lines
meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb +1 -2
-SRC_URI_append_fslmachine = " file://ppc-fixplt.patch "
+SRC_URI_append_qoriq-ppc = " file://ppc-fixplt.patch "
 
 S = "${WORKDIR}/LuaJIT-${PV}"
 
--

1.7.3.4

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]

#10 lore raw

Re: [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc

In reply to [email protected]
Quoted 4 lines · On Wed, Jul 16, 2014 at 02:24:01PM +0800, [email protected] wrote:

From: Ting Liu <[email protected]>

fslmachine is too generic, use qoriq-ppc instead. The change had been applided in meta-fsl-ppc layer.

BTW: target luajit seems to be using host's headers and sometimes failing.

I've recently removed multilib headers from my host distro and now it's failing with:

| In file included from /usr/include/features.h:403:0,
|                  from /usr/include/sys/types.h:25,
|                  from host/buildvm.h:9,
|                  from host/buildvm_asm.c:6:
| /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
|  # include <gnu/stubs-32.h>
|                            ^
| compilation terminated.
| Makefile:661: recipe for target 'host/buildvm_asm.o' failed
| make[1]: *** [host/buildvm_asm.o] Error 1
| make[1]: Leaving directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/luajit/2.0.3-r0/LuaJIT-2.0.3/src'
| Makefile:103: recipe for target 'default' failed

Shouldn't we disable all host builds in target luajit and use the tools only from luajit-native?

Quoted 26 lines
---
 meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb +1 -1
index de3a40b..75885d6 100644
@@ -9,7 +9,7 @@ SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \
 SRC_URI[md5sum] = "f14e9104be513913810cd59c8c658dc0"
 SRC_URI[sha256sum] = "55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79"
 
-SRC_URI_append_fslmachine = " file://ppc-fixplt.patch "
+SRC_URI_append_qoriq-ppc = " file://ppc-fixplt.patch "
 
 S = "${WORKDIR}/LuaJIT-${PV}"
 
Signature · 7 lines
1.7.3.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#11 lore raw

Re: [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc

Quoted 25 lines · Martin Jansa
Quoted 4 lines · On Wed, Jul 16, 2014 at 02:24:01PM +0800, [email protected] wrote:

From: Ting Liu <[email protected]>

fslmachine is too generic, use qoriq-ppc instead. The change had been applided in meta-fsl-ppc layer.

BTW: target luajit seems to be using host's headers and sometimes failing.

I've recently removed multilib headers from my host distro and now it's failing with:

| In file included from /usr/include/features.h:403:0,
|                  from /usr/include/sys/types.h:25,
|                  from host/buildvm.h:9,
|                  from host/buildvm_asm.c:6:
| /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
|  # include <gnu/stubs-32.h>
|                            ^
| compilation terminated.
| Makefile:661: recipe for target 'host/buildvm_asm.o' failed
| make[1]: *** [host/buildvm_asm.o] Error 1
| make[1]: Leaving directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/luajit/2.0.3-r0/LuaJIT-2.0.3/src'
| Makefile:103: recipe for target 'default' failed
Quoted 1 line

Shouldn't we disable all host builds in target luajit and use the tools only from luajit-native?

FYI: this is caused by -m32 we're passing in HOST_CC variable, dropping -m32 causes lua to complain about different sizes while cross-compiling.

So in the end we require 32bit headers/libs on 64bit builders (this luajit is the only recipe requiring it in my images).

/me enabling multilib again

Quoted 29 lines
Quoted 26 lines
---
 meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb +1 -1
index de3a40b..75885d6 100644
@@ -9,7 +9,7 @@ SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \
 SRC_URI[md5sum] = "f14e9104be513913810cd59c8c658dc0"
 SRC_URI[sha256sum] = "55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79"
 
-SRC_URI_append_fslmachine = " file://ppc-fixplt.patch "
+SRC_URI_append_qoriq-ppc = " file://ppc-fixplt.patch "
 
 S = "${WORKDIR}/LuaJIT-${PV}"
 
Signature · 7 lines
1.7.3.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#12 lore raw
In reply to [email protected]
Quoted 4 lines · On Wed, Jul 16, 2014 at 02:23:58PM +0800, [email protected] wrote:

From: Ting Liu <[email protected]>

Since there are several libhugetlbfs patches to be applied, generate the patches based on meta-openembedded-contrib (jansa/master branch):

Fails to build for qemux86, check the logs from last world build.

Quoted 23 lines

commit 76afdeedacf4497893359c5e9cb335ada6729e12

Author: Martin Jansa <[email protected]>
Date:   Wed Jun 25 20:30:44 2014 +0200

python-cython: Add git version

Ting Liu (3):
libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64
libhugetlbfs: not build obj32 for powerpc64
luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc

 .../libhugetlbfs/libhugetlbfs_git.bb               |    6 +++++-
 meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb    |    2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)
Signature · 7 lines
1.7.3.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]