Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2] image-mklibs.bbclass: Add powerpc64 arch support
@ 2011-08-03  5:27 Kumar Gala
  2011-08-03 16:53 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2011-08-03  5:27 UTC (permalink / raw)
  To: openembedded-core

powerp64 dynamic loader is 'ld64.so.1'.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
* Use correct name of ppc64 dynamic loader
* user ${baselib} so if we are /lib or /lib64 things work

 meta/classes/image-mklibs.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass
index 9f5a4ea..83f609c 100644
--- a/meta/classes/image-mklibs.bbclass
+++ b/meta/classes/image-mklibs.bbclass
@@ -19,6 +19,9 @@ mklibs_optimize_image_doit() {
 		powerpc | mips | microblaze )
 			dynamic_loader="/lib/ld.so.1"
 			;;
+		powerpc64)
+			dynamic_loader="/${baselib}/ld64.so.1"
+			;;
 		x86_64)
 			dynamic_loader="/lib/ld-linux-x86-64.so.2"
 			;;
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] image-mklibs.bbclass: Add powerpc64 arch support
  2011-08-03  5:27 [PATCH v2] image-mklibs.bbclass: Add powerpc64 arch support Kumar Gala
@ 2011-08-03 16:53 ` Richard Purdie
  2011-08-04  4:03   ` Kumar Gala
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2011-08-03 16:53 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-08-03 at 00:27 -0500, Kumar Gala wrote:
> powerp64 dynamic loader is 'ld64.so.1'.
> 
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> * Use correct name of ppc64 dynamic loader
> * user ${baselib} so if we are /lib or /lib64 things work
> 
>  meta/classes/image-mklibs.bbclass |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass
> index 9f5a4ea..83f609c 100644
> --- a/meta/classes/image-mklibs.bbclass
> +++ b/meta/classes/image-mklibs.bbclass
> @@ -19,6 +19,9 @@ mklibs_optimize_image_doit() {
>  		powerpc | mips | microblaze )
>  			dynamic_loader="/lib/ld.so.1"
>  			;;
> +		powerpc64)
> +			dynamic_loader="/${baselib}/ld64.so.1"
> +			;;
>  		x86_64)
>  			dynamic_loader="/lib/ld-linux-x86-64.so.2"
>  			;;

Can we use ${base_libdir} there please?

${baselib} is really intended only for use to build the other
expressions.

We should probably use ${base_libdir} elsewhere in this file too. I also
suspect prelinking of a multilib image may need work :/.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] image-mklibs.bbclass: Add powerpc64 arch support
  2011-08-03 16:53 ` Richard Purdie
@ 2011-08-04  4:03   ` Kumar Gala
  0 siblings, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2011-08-04  4:03 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


On Aug 3, 2011, at 11:53 AM, Richard Purdie wrote:

> On Wed, 2011-08-03 at 00:27 -0500, Kumar Gala wrote:
>> powerp64 dynamic loader is 'ld64.so.1'.
>> 
>> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
>> ---
>> * Use correct name of ppc64 dynamic loader
>> * user ${baselib} so if we are /lib or /lib64 things work
>> 
>> meta/classes/image-mklibs.bbclass |    3 +++
>> 1 files changed, 3 insertions(+), 0 deletions(-)
>> 
>> diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass
>> index 9f5a4ea..83f609c 100644
>> --- a/meta/classes/image-mklibs.bbclass
>> +++ b/meta/classes/image-mklibs.bbclass
>> @@ -19,6 +19,9 @@ mklibs_optimize_image_doit() {
>> 		powerpc | mips | microblaze )
>> 			dynamic_loader="/lib/ld.so.1"
>> 			;;
>> +		powerpc64)
>> +			dynamic_loader="/${baselib}/ld64.so.1"
>> +			;;
>> 		x86_64)
>> 			dynamic_loader="/lib/ld-linux-x86-64.so.2"
>> 			;;
> 
> Can we use ${base_libdir} there please?
> 
> ${baselib} is really intended only for use to build the other
> expressions.
> 
> We should probably use ${base_libdir} elsewhere in this file too. I also
> suspect prelinking of a multilib image may need work :/.

Sent a fixed patch for powerpc64 and a new patch to change everyone else.

- k


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-04  4:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03  5:27 [PATCH v2] image-mklibs.bbclass: Add powerpc64 arch support Kumar Gala
2011-08-03 16:53 ` Richard Purdie
2011-08-04  4:03   ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox