Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 22:09
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
statifier-1.7.1
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: Sat 04 Jun 2011, 15:59    Post subject:  statifier-1.7.1
Subject description: another approach to creating portable executables
 

*statifier-1.7.1* (compiled in puppy 3.01)
http://dokupuppylinux.co.cc/programs:compiling_utilities#statifier-171
Quote:
statifier is another approach to creating portable executables, and it's quite different from static linking.

Statifier uses as input already built dynamically linked executables. It allows for the kernel and dynamic linker (ld-linux.so) to do all the work of loading the executable and all its shared libraries.

At this point Statifier creates a snapshot of the process memory image. This snapshot is saved as an ELF executable, with all the needed shared libraries inside.

More details about statifier can be found here:

* http://statifier.sourceforge.net/statifier/background.html
* http://statifier.sourceforge.net/statifier/more_details.html
* http://statifier.sourceforge.net/statifier/more_problems.html
* http://statifier.sourceforge.net/statifier/implementation.html

Simple and easy, and no messing around with static linking! And it works, too!

Or to be more precise it used to work.

Recent Linux kernels introduced VDSO (Virtual Dynamic Shared Object) and stack randomization. Those things, while valuable features, don't play well with Statifier.


personal notes: I used statifier, but it has failed in any attempt I have made to *statify* an application. I suspect these unsuccessful attempts are related to internal program structure. If you have success in statify some program, you are invited to to describe your experience

_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
Back to top
View user's profile Send private message Visit poster's website 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Mon 13 Jun 2011, 15:40    Post subject: works!!  

Dear Dingo,

I tried stratifier a few years ago but didn't really have an app I needed to stratify. I had one today - umplayer from Icepup 16, which I wanted to run in MacPup 520. The problem is that Icepup uses qt4.6.x and I use qt4.8 in my severly modded MacPup520. Sratifier packed up umplayer from Icepup nicely - producing a 25MB binary. Although large, it works brilliantly in MacPup now. You saved me a long compile. Thanks.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: Mon 13 Jun 2011, 15:54    Post subject:  

Interesting result, do you can upload somewhere this statified version? (I want test in Puppy 3.01)
_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
Back to top
View user's profile Send private message Visit poster's website 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Mon 13 Jun 2011, 16:16    Post subject: 3.01 results  

Dear Dingo,

I don't know where to upload that monster. If you have a site, please PM me. Just now I tested umplayer in my trusty HD-installed 3.01 from the command line and it segfaulted. It could be that umplayer was looking for something in /usr/share/umplayer or /root/.config/umplayer and failed to report something intelligible. I will supply those missing dirs and files in 3.01 and try again. I'll post a report.

In any case, an interesting and successful result in IcePuppy16 and MacPup520 with a complicated program.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0455s ][ Queries: 11 (0.0029s) ][ GZIP on ]