statifier-1.7.1

Miscellaneous tools
Post Reply
Message
Author
User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

statifier-1.7.1

#1 Post by Dingo »

*statifier-1.7.1* (compiled in puppy 3.01)
http://dokupuppylinux.co.cc/programs:co ... tifier-171
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/statif ... round.html
* http://statifier.sourceforge.net/statif ... tails.html
* http://statifier.sourceforge.net/statif ... blems.html
* http://statifier.sourceforge.net/statif ... ation.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

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

works!!

#2 Post by vovchik »

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

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#3 Post by Dingo »

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

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

3.01 results

#4 Post by vovchik »

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

Post Reply