* Hob can't support external toolchain?
@ 2012-06-20 1:06 李金成
2012-06-20 6:12 ` Xu, Dongxiao
2012-06-25 0:51 ` Xu, Dongxiao
0 siblings, 2 replies; 6+ messages in thread
From: 李金成 @ 2012-06-20 1:06 UTC (permalink / raw)
To: bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]
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?
[-- Attachment #2: Type: text/html, Size: 2070 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Hob can't support external toolchain?
2012-06-20 1:06 Hob can't support external toolchain? 李金成
@ 2012-06-20 6:12 ` Xu, Dongxiao
2012-06-20 7:08 ` Wang, Shane
2012-06-25 0:51 ` Xu, Dongxiao
1 sibling, 1 reply; 6+ messages in thread
From: Xu, Dongxiao @ 2012-06-20 6:12 UTC (permalink / raw)
To: 李金成, bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 1762 bytes --]
Could you find the exact error message in the log file?
From your posts, I cannot find the error information.
Thanks,
Dongxiao
From: bitbake-devel-bounces@lists.openembedded.org [mailto:bitbake-devel-bounces@lists.openembedded.org] 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?
[-- Attachment #2: Type: text/html, Size: 6273 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Hob can't support external toolchain?
2012-06-20 6:12 ` Xu, Dongxiao
@ 2012-06-20 7:08 ` Wang, Shane
0 siblings, 0 replies; 6+ messages in thread
From: Wang, Shane @ 2012-06-20 7:08 UTC (permalink / raw)
To: Xu, Dongxiao, 李金成, bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 2159 bytes --]
Again, Li Jingcheng, please tell your steps for the usage.
--
Shane
From: bitbake-devel-bounces@lists.openembedded.org [mailto:bitbake-devel-bounces@lists.openembedded.org] 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: bitbake-devel-bounces@lists.openembedded.org<mailto:bitbake-devel-bounces@lists.openembedded.org> [mailto:bitbake-devel-bounces@lists.openembedded.org] 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?
[-- Attachment #2: Type: text/html, Size: 8731 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Hob can't support external toolchain?
2012-06-20 1:06 Hob can't support external toolchain? 李金成
2012-06-20 6:12 ` Xu, Dongxiao
@ 2012-06-25 0:51 ` Xu, Dongxiao
2012-06-25 5:39 ` Peter Seebach
1 sibling, 1 reply; 6+ messages in thread
From: Xu, Dongxiao @ 2012-06-25 0:51 UTC (permalink / raw)
To: 李金成, bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]
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: bitbake-devel-bounces@lists.openembedded.org [mailto:bitbake-devel-bounces@lists.openembedded.org] 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?
[-- Attachment #2: Type: text/html, Size: 6583 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Hob can't support external toolchain?
2012-06-25 0:51 ` Xu, Dongxiao
@ 2012-06-25 5:39 ` Peter Seebach
2012-06-25 5:53 ` Khem Raj
0 siblings, 1 reply; 6+ messages in thread
From: Peter Seebach @ 2012-06-25 5:39 UTC (permalink / raw)
To: Xu, Dongxiao; +Cc: bitbake-devel, 李金成
On Mon, 25 Jun 2012 00:51:08 +0000
"Xu, Dongxiao" <dongxiao.xu@intel.com> wrote:
> 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.
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
--
Listen, get this. Nobody with a good compiler needs to be justified.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Hob can't support external toolchain?
2012-06-25 5:39 ` Peter Seebach
@ 2012-06-25 5:53 ` Khem Raj
0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2012-06-25 5:53 UTC (permalink / raw)
To: Peter Seebach; +Cc: 李金成, bitbake-devel
On Sun, Jun 24, 2012 at 10:39 PM, Peter Seebach
<peter.seebach@windriver.com> wrote:
> On Mon, 25 Jun 2012 00:51:08 +0000
> "Xu, Dongxiao" <dongxiao.xu@intel.com> wrote:
>
>> 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.
>
> 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.
>
you can also add TARGET_CC_ARCH += " ${LDFLAGS}" at global level for
external toolchain.
> -s
> --
> Listen, get this. Nobody with a good compiler needs to be justified.
>
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-06-25 6:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-20 1:06 Hob can't support external toolchain? 李金成
2012-06-20 6:12 ` Xu, Dongxiao
2012-06-20 7:08 ` Wang, Shane
2012-06-25 0:51 ` Xu, Dongxiao
2012-06-25 5:39 ` Peter Seebach
2012-06-25 5:53 ` Khem Raj
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.