[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/17 Wookey <wookey@wookware.org>:
> +++ José Luis García Pallero [2012-09-17 11:07 +0200]:
>> 2012/9/15 Neil Williams <codehelp@debian.org>:
>
>> 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?

At least for windows (is in generic debian, not in emdebian), the
mingw cross compilers produces static binaries that runs without
problems in the target machine

>
> 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 debian-embedded-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20120917093729.GE24695@stoneboat.aleph1.co.uk">http://lists.debian.org/[🔎] 20120917093729.GE24695@stoneboat.aleph1.co.uk
>



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


Reply to: