Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Users

Everybody please fix bug in your scratchbox installation!

 

 

Maemo users RSS feed   Index | Next | Previous | View Threaded


pali.rohar at gmail

Jul 19, 2012, 12:30 AM

Post #1 of 2 (688 views)
Permalink
Everybody please fix bug in your scratchbox installation!

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
pali.rohar [at] gmail
Attachments: signature.asc (0.19 KB)


paul.hartman+maemo at gmail

Jul 19, 2012, 11:41 AM

Post #2 of 2 (636 views)
Permalink
Re: Everybody please fix bug in your scratchbox installation! [In reply to]

On Thu, Jul 19, 2012 at 2:30 AM, Pali Rohár <pali.rohar [at] gmail> 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
maemo-users [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-users

Maemo users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.