This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cp: cannot stat `misc/syscall-list.h': No such file or directory


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 <groups.r2@gmail.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]