Openembedded Core Discussions
 help / color / mirror / Atom feed
* lib64 not getting picked up
@ 2011-08-01 16:15 Kumar Gala
  2011-08-01 16:23 ` Phil Blundell
  2011-08-01 16:28 ` Mark Hatle
  0 siblings, 2 replies; 4+ messages in thread
From: Kumar Gala @ 2011-08-01 16:15 UTC (permalink / raw)
  To: openembedded-core

I'm trying to build a powerpc 64-bit system and for some reason everything is still in /lib instead of /lib64.

I'd expect things in /lib64 based on how arch-powerpc64.inc has:

BASE_LIB_tune-powerpc64 = "lib64"

any ideas on what to look at for why this isn't happening?

- k


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

* Re: lib64 not getting picked up
  2011-08-01 16:15 lib64 not getting picked up Kumar Gala
@ 2011-08-01 16:23 ` Phil Blundell
  2011-08-01 16:28 ` Mark Hatle
  1 sibling, 0 replies; 4+ messages in thread
From: Phil Blundell @ 2011-08-01 16:23 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, 2011-08-01 at 11:15 -0500, Kumar Gala wrote:
> I'm trying to build a powerpc 64-bit system and for some reason everything is still in /lib instead of /lib64.
> 
> I'd expect things in /lib64 based on how arch-powerpc64.inc has:
> 
> BASE_LIB_tune-powerpc64 = "lib64"
> 
> any ideas on what to look at for why this isn't happening?

BASE_LIB_tune-... appears only to be used by multilib.conf.  If you're
not doing a multilib build then it doesn't seem as though that variable
will have any useful effect.

From a quick perusal of the conf files it looks as though setting 

baselib = "lib64"

might be the appropriate thing to do if you really want to use /lib64
even though your architecture is natively 64-bit. 

If you _are_ using multilib then I guess you would need to instrument
that class a bit to see why it isn't doing the right thing.

p.





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

* Re: lib64 not getting picked up
  2011-08-01 16:15 lib64 not getting picked up Kumar Gala
  2011-08-01 16:23 ` Phil Blundell
@ 2011-08-01 16:28 ` Mark Hatle
  2011-08-01 16:58   ` Richard Purdie
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Hatle @ 2011-08-01 16:28 UTC (permalink / raw)
  To: openembedded-core

On 8/1/11 11:15 AM, Kumar Gala wrote:
> I'm trying to build a powerpc 64-bit system and for some reason everything is still in /lib instead of /lib64.
> 
> I'd expect things in /lib64 based on how arch-powerpc64.inc has:
> 
> BASE_LIB_tune-powerpc64 = "lib64"
> 
> any ideas on what to look at for why this isn't happening?
> 
> - k
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

in bitbake.conf try changing "baselib" to:

baselib = "${@d.getVar('BASE_LIB_tune-${DEFAULTTUNE}', True) or 'lib'}"

--Mark



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

* Re: lib64 not getting picked up
  2011-08-01 16:28 ` Mark Hatle
@ 2011-08-01 16:58   ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2011-08-01 16:58 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, 2011-08-01 at 11:28 -0500, Mark Hatle wrote:
> On 8/1/11 11:15 AM, Kumar Gala wrote:
> > I'm trying to build a powerpc 64-bit system and for some reason everything is still in /lib instead of /lib64.
> > 
> > I'd expect things in /lib64 based on how arch-powerpc64.inc has:
> > 
> > BASE_LIB_tune-powerpc64 = "lib64"
> > 
> > any ideas on what to look at for why this isn't happening?
> > 
> > - k
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 
> in bitbake.conf try changing "baselib" to:
> 
> baselib = "${@d.getVar('BASE_LIB_tune-${DEFAULTTUNE}', True) or 'lib'}"

FWIW, this is currently in multilib.conf so in non multilib configs, it
defaults to "lib" and in multilib, it defaults to the BASE_LIB settings.

If we want to use BASE_LIB in all cases its easy to change, I just felt
we could hold off on doing that for now, at least whilst we work through
some of the tune gremlins...

Cheers,

Richard




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

end of thread, other threads:[~2011-08-01 17:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-01 16:15 lib64 not getting picked up Kumar Gala
2011-08-01 16:23 ` Phil Blundell
2011-08-01 16:28 ` Mark Hatle
2011-08-01 16:58   ` Richard Purdie

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