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

José Luis García Pallero <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <CAFemY3YUAX+wfb6zGzc7UG-CcJzq9RJrRbStwb4rrOwZM147JA@mail.gmail.com>
2012/9/15 Neil Williams <[email protected]>:
> On Fri, 14 Sep 2012 20:58:48 +0200
> José Luis García Pallero <[email protected]> wrote:
>
>> El viernes, 14 de septiembre de 2012, Jonathan Nieder <[email protected]>
>> 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
[email protected]
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.