From patchwork Fri Feb 15 09:55:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgQkFSRE9O?= X-Patchwork-Id: 220693 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id CDD9E2C0079 for ; Fri, 15 Feb 2013 20:55:48 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1361526950; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:In-Reply-To:References:Date:Message-ID: Subject:From:To:Content-Type:Content-Transfer-Encoding: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=Yhup8Ej UMYLBv8K7RLbWy+Q79BA=; b=N6v2c1xiIb1c+tfPsqbMCz/thX+3qAoCkm4H4En nGV1fxLvO1rxivG90zF2RxKpJyZAkBR0HpERQvb784XuqAHULgjTAO1r/UY/U61R a4OfQFKQpX4rwLvyDpFCDXDSM0FoljTfY5lFS789edlSMFSUWFt42qa4CmqfzrF5 3qmY= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:MIME-Version:X-Received:Received:In-Reply-To:References:Date:Message-ID:Subject:From:To:Content-Type:Content-Transfer-Encoding:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=m87YF1QwpJ6fvaA1QHuC0PjN+PX06drTO9fl2o3K4PWtjc/91wb7mk7PPDaQCw sl+1LFVm13Yf2k7bBGLH+S3cIXJeCt7NCsfH0Qb8yEsnrb+QmFg2LWYrMaZXd9A8 SLDNVKXmjQglmJE5bayONGYE7yENz2SODe8vAfEyGg68w=; Received: (qmail 17597 invoked by alias); 15 Feb 2013 09:55:44 -0000 Received: (qmail 17589 invoked by uid 22791); 15 Feb 2013 09:55:43 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, KHOP_THREADED, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-we0-f179.google.com (HELO mail-we0-f179.google.com) (74.125.82.179) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Feb 2013 09:55:33 +0000 Received: by mail-we0-f179.google.com with SMTP id p43so913595wea.38 for ; Fri, 15 Feb 2013 01:55:32 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.194.58.175 with SMTP id s15mr2933084wjq.31.1360922132321; Fri, 15 Feb 2013 01:55:32 -0800 (PST) Received: by 10.180.104.193 with HTTP; Fri, 15 Feb 2013 01:55:32 -0800 (PST) In-Reply-To: References: Date: Fri, 15 Feb 2013 10:55:32 +0100 Message-ID: Subject: [patch] Re: cp: cannot stat `misc/syscall-list.h': No such file or directory From: =?ISO-8859-1?Q?J=E9r=F4me_BARDON?= To: crossgcc@sourceware.org X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Ok, fixes the problem for me. Here is a patch. I don't know if you prefer the patch in the mail body or as attachment ? esac ==================================================================== Regards, Jérôme 2013/2/9 Rafael C > > Since I got no replies and found no previous documentation of this > error. I tinkered with the source code and found that in > lib/ct-ng.1.18.0/scripts/build/libc/glibc-eglibc.sh-common line 407 > the path should be: > > "misc/bits/syscall.h" > > instead of: > > misc/syscall-list.h > > I'd have written a patch but I'm fairly new to this. I hope this > manual fix helps others stuck with the same issue. Thanks. > > > On Mon, Feb 4, 2013 at 10:13 PM, Rafael C wrote: > > Hi all. I'm trying to build an x86_64 toolchain with crosstool-ng > > 1.18.0 and ran across the following error (this didn't happen with > > 1.17.0 on the same machine): > > > > cp: cannot stat `misc/syscall-list.h': No such file or directory > > > > Here is the pertinent portion of the log: > > > > [ALL ] `bits/stdio_lim.h' -> > > `/opt/xtool/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/include/bits/stdio_lim.h' > > [DEBUG] ==> Executing: 'cp' '-v' 'misc/syscall-list.h' > > '/opt/xtool/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/include/bits/syscall.h' > > [ALL ] cp: cannot stat `misc/syscall-list.h': No such file or directory > > [ERROR] > > [ERROR] >> > > [ERROR] >> Build failed in step 'Installing C library headers & start files' > > [ERROR] >> called in step '(top-level)' > > [ERROR] >> > > [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257] > > [ERROR] >> called from: > > do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@407] > > [ERROR] >> called from: > > do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@143] > > [ERROR] >> called from: > > do_libc_start_files[scripts/build/libc/glibc-eglibc.sh-common@60] > > [ERROR] >> called from: main[scripts/crosstool-NG.sh@632] > > [ERROR] >> > > [ERROR] >> For more info on this error, look at the file: 'build.log' > > [ERROR] >> There is a list of known issues, some with workarounds, in: > > [ERROR] >> '/opt/crosstool/share/doc/crosstool-ng/ct-ng.1.18.0/B > > - Known issues.txt' > > [ERROR] > > [ERROR] (elapsed: 25:13.19) > > > > Any help is greatly appreciated. Thanks. > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > --- For unsubscribe information see http://sourceware.org/lists.html#faq ==================================================================== # HG changeset patch # User Jerome BARDON # Date 1360921600 -3600 # Node ID fb662f18d002da9303aba2ea933c5204b789e752 # Parent 20f2459b97bf5eb89e2f125e0aede9541e7fc049 fix syscall-list.h in system headers diff -r 20f2459b97bf -r fb662f18d002 scripts/build/libc/glibc-eglibc.sh-common --- a/scripts/build/libc/glibc-eglibc.sh-common Mon Jan 28 21:53:18 2013 +0100 +++ b/scripts/build/libc/glibc-eglibc.sh-common Fri Feb 15 10:46:40 2013 +0100 @@ -404,7 +404,7 @@ # but it breaks arm, see http://sourceware.org/ml/crossgcc/2006-01/msg00091.html case "${CT_ARCH}" in arm) ;; - *) CT_DoExecLog ALL cp -v "misc/syscall-list.h" \ + *) CT_DoExecLog ALL cp -v "misc/bits/syscall.h" \ "${CT_HEADERS_DIR}/bits/syscall.h" ;;