fatal error: pthread.h: No such file or directory
Marc-Antoine Martin
martin.marcantoine@gmail.com
Thu Feb 23 20:54:00 GMT 2017
Hi all,
I bring this post back on top.
I'm currently trying to build a crosstool for x86 plateform with the
sample "x86_64-unknown-linux-uclibc"
Each time I compile it (whenever changes of the kconfig (bitness
apart)) I have the error "fatal error: pthread.h: No such file or
directory" on compilation of
"gcc-5.2.0/libgcc/generic-morestack-thread.c" (error:
http://pastebin.com/ESkQ68eD)
I've seen this post and the Waldemar suggest to use this patch (made
for buildroot): http://patchwork.ozlabs.org/patch/592962/
Did anyone test it or made an updated one for crosstool-ng?
Is it safe to use it without any changes?
I'm not used to build crosstools and apply patches, I'm still leaning.
Thank for your assistance.
Regards,
Marc-Antoine Martin
More information about the crossgcc
mailing list