* Toolchain rework, call for testing
@ 2012-08-17 4:47 Khem Raj
2012-08-17 10:33 ` Jack Mitchell
` (4 more replies)
0 siblings, 5 replies; 17+ messages in thread
From: Khem Raj @ 2012-08-17 4:47 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer,
openembeded-devel, yocto
Hi All
Recently glibc build has been simplified upstream. It has dropped the
dependency on libgcc_s and libgcc_eh for building glibc itself.
This means that we can simplify our toolchain bootstrap a bit by
dropping 1 of the 3 cross gcc build stages. We do not need
gcc-cross-intermediate
anymore. This should bring some build time reduction and simplify the
bootstrap. I have a series of patches which I have tested
by building core-image-minimal and meta-toolchain for all supported
qemu architectures and also uclibc/eglibc both
but it needs a lot more testing therefore I am calling out wider
audience for help in testing it out.
The branch is
http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/toolchain-rework
Thanks
-Khem
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-17 4:47 Toolchain rework, call for testing Khem Raj
@ 2012-08-17 10:33 ` Jack Mitchell
2012-08-17 16:21 ` Christopher Larson
` (3 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: Jack Mitchell @ 2012-08-17 10:33 UTC (permalink / raw)
To: openembedded-devel
On 17/08/12 05:47, Khem Raj wrote:
> Hi All
>
> Recently glibc build has been simplified upstream. It has dropped the
> dependency on libgcc_s and libgcc_eh for building glibc itself.
> This means that we can simplify our toolchain bootstrap a bit by
> dropping 1 of the 3 cross gcc build stages. We do not need
> gcc-cross-intermediate
> anymore. This should bring some build time reduction and simplify the
> bootstrap. I have a series of patches which I have tested
> by building core-image-minimal and meta-toolchain for all supported
> qemu architectures and also uclibc/eglibc both
> but it needs a lot more testing therefore I am calling out wider
> audience for help in testing it out.
>
> The branch is
>
> http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/toolchain-rework
>
> Thanks
>
> -Khem
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Hi Khem,
I successfully built core-image-minimal for qemuarm and tested it in
qemu with a completely fresh clone.
Build output as follows:
[jack@archHP build]$ bitbake core-image-minimal
Pseudo is not present but is required, building this first before
the main build
Parsing recipes: 100%
|###############################################################################|
ETA: 00:00:00
Parsing of 824 .bb files complete (0 cached, 824 parsed). 1122
targets, 36 skipped, 0 masked, 0 errors.
Build Configuration:
BB_VERSION = "1.15.3"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "qemuarm"
DISTRO_VERSION = "oe-core.0"
TUNE_FEATURES = "armv5 dsp thumb arm926ejs"
TARGET_FPU = "soft"
meta =
"kraj/toolchain-rework:126a0363d03c1f5ff7a6b8ae0939d1a9ff8336f0"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 63 tasks of which 0 didn't need to be
rerun and all succeeded.
Loading cache: 100%
|#################################################################################|
ETA: 00:00:00
Loaded 1123 entries from dependency cache.
Build Configuration:
BB_VERSION = "1.15.3"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "qemuarm"
DISTRO_VERSION = "oe-core.0"
TUNE_FEATURES = "armv5 dsp thumb arm926ejs"
TARGET_FPU = "soft"
meta =
"kraj/toolchain-rework:126a0363d03c1f5ff7a6b8ae0939d1a9ff8336f0"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL
http://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.22.tar.bz2,
attempting MIRRORS if available
WARNING: Failed to fetch URL
http://www.apache.org/dist/subversion/subversion-1.7.2.tar.bz2,
attempting MIRRORS if available
WARNING: Failed to fetch URL
ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting
MIRRORS if available
WARNING: unifdef-native: No generic license file exists for: GPL in
any provider
WARNING: Failed to fetch URL
http://kernel.org/pub/linux/kernel/people/jsipek/guilt/guilt-0.33.tar.gz,
attempting MIRRORS if available
ERROR: chrpath command failed with exit code 7
ERROR: chrpath command failed with exit code 7
WARNING: ossp-uuid-native: No generic license file exists for:
ossp_uuid in any provider
WARNING: Failed to fetch URL
ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.24.tar.gz,
attempting MIRRORS if available
WARNING: Failed to fetch URL
http://kernel.org/pub/linux/utils/kernel/hotplug/udev-164.tar.gz,
attempting MIRRORS if available
NOTE: validating kernel configuration
WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in
the base_prefix, requires a shared library under exec_prefix (/usr):
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xdead2000)
WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in
the base_prefix, requires a shared library under exec_prefix (/usr):
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xdead3000)
WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in
the base_prefix, requires a shared library under exec_prefix (/usr):
libffi.so.5 => /usr/lib/libffi.so.5 (0xdead4000)
WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in
the base_prefix, requires a shared library under exec_prefix (/usr):
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xdead5000)
WARNING: QA Issue: udev: /lib/udev/udev-acl, installed in the
base_prefix, requires a shared library under exec_prefix (/usr):
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xdead2000)
NOTE: Tasks Summary: Attempted 1513 tasks of which 236 didn't need
to be rerun and all succeeded.
Summary: There were 13 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero
exit code.
Regards,
--
Jack Mitchell (jack@embed.me.uk)
Embedded Systems Engineer
http://www.embed.me.uk
--
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-17 4:47 Toolchain rework, call for testing Khem Raj
2012-08-17 10:33 ` Jack Mitchell
@ 2012-08-17 16:21 ` Christopher Larson
2012-08-21 3:35 ` Saul Wold
` (2 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: Christopher Larson @ 2012-08-17 16:21 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 934 bytes --]
On Thursday, August 16, 2012 at 9:47 PM, Khem Raj wrote:
> Recently glibc build has been simplified upstream. It has dropped the
> dependency on libgcc_s and libgcc_eh for building glibc itself.
> This means that we can simplify our toolchain bootstrap a bit by
> dropping 1 of the 3 cross gcc build stages. We do not need
> gcc-cross-intermediate
> anymore. This should bring some build time reduction and simplify the
> bootstrap. I have a series of patches which I have tested
> by building core-image-minimal and meta-toolchain for all supported
> qemu architectures and also uclibc/eglibc both
> but it needs a lot more testing therefore I am calling out wider
> audience for help in testing it out.
>
> The branch is
>
> http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/toolchain-rework
Successfully built core-image-base for p2020rdb with meta-fsl-ppc, so far.
--
Christopher Larson
[-- Attachment #2: Type: text/html, Size: 7806 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-17 4:47 Toolchain rework, call for testing Khem Raj
2012-08-17 10:33 ` Jack Mitchell
2012-08-17 16:21 ` Christopher Larson
@ 2012-08-21 3:35 ` Saul Wold
2012-08-21 4:35 ` Khem Raj
2012-08-21 11:55 ` Marcin Juszkiewicz
2012-08-21 12:18 ` [yocto] " Martin Jansa
4 siblings, 1 reply; 17+ messages in thread
From: Saul Wold @ 2012-08-21 3:35 UTC (permalink / raw)
To: Khem Raj; +Cc: Patches and discussions about the oe-core layer
On 08/16/2012 09:47 PM, Khem Raj wrote:
> Hi All
>
> Recently glibc build has been simplified upstream. It has dropped the
> dependency on libgcc_s and libgcc_eh for building glibc itself.
> This means that we can simplify our toolchain bootstrap a bit by
> dropping 1 of the 3 cross gcc build stages. We do not need
> gcc-cross-intermediate
> anymore. This should bring some build time reduction and simplify the
> bootstrap. I have a series of patches which I have tested
> by building core-image-minimal and meta-toolchain for all supported
> qemu architectures and also uclibc/eglibc both
> but it needs a lot more testing therefore I am calling out wider
> audience for help in testing it out.
>
> The branch is
>
> http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/toolchain-rework
>
Might be some small issues with the non-gplv3 build (test using
INCOMPATIBLE_LICENSE="GPLv3"
> ERROR: Function failed: do_compile (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/work/i586-poky-linux/gmp-4.2.1-r2/temp/log.do_compile.17894 for further information)
> ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/work/i586-poky-linux/gmp-4.2.1-r2/temp/log.do_compile.17894
> Log data follows:
> | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 16
> | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-fac_ui.c' || echo './'`gen-fac_ui.c -o gen-fac_ui
> | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-fib.c' || echo './'`gen-fib.c -o gen-fib
> | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-bases.c' || echo './'`gen-bases.c -o gen-bases -lm
> | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-psqr.c' || echo './'`gen-psqr.c -o gen-psqr -lm
> | ./gen-fib header 32 0 >fib_table.h || (rm -f fib_table.h; exit 1)
> | ./gen-fib table 32 0 >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1)
> | ./gen-fac_ui 32 0 >mpz/fac_ui.h || (rm -f mpz/fac_ui.h; exit 1)
> | ./gen-bases header 32 0 >mp_bases.h || (rm -f mp_bases.h; exit 1)
> | ./gen-bases table 32 0 >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1)
> | ./gen-psqr 32 0 >mpn/perfsqr.h || (rm -f mpn/perfsqr.h; exit 1)
> | ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
> | ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
> | ./gen-psqr: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
> | make: *** [mp_bases.h] Error 1
> | make: *** Waiting for unfinished jobs....
> | make: *** [mpn/mp_bases.c] Error 1
> | make: *** [mpn/perfsqr.h] Error 1
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/work/i586-poky-linux/gmp-4.2.1-r2/temp/log.do_compile.17894 for further information)
> NOTE: recipe gmp-4.2.1-r2: task do_compile: Failed
Older version of gmp seems to fail.
Sau!
> Thanks
>
> -Khem
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-21 3:35 ` Saul Wold
@ 2012-08-21 4:35 ` Khem Raj
0 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2012-08-21 4:35 UTC (permalink / raw)
To: Saul Wold; +Cc: Patches and discussions about the oe-core layer
On Mon, Aug 20, 2012 at 8:35 PM, Saul Wold <sgw@linux.intel.com> wrote:
> On 08/16/2012 09:47 PM, Khem Raj wrote:
>>
>> Hi All
>>
>> Recently glibc build has been simplified upstream. It has dropped the
>> dependency on libgcc_s and libgcc_eh for building glibc itself.
>> This means that we can simplify our toolchain bootstrap a bit by
>> dropping 1 of the 3 cross gcc build stages. We do not need
>> gcc-cross-intermediate
>> anymore. This should bring some build time reduction and simplify the
>> bootstrap. I have a series of patches which I have tested
>> by building core-image-minimal and meta-toolchain for all supported
>> qemu architectures and also uclibc/eglibc both
>> but it needs a lot more testing therefore I am calling out wider
>> audience for help in testing it out.
>>
>> The branch is
>>
>>
>> http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/toolchain-rework
>>
> Might be some small issues with the non-gplv3 build (test using
> INCOMPATIBLE_LICENSE="GPLv3"
hmm, Add libgcc to DEPENDS of gmp-4.2.1 and see if that fixes this issue
>
>> ERROR: Function failed: do_compile (see
>> /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/work/i586-poky-linux/gmp-4.2.1-r2/temp/log.do_compile.17894
>> for further information)
>> ERROR: Logfile of failure stored in:
>> /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/work/i586-poky-linux/gmp-4.2.1-r2/temp/log.do_compile.17894
>> Log data follows:
>> | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common',
>> 'common-linux', 'common-glibc', 'i586-linux', 'common']
>> | DEBUG: Executing shell function do_compile
>> | NOTE: make -j 16
>> | i586-poky-linux-gcc -m32 -march=i586
>> --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86
>> `test -f 'gen-fac_ui.c' || echo './'`gen-fac_ui.c -o gen-fac_ui
>> | i586-poky-linux-gcc -m32 -march=i586
>> --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86
>> `test -f 'gen-fib.c' || echo './'`gen-fib.c -o gen-fib
>> | i586-poky-linux-gcc -m32 -march=i586
>> --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86
>> `test -f 'gen-bases.c' || echo './'`gen-bases.c -o gen-bases -lm
>> | i586-poky-linux-gcc -m32 -march=i586
>> --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86
>> `test -f 'gen-psqr.c' || echo './'`gen-psqr.c -o gen-psqr -lm
>> | ./gen-fib header 32 0 >fib_table.h || (rm -f fib_table.h; exit 1)
>> | ./gen-fib table 32 0 >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1)
>> | ./gen-fac_ui 32 0 >mpz/fac_ui.h || (rm -f mpz/fac_ui.h; exit 1)
>> | ./gen-bases header 32 0 >mp_bases.h || (rm -f mp_bases.h; exit 1)
>> | ./gen-bases table 32 0 >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1)
>> | ./gen-psqr 32 0 >mpn/perfsqr.h || (rm -f mpn/perfsqr.h; exit 1)
>> | ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot
>> open shared object file: No such file or directory
>> | ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot
>> open shared object file: No such file or directory
>> | ./gen-psqr: error while loading shared libraries: libgcc_s.so.1: cannot
>> open shared object file: No such file or directory
>> | make: *** [mp_bases.h] Error 1
>> | make: *** Waiting for unfinished jobs....
>> | make: *** [mpn/mp_bases.c] Error 1
>> | make: *** [mpn/perfsqr.h] Error 1
>> | ERROR: oe_runmake failed
>> | ERROR: Function failed: do_compile (see
>> /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/work/i586-poky-linux/gmp-4.2.1-r2/temp/log.do_compile.17894
>> for further information)
>> NOTE: recipe gmp-4.2.1-r2: task do_compile: Failed
>
>
> Older version of gmp seems to fail.
>
> Sau!
>
>
>> Thanks
>>
>> -Khem
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>>
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-17 4:47 Toolchain rework, call for testing Khem Raj
` (2 preceding siblings ...)
2012-08-21 3:35 ` Saul Wold
@ 2012-08-21 11:55 ` Marcin Juszkiewicz
2012-08-21 12:00 ` Phil Blundell
` (2 more replies)
2012-08-21 12:18 ` [yocto] " Martin Jansa
4 siblings, 3 replies; 17+ messages in thread
From: Marcin Juszkiewicz @ 2012-08-21 11:55 UTC (permalink / raw)
To: openembedded-core
W dniu 17.08.2012 06:47, Khem Raj pisze:
> Hi All
>
> Recently glibc build has been simplified upstream. It has dropped the
> dependency on libgcc_s and libgcc_eh for building glibc itself.
> This means that we can simplify our toolchain bootstrap a bit by
> dropping 1 of the 3 cross gcc build stages. We do not need
> gcc-cross-intermediate anymore.
Please adapt also toolchain-layer in meta-oe for those stuck with gcc 4.6.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-21 11:55 ` Marcin Juszkiewicz
@ 2012-08-21 12:00 ` Phil Blundell
2012-08-21 12:07 ` Martin Jansa
2012-08-21 12:23 ` Gary Thomas
2012-08-21 17:13 ` Khem Raj
2012-08-21 18:37 ` Khem Raj
2 siblings, 2 replies; 17+ messages in thread
From: Phil Blundell @ 2012-08-21 12:00 UTC (permalink / raw)
To: Marcin Juszkiewicz; +Cc: openembedded-core
On Tue, 2012-08-21 at 13:55 +0200, Marcin Juszkiewicz wrote:
> W dniu 17.08.2012 06:47, Khem Raj pisze:
> > Hi All
> >
> > Recently glibc build has been simplified upstream. It has dropped the
> > dependency on libgcc_s and libgcc_eh for building glibc itself.
> > This means that we can simplify our toolchain bootstrap a bit by
> > dropping 1 of the 3 cross gcc build stages. We do not need
> > gcc-cross-intermediate anymore.
>
> Please adapt also toolchain-layer in meta-oe for those stuck with gcc 4.6.
Why is it that gcc-4.7 doesn't work for those people?
p.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-21 12:00 ` Phil Blundell
@ 2012-08-21 12:07 ` Martin Jansa
2012-08-21 12:23 ` Gary Thomas
1 sibling, 0 replies; 17+ messages in thread
From: Martin Jansa @ 2012-08-21 12:07 UTC (permalink / raw)
To: Phil Blundell; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]
On Tue, Aug 21, 2012 at 01:00:03PM +0100, Phil Blundell wrote:
> On Tue, 2012-08-21 at 13:55 +0200, Marcin Juszkiewicz wrote:
> > W dniu 17.08.2012 06:47, Khem Raj pisze:
> > > Hi All
> > >
> > > Recently glibc build has been simplified upstream. It has dropped the
> > > dependency on libgcc_s and libgcc_eh for building glibc itself.
> > > This means that we can simplify our toolchain bootstrap a bit by
> > > dropping 1 of the 3 cross gcc build stages. We do not need
> > > gcc-cross-intermediate anymore.
> >
> > Please adapt also toolchain-layer in meta-oe for those stuck with gcc 4.6.
>
> Why is it that gcc-4.7 doesn't work for those people?
At least it should parse for people who have toolchain-layer enabled..
Parsing recipes...ERROR: ParseError at
/OE/shr-core/meta-openembedded/toolchain-layer/recipes-devtools/gcc/gcc-cross-intermediate_4.6.bb:2:
Could not include required file
recipes-devtools/gcc/gcc-cross-intermediate.inc
Cheers,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-17 4:47 Toolchain rework, call for testing Khem Raj
@ 2012-08-21 12:18 ` Martin Jansa
2012-08-17 16:21 ` Christopher Larson
` (3 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: Martin Jansa @ 2012-08-21 12:18 UTC (permalink / raw)
To: Khem Raj
Cc: yocto, openembeded-devel,
Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 3137 bytes --]
On Thu, Aug 16, 2012 at 09:47:37PM -0700, Khem Raj wrote:
> Hi All
>
> Recently glibc build has been simplified upstream. It has dropped the
> dependency on libgcc_s and libgcc_eh for building glibc itself.
> This means that we can simplify our toolchain bootstrap a bit by
> dropping 1 of the 3 cross gcc build stages. We do not need
> gcc-cross-intermediate
> anymore. This should bring some build time reduction and simplify the
> bootstrap. I have a series of patches which I have tested
> by building core-image-minimal and meta-toolchain for all supported
> qemu architectures and also uclibc/eglibc both
> but it needs a lot more testing therefore I am calling out wider
> audience for help in testing it out.
>
> The branch is
>
> http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/toolchain-rework
eglibc fails to build in incremental build
| arm-oe-linux-gnueabi-gcc -march=armv4t -marm -mthumb-interwork -mtune=arm920t --sysroot=/OE/shr-core/tmp-eglibc/sysroots/om-gta02-tcbootstrap -nostdlib -nostartfiles -r -o /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/libc_pic.os \
| -Wl,-d -Wl,--whole-archive /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/libc_pic.a -o /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/libc_pic.os
| arm-oe-linux-gnueabi-gcc -march=armv4t -marm -mthumb-interwork -mtune=arm920t --sysroot=/OE/shr-core/tmp-eglibc/sysroots/om-gta02-tcbootstrap -nostdlib -nostartfiles -r -o /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/elf/librtld.map.o '-Wl,-(' /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/elf/dl-allobjs.os /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/elf/librtld.mapT
| /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-initial/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot find -lgcc
| collect2: error: ld returned 1 exit status
| make[2]: *** [/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/elf/librtld.map] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/eglibc-2_16/libc/elf'
| make[1]: *** [elf/subdir_lib] Error 2
| make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/eglibc-2_16/libc'
Maybe it's because
http://git.openembedded.org/openembedded-core/commit/?id=30617bde61a3b0a0944b49a0c9fb7159dacbb19f
is missing PR bump and gcc wasn't rebuilt before eglibc upgrade (OEBasic not OEBasicHash here).
Cheers,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [yocto] Toolchain rework, call for testing
@ 2012-08-21 12:18 ` Martin Jansa
0 siblings, 0 replies; 17+ messages in thread
From: Martin Jansa @ 2012-08-21 12:18 UTC (permalink / raw)
To: Khem Raj
Cc: yocto, openembeded-devel,
Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 3137 bytes --]
On Thu, Aug 16, 2012 at 09:47:37PM -0700, Khem Raj wrote:
> Hi All
>
> Recently glibc build has been simplified upstream. It has dropped the
> dependency on libgcc_s and libgcc_eh for building glibc itself.
> This means that we can simplify our toolchain bootstrap a bit by
> dropping 1 of the 3 cross gcc build stages. We do not need
> gcc-cross-intermediate
> anymore. This should bring some build time reduction and simplify the
> bootstrap. I have a series of patches which I have tested
> by building core-image-minimal and meta-toolchain for all supported
> qemu architectures and also uclibc/eglibc both
> but it needs a lot more testing therefore I am calling out wider
> audience for help in testing it out.
>
> The branch is
>
> http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/toolchain-rework
eglibc fails to build in incremental build
| arm-oe-linux-gnueabi-gcc -march=armv4t -marm -mthumb-interwork -mtune=arm920t --sysroot=/OE/shr-core/tmp-eglibc/sysroots/om-gta02-tcbootstrap -nostdlib -nostartfiles -r -o /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/libc_pic.os \
| -Wl,-d -Wl,--whole-archive /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/libc_pic.a -o /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/libc_pic.os
| arm-oe-linux-gnueabi-gcc -march=armv4t -marm -mthumb-interwork -mtune=arm920t --sysroot=/OE/shr-core/tmp-eglibc/sysroots/om-gta02-tcbootstrap -nostdlib -nostartfiles -r -o /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/elf/librtld.map.o '-Wl,-(' /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/elf/dl-allobjs.os /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/elf/librtld.mapT
| /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi.gcc-cross-initial/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot find -lgcc
| collect2: error: ld returned 1 exit status
| make[2]: *** [/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/build-arm-oe-linux-gnueabi/elf/librtld.map] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/eglibc-2_16/libc/elf'
| make[1]: *** [elf/subdir_lib] Error 2
| make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/eglibc-2.16-r6+svnr19922/eglibc-2_16/libc'
Maybe it's because
http://git.openembedded.org/openembedded-core/commit/?id=30617bde61a3b0a0944b49a0c9fb7159dacbb19f
is missing PR bump and gcc wasn't rebuilt before eglibc upgrade (OEBasic not OEBasicHash here).
Cheers,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-21 12:00 ` Phil Blundell
2012-08-21 12:07 ` Martin Jansa
@ 2012-08-21 12:23 ` Gary Thomas
1 sibling, 0 replies; 17+ messages in thread
From: Gary Thomas @ 2012-08-21 12:23 UTC (permalink / raw)
To: openembedded-core
On 2012-08-21 06:00, Phil Blundell wrote:
> On Tue, 2012-08-21 at 13:55 +0200, Marcin Juszkiewicz wrote:
>> W dniu 17.08.2012 06:47, Khem Raj pisze:
>>> Hi All
>>>
>>> Recently glibc build has been simplified upstream. It has dropped the
>>> dependency on libgcc_s and libgcc_eh for building glibc itself.
>>> This means that we can simplify our toolchain bootstrap a bit by
>>> dropping 1 of the 3 cross gcc build stages. We do not need
>>> gcc-cross-intermediate anymore.
>>
>> Please adapt also toolchain-layer in meta-oe for those stuck with gcc 4.6.
>
> Why is it that gcc-4.7 doesn't work for those people?
I have troubles with older versions of the Linux kernel on ARM. Anything
older than 3.2 either doesn't boot or is unstable. Kernel only, user code
built with 4.7+ seems to be fine. Since I need to use those older kernels
and I don't have the time/budget to figure out why they don't work with 4.7+,
I'm sticking with 4.6+ for now.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-21 11:55 ` Marcin Juszkiewicz
2012-08-21 12:00 ` Phil Blundell
@ 2012-08-21 17:13 ` Khem Raj
2012-08-21 18:37 ` Khem Raj
2 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2012-08-21 17:13 UTC (permalink / raw)
To: Marcin Juszkiewicz; +Cc: openembedded-core
On Tue, Aug 21, 2012 at 4:55 AM, Marcin Juszkiewicz
<marcin.juszkiewicz@linaro.org> wrote:
> W dniu 17.08.2012 06:47, Khem Raj pisze:
>> Hi All
>>
>> Recently glibc build has been simplified upstream. It has dropped the
>> dependency on libgcc_s and libgcc_eh for building glibc itself.
>> This means that we can simplify our toolchain bootstrap a bit by
>> dropping 1 of the 3 cross gcc build stages. We do not need
>> gcc-cross-intermediate anymore.
>
> Please adapt also toolchain-layer in meta-oe for those stuck with gcc 4.6.
>
Yes. I am testing a patch for it. For tries just delete the *intermediate* files
and see if it helps, I believe you will need it for meta-linaro as well.
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-21 12:18 ` [yocto] " Martin Jansa
@ 2012-08-21 17:15 ` Khem Raj
-1 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2012-08-21 17:15 UTC (permalink / raw)
To: Martin Jansa
Cc: yocto, openembeded-devel,
Patches and discussions about the oe-core layer
On Tue, Aug 21, 2012 at 5:18 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>
> Maybe it's because
> http://git.openembedded.org/openembedded-core/commit/?id=30617bde61a3b0a0944b49a0c9fb7159dacbb19f
> is missing PR bump and gcc wasn't rebuilt before eglibc upgrade (OEBasic not OEBasicHash here).
yes seems so. I have stopped using OEBasic long ago, you should stop
using it too.
But feel free to send a PR bump patchlet.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [yocto] Toolchain rework, call for testing
@ 2012-08-21 17:15 ` Khem Raj
0 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2012-08-21 17:15 UTC (permalink / raw)
To: Martin Jansa
Cc: yocto, openembeded-devel,
Patches and discussions about the oe-core layer
On Tue, Aug 21, 2012 at 5:18 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>
> Maybe it's because
> http://git.openembedded.org/openembedded-core/commit/?id=30617bde61a3b0a0944b49a0c9fb7159dacbb19f
> is missing PR bump and gcc wasn't rebuilt before eglibc upgrade (OEBasic not OEBasicHash here).
yes seems so. I have stopped using OEBasic long ago, you should stop
using it too.
But feel free to send a PR bump patchlet.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-21 17:15 ` [yocto] " Khem Raj
@ 2012-08-21 18:28 ` Martin Jansa
-1 siblings, 0 replies; 17+ messages in thread
From: Martin Jansa @ 2012-08-21 18:28 UTC (permalink / raw)
To: Khem Raj
Cc: yocto, openembeded-devel,
Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 700 bytes --]
On Tue, Aug 21, 2012 at 10:15:47AM -0700, Khem Raj wrote:
> On Tue, Aug 21, 2012 at 5:18 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >
> > Maybe it's because
> > http://git.openembedded.org/openembedded-core/commit/?id=30617bde61a3b0a0944b49a0c9fb7159dacbb19f
> > is missing PR bump and gcc wasn't rebuilt before eglibc upgrade (OEBasic not OEBasicHash here).
>
> yes seems so. I have stopped using OEBasic long ago, you should stop
> using it too.
I'm using OEBasicHash on one jenkins setup, but that one is still
building changes from 2 days ago.. (building 24/7.. )
> But feel free to send a PR bump patchlet.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [yocto] Toolchain rework, call for testing
@ 2012-08-21 18:28 ` Martin Jansa
0 siblings, 0 replies; 17+ messages in thread
From: Martin Jansa @ 2012-08-21 18:28 UTC (permalink / raw)
To: Khem Raj
Cc: yocto, openembeded-devel,
Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 700 bytes --]
On Tue, Aug 21, 2012 at 10:15:47AM -0700, Khem Raj wrote:
> On Tue, Aug 21, 2012 at 5:18 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >
> > Maybe it's because
> > http://git.openembedded.org/openembedded-core/commit/?id=30617bde61a3b0a0944b49a0c9fb7159dacbb19f
> > is missing PR bump and gcc wasn't rebuilt before eglibc upgrade (OEBasic not OEBasicHash here).
>
> yes seems so. I have stopped using OEBasic long ago, you should stop
> using it too.
I'm using OEBasicHash on one jenkins setup, but that one is still
building changes from 2 days ago.. (building 24/7.. )
> But feel free to send a PR bump patchlet.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Toolchain rework, call for testing
2012-08-21 11:55 ` Marcin Juszkiewicz
2012-08-21 12:00 ` Phil Blundell
2012-08-21 17:13 ` Khem Raj
@ 2012-08-21 18:37 ` Khem Raj
2 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2012-08-21 18:37 UTC (permalink / raw)
To: Marcin Juszkiewicz; +Cc: openembedded-core
On Tue, Aug 21, 2012 at 4:55 AM, Marcin Juszkiewicz
<marcin.juszkiewicz@linaro.org> wrote:
> W dniu 17.08.2012 06:47, Khem Raj pisze:
>> Hi All
>>
>> Recently glibc build has been simplified upstream. It has dropped the
>> dependency on libgcc_s and libgcc_eh for building glibc itself.
>> This means that we can simplify our toolchain bootstrap a bit by
>> dropping 1 of the 3 cross gcc build stages. We do not need
>> gcc-cross-intermediate anymore.
>
> Please adapt also toolchain-layer in meta-oe for those stuck with gcc 4.6.
Patch for toolchain-layer is sent for meta-linaro The patch is here
https://github.com/kraj/meta-linaro/commits/master
please merge into the meta-linaro layer.
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2012-08-21 18:49 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-17 4:47 Toolchain rework, call for testing Khem Raj
2012-08-17 10:33 ` Jack Mitchell
2012-08-17 16:21 ` Christopher Larson
2012-08-21 3:35 ` Saul Wold
2012-08-21 4:35 ` Khem Raj
2012-08-21 11:55 ` Marcin Juszkiewicz
2012-08-21 12:00 ` Phil Blundell
2012-08-21 12:07 ` Martin Jansa
2012-08-21 12:23 ` Gary Thomas
2012-08-21 17:13 ` Khem Raj
2012-08-21 18:37 ` Khem Raj
2012-08-21 12:18 ` Martin Jansa
2012-08-21 12:18 ` [yocto] " Martin Jansa
2012-08-21 17:15 ` Khem Raj
2012-08-21 17:15 ` [yocto] " Khem Raj
2012-08-21 18:28 ` Martin Jansa
2012-08-21 18:28 ` [yocto] " Martin Jansa
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.