Everybody please fix bug in your scratchbox installation!

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Everybody please fix bug in your scratchbox installation!

Pali Rohár
Hello Maemo Community!

Now after long time I found a very very *big* problem in Nokia
Maemo SDK virtual image which can be downloaded from location:  
http://tablets-dev.nokia.com/maemo-dev-env-downloads.php
file Maemo_Ubuntu_Lucid_Desktop_SDK_Virtual_Image_Final.7z

Problem is in scratchbox and may be in regular scratchbox
installation on desktop too (not only in virtual image)!

That Virtual image contains *thumb* string in scratchbox shell
variable DEB_BUILD_OPTIONS which cause that some applications
will be compiled with thumb instructions.

Thumb is unstable on default Maemo 5 for Nokia N900 and
applications which are compiled with thumb-2 will crash without
any reason.

Check if you have problematic scratchbox:

1. Login to scratchbox: run /scratchbox/login
2. print DEB_BUILD_OPTIONS in scratchbox: echo $DEB_BUILD_OPTIONS

If it does *not* show "thumb" your scratchbox is already fixed
and thumb is disabled. If it *show* thumb, disable it.

Instructions how to disable *thumb* string in scratchbox:

1. Login to scratchbox: run /scratchbox/login
2. Edit file /targets/FREMANTLE_ARMEL.environment
3. Remove "thumb" from that file
4. Save file and *logout* from scratchbox

Note that scratchbox is loading DEB_BUILD_OPTIONS variable at
startup, so you need to restart scratchbox to take effect. After
restarting please check again if thumb is really disabled.

--
Pali Rohár
[hidden email]
_______________________________________________
maemo-users mailing list
[hidden email]
https://lists.maemo.org/mailman/listinfo/maemo-users

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Everybody please fix bug in your scratchbox installation!

Paul Hartman-3
On Thu, Jul 19, 2012 at 2:30 AM, Pali Rohár <[hidden email]> wrote:
> Check if you have problematic scratchbox:
>
> 1. Login to scratchbox: run /scratchbox/login
> 2. print DEB_BUILD_OPTIONS in scratchbox: echo $DEB_BUILD_OPTIONS
>
> If it does *not* show "thumb" your scratchbox is already fixed
> and thumb is disabled. If it *show* thumb, disable it.

Thanks, I have 2 instances of SDK VM and both had "thumb" enabled in
the options.
_______________________________________________
maemo-users mailing list
[hidden email]
https://lists.maemo.org/mailman/listinfo/maemo-users