Am 08.11.11 12:57, schrieb David Chisnall:
Of course, the real fix is to get your buggy libc headers fixed. Since Drepper
refuses to fix his code, maybe try sending a patch to Debian / Ubuntu and get
them to include it in their version...
David
On 8 Nov 2011, at 11:12, Quentin Mathé wrote:
Le 7 nov. 2011 à 21:47, Ulrich Pöhlmann a écrit :
On 11/07/2011 01:04 PM, Quentin Mathé wrote:
Hi,
To compile LanguageKit, I had to work around the glibc __block issue in various
places once again.
The patch is pretty ugly, so before committing it I wanted to know if someone
had a better solution.
Isn't that patch already included in etoile trunk? After running "make install" I got the
patch automatically installed under
"/Local/Library/Headers/EtoileFoundation/glibc_hack_unistd.h".
No, this is a old hack that doesn't use the 'include_next' trick and requires that you replace
every #include<unistd.h> by #include "glibc_hack_unistd.h".
Moreover it won't work here because the #include directives we want to override
are in the LLVM code rather than in the LanguageKit code.
I'll remove it to use the new hack suggested by David.
Cheers,
Quentin.
_______________________________________________
Etoile-dev mailing list
Etoile-dev@gna.org
https://mail.gna.org/listinfo/etoile-dev
-- Sent from my STANTEC-ZEBRA
_______________________________________________
Etoile-dev mailing list
Etoile-dev@gna.org
https://mail.gna.org/listinfo/etoile-dev
Thanks a lot for the explanations.
Regards,
Uli P.
_______________________________________________
Etoile-dev mailing list
Etoile-dev@gna.org
https://mail.gna.org/listinfo/etoile-dev