Re: [Statifier-general] Unsuccessful porting between linux distributions
Tool for creating portable self-containing Linux executable
Brought to you by:
valery_reznic
|
From: Richard <rk...@us...> - 2013-12-09 22:11:03
|
I installed strace, and here is the output
(sorry about the wrap-around, I don't know
how to disable it):
------------------------------------------------------
root:~/bitmap_static# strace -s300 -i ./bitmap.static
[ffffe424] execve("./bitmap.static", ["./bitmap.static"], [/* 22 vars
*/]) = 0
[0805881e] set_thread_area({entry_number:-1 -> 6, base_addr:0xb7cb26b0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
[ffffe408] sigreturn() (mask [ILL TRAP ABRT FPE USR2 ALRM TERM CHLD STOP
TSTP TTIN URG XCPU XFSZ VTALRM PROF IO PWR RTMIN]) = -1210984453
[b7ff0020] --- SIGILL {si_signo=SIGILL, si_code=ILL_BADSTK, si_addr=0} ---
[????????] +++ killed by SIGILL +++
Illegal instruction
---------------------------------------------------
Richard
On 12/09/2013 01:52 AM, Valery Reznic wrote:
>
>
>
> Hi, Richard.
>
> Could you run bitmap1.static on LFS7.2 under strace:
>
> strace -s300 -i bitmap1.static
>
> Valery
>
>> ________________________________
>> From: Richard <rk...@us...>
>> To: sta...@li...
>> Sent: Sunday, December 8, 2013 6:12 PM
>> Subject: [Statifier-general] Unsuccessful porting between linux distributions
>>
>>
>> Hi,
>>
>> Just wondering if anyone has an idea why this
>> didn't work. I was trying to statify a program
>> called "bitmap" that used to be available in X
>> window distributions.
>>
>> I started in a Linux From Scratch
>> (www.linuxfromscratch.org) version 6.2
>> distribution, which uses kernel 2.6.16.27.
>> In LFS_6.2, the bitmap program was part, I
>> believe, of the XFree86-4.6.0 package.
>> The bitmap program requires several shared
>> libraries. Since in later distributions I
>> don't have all the required libraries, and
>> since the bitmap program is no longer available
>> in them, I wanted to make a static version of
>> it. I installed statifier-1.7.3 in LFS_6.2
>> and I created two static versions of bitmap
>> using the following commands:
>>
>> statifier bitmap bitmap.static1
>> statifier --set=LD_BIND_NOW=yes bitmap bitmap.static2
>>
>> Both bitmap.static1 and bitmap.static2 run
>> in LFS_6.2. However, when I transfer these programs
>> to a later Linux From Scratch verion 7.2, which
>> uses kernel version 3.5.7, I can't run either
>> of the static programs. Both give me the message:
>>
>> Illegal Instruction
>>
>> Any ideas how to successfully port this program?
>>
>> Thanks,
>>
>> Richard
>>
>> ------------------------------------------------------------------------------
>> Sponsored by Intel(R) XDK
>> Develop, test and display web and hybrid apps with a single code base.
>> Download it for free now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Statifier-general mailing list
>> Sta...@li...
>> https://lists.sourceforge.net/lists/listinfo/statifier-general
>>
>>
>>
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> Statifier-general mailing list
> Sta...@li...
> https://lists.sourceforge.net/lists/listinfo/statifier-general
>
|