[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Static compilation: segmentation fault in execution [host=x86_64, target: ia64]



2012/9/15 Neil Williams <codehelp@debian.org>:
> On Fri, 14 Sep 2012 20:58:48 +0200
> José Luis García Pallero <jgpallero@gmail.com> wrote:
>
>> El viernes, 14 de septiembre de 2012, Jonathan Nieder <jrnieder@gmail.com>
>> escribió:
>> > José Luis García Pallero wrote:
>> >
>> >> I don't know if I could find all software needed in binary form.
>> >
>> > It's all at archive.debian.org. :)
>>
>> But the ia64 machine runs RedHat...
>
> It is still possible to extract a .deb into a path using dpkg -X - the
> extract doesn't need to execute anything inside the .deb so it can be
> done on any architecture (this is how multistrap works). It just leaves
> you with a filesystem tree of binaries (.so, .a, .h etc.) which you can
> put into a tarball and copy over.
>
> Overall though, it sounds like the combination of lack of interest in
> ia64 generally, uninterested maintainers for the box and restrictive
> user policies means that you really ought to find a way to do the task
> on a different machine. People are deliberately putting barriers in
> your way - find a different way that doesn't rely on ia64. This has
> nothing to do with Debian or Emdebian and not much to do with static
> linkage support, it has everything to do with how this machine is
> maintained and what the admins are allowing you to do. If you are not
> even allowed to create a minimal debootstrap, then find a different
> machine and give up on this pointless exercise.

I have tried to compile the simple hello world program with the flag
-static with the native gcc 3.2.3 compiled installed in the machine
and the generated binary runs without problems. Could the problem with
-static be related to the cross compiler in emdebian?

>
> --
>
>
> Neil Williams
> =============
> http://www.linux.codehelp.co.uk/
>



-- 
*****************************************
José Luis García Pallero
jgpallero@gmail.com
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************


Reply to: