From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123040 invoked by alias); 23 Feb 2017 20:54:36 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 123029 invoked by uid 89); 23 Feb 2017 20:54:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:sk:crossgc X-HELO: mail-wr0-f194.google.com Received: from mail-wr0-f194.google.com (HELO mail-wr0-f194.google.com) (209.85.128.194) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 23 Feb 2017 20:54:34 +0000 Received: by mail-wr0-f194.google.com with SMTP id 89so281027wrr.1 for ; Thu, 23 Feb 2017 12:54:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Eyae/eNxgCGo9LJt9OK1KCynpYVsJ/VmoC8hHblaDtM=; b=rgcg90+tsQ77l0hvR9zXUyAym8piBZUqP/cagrtVNhe57eafS2ONe/47OWmAOIpIfI wox9punDhAT6jBCiKcPzkrb0X63cX5piTgJGJzJJOlqfUuRgIQBF2ao2jVa0Me/Esb+2 2leM8xk+Jc/YtLlIb+eVn4G/etng2lNH8bZLQ0wATvDLJ5011QIl0ALpBwK0PN4nguWP aDKu4n9v6dvUxOce5H3iIJZt13aut5bWF1zlyqu+DRSn6k3E9pm7sYLEDvxeMUg637bZ bslac0ycueauZtkB38BzYdR0hy5MF6LlnFqUSCxGY3XbJyiHXdJeZZQOJNunoq0RhkWX JpWg== X-Gm-Message-State: AMke39khCw0+kKZEXHcCwgkKCVrdJNbn/3XUUL5k0VScKggq6ffsxWGRsmebeN9mGU2Lud1Ha/ZSsBsKDOH6wQ== X-Received: by 10.223.149.137 with SMTP id p9mr30847216wrp.89.1487883272858; Thu, 23 Feb 2017 12:54:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.221.9 with HTTP; Thu, 23 Feb 2017 12:54:12 -0800 (PST) From: Marc-Antoine Martin Date: Thu, 23 Feb 2017 20:54:00 -0000 Message-ID: Subject: Re: fatal error: pthread.h: No such file or directory To: crossgcc@sourceware.org Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2017-02/txt/msg00039.txt.bz2 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