Hob can't support external toolchain?
Hi!
I'm using poky to develop my image with external toolchain “Sourcery CodeBench Lite 2011.09-70”. I added the fellow lines in "Poky.conf":
TCMODE = "external-csl"
CSL_VER_MAIN = "2011.09-70"
EXTERNAL_TOOLCHAIN = "/home/ljc/arm-2011.09/arm"
TARGET_PREFIX = "arm-none-linux-gnueabi-"
In "tcmode-external-sourcery.inc",I changed
TARGET_PREFIX = "${CSL_TARGET_SYS}-"
to
TARGET_PREFIX ?= "${CSL_TARGET_SYS}-"When I launched poky with Command Line,It succeed with the fellow messgaes:
.....
WARNING: QA Issue: No GNU_HASH in the elf binary: '/home/ljc/poky-denzil-7.0/build/tmp/work/armv6-vfp-poky-linux-
gnueabi/perl-5.14.2-r6/packages-split/perl-module-threads/usr/lib/perl/5.14.2/auto/threads/shared/shared.so'
NOTE: package python-2.7.2-r2.14: task do_package_write_rpm: Succeeded
But when I launched poky with hob gui, the poky failed with the fellow messages:
......
QA Issue:No GNU_HASH in the elf binary:'/home/ljc/poky-denzil-7.0/build/tmp/work/armv6-vfp-poky-linux-gnueabi/perl-
5.14.2-r6/packages-split/perl-module-threads/usr/lib/perl/5.14.2/auto/threads/shared/shared.so'
QA run found fatal errors.Please consider fixing then.
Function faild:do_package_qa
Hob can't support external toolchain?
Could you find the exact error message in the log file?
From your posts, I cannot find the error information.
Thanks,
Dongxiao
From: [email protected] [mailto:[email protected]] On Behalf Of 李金成
Sent: Wednesday, June 20, 2012 9:07 AM
To: bitbake-devel
Subject: [bitbake-devel] Hob can't support external toolchain?
Hi!
I'm using poky to develop my image with external toolchain “Sourcery CodeBench Lite 2011.09-70”. I added the fellow lines in "Poky.conf":
TCMODE = "external-csl"
CSL_VER_MAIN = "2011.09-70"
EXTERNAL_TOOLCHAIN = "/home/ljc/arm-2011.09/arm"
TARGET_PREFIX = "arm-none-linux-gnueabi-"
In "tcmode-external-sourcery.inc",I changed
TARGET_PREFIX = "${CSL_TARGET_SYS}-"
to
TARGET_PREFIX ?= "${CSL_TARGET_SYS}-"When I launched poky with Command Line,It succeed with the fellow messgaes:
.....
WARNING: QA Issue: No GNU_HASH in the elf binary: '/home/ljc/poky-denzil-7.0/build/tmp/work/armv6-vfp-poky-linux-
gnueabi/perl-5.14.2-r6/packages-split/perl-module-threads/usr/lib/perl/5.14.2/auto/threads/shared/shared.so'
NOTE: package python-2.7.2-r2.14: task do_package_write_rpm: Succeeded
But when I launched poky with hob gui, the poky failed with the fellow messages:
......
QA Issue:No GNU_HASH in the elf binary:'/home/ljc/poky-denzil-7.0/build/tmp/work/armv6-vfp-poky-linux-gnueabi/perl-
5.14.2-r6/packages-split/perl-module-threads/usr/lib/perl/5.14.2/auto/threads/shared/shared.so'
QA run found fatal errors.Please consider fixing then.
Function faild:do_package_qa
Hob can't support external toolchain?
Again, Li Jingcheng, please tell your steps for the usage.
--
Shane
From: [email protected] [mailto:[email protected]] On Behalf Of Xu, Dongxiao
Sent: Wednesday, June 20, 2012 2:13 PM
To: 李金成; bitbake-devel
Subject: Re: [bitbake-devel] Hob can't support external toolchain?
Could you find the exact error message in the log file?
From your posts, I cannot find the error information.
Thanks,
Dongxiao
From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of 李金成
Sent: Wednesday, June 20, 2012 9:07 AM
To: bitbake-devel
Subject: [bitbake-devel] Hob can't support external toolchain?
Hi!
I'm using poky to develop my image with external toolchain “Sourcery CodeBench Lite 2011.09-70”. I added the fellow lines in "Poky.conf":
TCMODE = "external-csl"
CSL_VER_MAIN = "2011.09-70"
EXTERNAL_TOOLCHAIN = "/home/ljc/arm-2011.09/arm"
TARGET_PREFIX = "arm-none-linux-gnueabi-"
In "tcmode-external-sourcery.inc",I changed
TARGET_PREFIX = "${CSL_TARGET_SYS}-"
to
TARGET_PREFIX ?= "${CSL_TARGET_SYS}-"When I launched poky with Command Line,It succeed with the fellow messgaes:
.....
WARNING: QA Issue: No GNU_HASH in the elf binary: '/home/ljc/poky-denzil-7.0/build/tmp/work/armv6-vfp-poky-linux-
gnueabi/perl-5.14.2-r6/packages-split/perl-module-threads/usr/lib/perl/5.14.2/auto/threads/shared/shared.so'
NOTE: package python-2.7.2-r2.14: task do_package_write_rpm: Succeeded
But when I launched poky with hob gui, the poky failed with the fellow messages:
......
QA Issue:No GNU_HASH in the elf binary:'/home/ljc/poky-denzil-7.0/build/tmp/work/armv6-vfp-poky-linux-gnueabi/perl-
5.14.2-r6/packages-split/perl-module-threads/usr/lib/perl/5.14.2/auto/threads/shared/shared.so'
QA run found fatal errors.Please consider fixing then.
Function faild:do_package_qa
Hob can't support external toolchain?
Well, we met the same error (No GNU_HASH in the elf binary) even with command line. The different is that we failed on “zip” recipe.
Did you succeed in command line when building a full image?
Thanks,
Dongxiao
From: [email protected] [mailto:[email protected]] On Behalf Of 李金成
Sent: Wednesday, June 20, 2012 9:07 AM
To: bitbake-devel
Subject: [bitbake-devel] Hob can't support external toolchain?
Hi!
I'm using poky to develop my image with external toolchain “Sourcery CodeBench Lite 2011.09-70”. I added the fellow lines in "Poky.conf":
TCMODE = "external-csl"
CSL_VER_MAIN = "2011.09-70"
EXTERNAL_TOOLCHAIN = "/home/ljc/arm-2011.09/arm"
TARGET_PREFIX = "arm-none-linux-gnueabi-"
In "tcmode-external-sourcery.inc",I changed
TARGET_PREFIX = "${CSL_TARGET_SYS}-"
to
TARGET_PREFIX ?= "${CSL_TARGET_SYS}-"When I launched poky with Command Line,It succeed with the fellow messgaes:
.....
WARNING: QA Issue: No GNU_HASH in the elf binary: '/home/ljc/poky-denzil-7.0/build/tmp/work/armv6-vfp-poky-linux-
gnueabi/perl-5.14.2-r6/packages-split/perl-module-threads/usr/lib/perl/5.14.2/auto/threads/shared/shared.so'
NOTE: package python-2.7.2-r2.14: task do_package_write_rpm: Succeeded
But when I launched poky with hob gui, the poky failed with the fellow messages:
......
QA Issue:No GNU_HASH in the elf binary:'/home/ljc/poky-denzil-7.0/build/tmp/work/armv6-vfp-poky-linux-gnueabi/perl-
5.14.2-r6/packages-split/perl-module-threads/usr/lib/perl/5.14.2/auto/threads/shared/shared.so'
QA run found fatal errors.Please consider fixing then.
Function faild:do_package_qa
Hob can't support external toolchain?
Quoted 2 lines · Dongxiao
Well, we met the same error (No
GNU_HASHin the elf binary) even with command line. The different is that we failed on “zip” recipe.
There are a number of packages which do not pass --hash-style=gnu to the linker correctly. With the native toolchain, this doesn't matter because it's the default. With the CS toolchain, you either need a bunch of INSANE_SKIP_rpmname = "ldflags" or to get a build that's been modified to enable GNU_HASH by default.
-s
Signature · 1 line
Listen, get this. Nobody with a good compiler needs to be justified.
Quoted 12 lines · Peter Seebach
Quoted 2 lines · Dongxiao
Well, we met the same error (No
GNU_HASHin the elf binary) even with command line. The different is that we failed on “zip” recipe.There are a number of packages which do not pass --hash-style=gnu to the linker correctly. With the native toolchain, this doesn't matter because it's the default. With the CS toolchain, you either need a bunch of
INSANE_SKIP_rpmname= "ldflags" or to get a build that's been modified to enableGNU_HASHby default.
you can also add TARGET_CC_ARCH += " ${LDFLAGS}" at global level for external toolchain.
Quoted 8 lines
-s
--
Listen, get this. Nobody with a good compiler needs to be justified._______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel