From: Guylhem Aznar <crossgcc@guylhem.net>
To: Titus von Boxberg <titus@v9g.de>
Cc: crossgcc@sourceware.org
Subject: Re: mips toolchain on macos
Date: Tue, 16 Aug 2011 22:16:00 -0000 [thread overview]
Message-ID: <CAAVXy54We7iPZ7Hi_e5mL_8oFZZ8z7LNfzXPkwWVnE3VyaSGrA@mail.gmail.com> (raw)
In-Reply-To: <CAAVXy549hzHfhZ1J5Jn=uWsTC_VKROWk4D0N-aYSrp_PXZCecQ@mail.gmail.com>
And the very same crosstools-ng version, with the very same .config
and kernel tarball doesn't work on OSX Snow Leopard
(...)
[INFO ] =================================================================
[INFO ] Installing kernel headers
[INFO ] Installing kernel headers: done in 14.00s (at 07:39)
[INFO ] =================================================================
[INFO ] Installing C library headers
[ERROR] make[1]: *** [install_headers] Error 1
[ERROR]
[ERROR] >> Build failed in step 'Installing C library headers'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions]
[ERROR] >> called from:
do_libc_start_files[scripts/build/libc/uClibc.sh@117]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@584]
[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] >> 'share/doc/ct-ng-hg_unknown@20110816.164443/B -
Known issues.txt'
[ERROR]
[ERROR] Build failed in step 'Installing C library headers'
[ERROR]
Apparently it could be due to a "find" problem resulting in a non
existing syscalls.h, since in build.log I see:
[DEBUG] ==> Executing: 'make' 'V=2' 'CROSS='
'PREFIX=/Volumes/Crosstools/Fritzbox/mips-osx-linux-uclibc/sysroot/'
'LOCALE_DATA_FILENAME=uClibc-locale-030818.tgz' 'install_headers'
[ALL ] gcc extra/scripts/unifdef.c -o extra/scripts/unifdef -O2 -Wall
[ALL ] install -d
/Volumes/Crosstools/Fritzbox/mips-osx-linux-uclibc/sysroot//usr/include
[ALL ] top_builddir=./ ./extra/scripts/install_headers.sh
include /Volumes/Crosstools/Fritzbox/mips-osx-linux-uclibc/sysroot//usr/include[ALL
] usage: find [-H | -L | -P] [-EXdsx] [-f path] path ...
[expression]
[ALL ] find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
[ALL ] printf '#ifndef _LIBC_INTERNAL_Hn#define _LIBC_INTERNAL_H
1n#endifn' >
/Volumes/Crosstools/Fritzbox/mips-osx-linux-uclibc/sysroot//usr/include/libc-internal.h[ALL
] echo '/* Dont use _syscall#() macros; use the syscall() function
*/' >
/Volumes/Crosstools/Fritzbox/mips-osx-linux-uclibc/sysroot//usr/include/bits/syscalls.h
[ALL ] /bin/sh:
/Volumes/Crosstools/Fritzbox/mips-osx-linux-uclibc/sysroot//usr/include/bits/syscalls.h:
No such file or directory
[ERROR] make[1]: *** [install_headers] Error 1
So I edited ./.build/mips-osx-linux-uclibc/build/build-libc-headers/extra/scripts/install_headers.sh,
where I see :
find ! -name '.' -a ! -path '*/.*'
This does not work on OSX. Looking for a fix now.
BTW : ./ct-ng RESTART=libc_start_files does not work
--
For unsubscribe information see http://sourceware.org/lists.html#faq
next prev parent reply other threads:[~2011-08-16 22:16 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-15 16:03 Call For Participation: buildroot + crosstool-NG Developpers' Day Yann E. MORIN
2011-08-15 17:44 ` Guylhem Aznar
2011-08-15 17:57 ` Bryan Hundven
2011-08-16 17:14 ` Arnaud Lacombe
2011-08-16 20:51 ` Yann E. MORIN
2011-08-15 18:05 ` mips toolchain on macos Titus von Boxberg
2011-08-15 18:21 ` Guylhem Aznar
2011-08-15 18:38 ` Titus von Boxberg
[not found] ` <CAAVXy54N1RXigaud095J915MN3MWT1K2YxTq8XV85oAPTmw7Fg@mail.gmail.com>
2011-08-15 20:01 ` Titus von Boxberg
2011-08-16 20:16 ` Guylhem Aznar
2011-08-16 22:16 ` Guylhem Aznar [this message]
2011-08-16 22:24 ` Guylhem Aznar
2011-08-16 23:18 ` Guylhem Aznar
2011-08-17 7:30 ` Titus von Boxberg
[not found] ` <EAD84A31-61DF-473A-A473-1A4B0FDC94E5@v9g.de>
[not found] ` <CAAVXy57gcubzG=MnXZx0i-NkBVC=Fn0MmARXSOeQ0DZ9qk7hkA@mail.gmail.com>
2011-08-18 15:53 ` Titus von Boxberg
2011-08-18 18:29 ` Guylhem Aznar
2011-10-21 22:49 ` [Buildroot] Call For Participation: buildroot + crosstool-NG Developpers' Day Robert Schwebel
2011-10-24 12:32 ` Yann E. MORIN
2011-10-24 13:45 ` Robert Schwebel
2011-10-24 13:52 ` Yann E. MORIN
2011-10-28 13:13 ` Peter Korsgaard
2011-10-28 13:36 ` Robert Schwebel
2011-10-28 13:56 ` Peter Korsgaard
2011-10-24 14:00 ` [Buildroot] " Mike Frysinger
2011-10-24 14:13 ` Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAVXy54We7iPZ7Hi_e5mL_8oFZZ8z7LNfzXPkwWVnE3VyaSGrA@mail.gmail.com \
--to=crossgcc@guylhem.net \
--cc=crossgcc@sourceware.org \
--cc=titus@v9g.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).