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

Wookey <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Organization Wookware
Message-ID <[email protected]>
+++ José Luis García Pallero [2012-09-17 11:07 +0200]:
> 2012/9/15 Neil Williams <[email protected]>:

> 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?

It could. I can pretty-much guarantee that you are the first person in
the world to test static compilation with the emdebian ia64
cross-compiler. So it may always have been broken. I'm afraid I have
no idea where to look for fixes, but if you find out what the problem
is do send in the info, and preferably a patch. I wonder if static
linking works on other emdebian cross-toolchains? Is it arch-specific,
gcc-version-specific?

Yes, we don't use it much, but it should work...

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]
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.