Le 04/07/2013 18:14, Armin Rigo a écrit :
Hi Alexis,
On Thu, Jul 4, 2013 at 9:48 AM, Alexis BRENON <[email protected]> wrote:
Maybe there is a deeper reason of all these failures. But I can't point out
which or where... Any idea ?
The same as I already said in my previous reply. Try from the other
side: write a 5-lines example C program, try to compile, and then
progressively make it "more like" what the translation produces,
notably in terms of options from the Makefile.
A bientôt,
Armin.
Hi,
Well, I did some tests on a very simple C file that just prints "Hello
World !". I did many option combinations and I could notice that :
- with -Wl,--version-script=dynamic-symbols-1 LDFLAGS alone (with
no other option), compilation works but execution segfault
- this LDFLAGS seems to be OK with many other options (same result
as previous)
- as soon as I add -lgc option to LIBS, compilation fails with the
__data_start error
You can find tests and result on this pastebin :
http://pastebin.com/F8NvC0Ex
Thanks for your help.
Alexis.
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev