All of lore.kernel.org
 help / color / mirror / Atom feed
* meta-toolchain not always relocatable
@ 2015-03-19 16:46 Marco Cavallini
  2015-03-19 17:20 ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Cavallini @ 2015-03-19 16:46 UTC (permalink / raw)
  To: yocto

Hi,
I am facing to a very odd behaviour installing the resulting meta-toolchain.
I launch poky-glibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.7.1.sh

If I install in the default directory or in /opt/poky/test it works as
expected, but if I install in /opt/poky/1.7.1-cortexa9hf there is a
problem. Using YP older that dizzy it worked with a charm.

$ ./poky-glibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.7.1.sh
Enter target directory for SDK (default: /opt/poky/1.7.1):
/opt/poky/1.7.1-cortexa9hf
You are about to install the SDK to "/opt/poky/1.7.1-cortexa9hf". Proceed[Y/n]?
Extracting SDK...done
Setting it up...done
SDK has been successfully set up and is ready to be used.

Now I can't use it calling the env setup as usual
$ . /opt/poky/1.7.1-cortexa9hf/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi

the reason is that the resulting path is incorrect

$ env | grep PATH
PATH=/opt/poky/1.7.1-cortexa9hf-cortexa9hf/sysroots/i686-pokysdk-linux/usr/bin:/opt/poky/1.7.1-cortexa9hf-cortexa9hf/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi:.....

--
Marco


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

* Re: meta-toolchain not always relocatable
  2015-03-19 16:46 meta-toolchain not always relocatable Marco Cavallini
@ 2015-03-19 17:20 ` Paul Eggleton
  2015-03-20  1:51   ` akuster808
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2015-03-19 17:20 UTC (permalink / raw)
  To: Marco Cavallini, Aníbal Limón; +Cc: yocto

Hi Marco,

On Thursday 19 March 2015 17:46:44 Marco Cavallini wrote:
> I am facing to a very odd behaviour installing the resulting meta-toolchain.
> I launch
> poky-glibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.7.1.sh
> 
> If I install in the default directory or in /opt/poky/test it works as
> expected, but if I install in /opt/poky/1.7.1-cortexa9hf there is a
> problem. Using YP older that dizzy it worked with a charm.
> 
> $ ./poky-glibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.7.1.sh
> Enter target directory for SDK (default: /opt/poky/1.7.1):
> /opt/poky/1.7.1-cortexa9hf
> You are about to install the SDK to "/opt/poky/1.7.1-cortexa9hf".
> Proceed[Y/n]? Extracting SDK...done
> Setting it up...done
> SDK has been successfully set up and is ready to be used.
> 
> Now I can't use it calling the env setup as usual
> $ .
> /opt/poky/1.7.1-cortexa9hf/environment-setup-cortexa9hf-vfp-neon-poky-linux
> -gnueabi
> 
> the reason is that the resulting path is incorrect
> 
> $ env | grep PATH
> PATH=/opt/poky/1.7.1-cortexa9hf-cortexa9hf/sysroots/i686-pokysdk-linux/usr/b
> in:/opt/poky/1.7.1-cortexa9hf-cortexa9hf/sysroots/i686-pokysdk-linux/usr/bin
> /arm-poky-linux-gnueabi:.....

Yes, I discovered this a few months ago and it got fixed in master:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7032

It looks like we still haven't backported the fix to 1.7 though. Anibal, could 
you please take care of that?

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: meta-toolchain not always relocatable
  2015-03-19 17:20 ` Paul Eggleton
@ 2015-03-20  1:51   ` akuster808
  0 siblings, 0 replies; 3+ messages in thread
From: akuster808 @ 2015-03-20  1:51 UTC (permalink / raw)
  To: yocto



On 03/19/2015 10:20 AM, Paul Eggleton wrote:
> Hi Marco,
>
> On Thursday 19 March 2015 17:46:44 Marco Cavallini wrote:
>> I am facing to a very odd behaviour installing the resulting meta-toolchain.
>> I launch
>> poky-glibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.7.1.sh
>>
>> If I install in the default directory or in /opt/poky/test it works as
>> expected, but if I install in /opt/poky/1.7.1-cortexa9hf there is a
>> problem. Using YP older that dizzy it worked with a charm.
>>
>> $ ./poky-glibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.7.1.sh
>> Enter target directory for SDK (default: /opt/poky/1.7.1):
>> /opt/poky/1.7.1-cortexa9hf
>> You are about to install the SDK to "/opt/poky/1.7.1-cortexa9hf".
>> Proceed[Y/n]? Extracting SDK...done
>> Setting it up...done
>> SDK has been successfully set up and is ready to be used.
>>
>> Now I can't use it calling the env setup as usual
>> $ .
>> /opt/poky/1.7.1-cortexa9hf/environment-setup-cortexa9hf-vfp-neon-poky-linux
>> -gnueabi
>>
>> the reason is that the resulting path is incorrect
>>
>> $ env | grep PATH
>> PATH=/opt/poky/1.7.1-cortexa9hf-cortexa9hf/sysroots/i686-pokysdk-linux/usr/b
>> in:/opt/poky/1.7.1-cortexa9hf-cortexa9hf/sysroots/i686-pokysdk-linux/usr/bin
>> /arm-poky-linux-gnueabi:.....
>
> Yes, I discovered this a few months ago and it got fixed in master:
>
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=7032
>
> It looks like we still haven't backported the fix to 1.7 though. Anibal, could
> you please take care of that?

I can if Anibal is working on other things. I have slowly back porting 
changes anyway for the next dizzy release.

- armin
>
> Thanks,
> Paul
>


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

end of thread, other threads:[~2015-03-20  1:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19 16:46 meta-toolchain not always relocatable Marco Cavallini
2015-03-19 17:20 ` Paul Eggleton
2015-03-20  1:51   ` akuster808

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.