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

See the CrossGCC FAQ 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: crosstools-ng - still failing on OSX


Hello,

On Mon, Jul 18, 2011 at 19:02, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Could you post your .config, so I can try to reproduce here?
> Probably tomorrow, I'm heading to bed right now (1am here).

Attached, but libtool 2.2.4 solved it.

7pm here, going back home as well, but there's another error for
tomorrow - including uclibc config too:

[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@127]
[ERROR]    >>        called from: main[scripts/crosstool-NG.sh@581]
[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-1.11.4/B - Known issues.txt'
[ERROR]
[ERROR]    Build failed in step 'Installing C library headers'
[ERROR]
[ERROR]    (elapsed: 11:51.00)
[11:52] / make: *** [build] Error 1

In build.log :
[DEBUG]    ==> Executing: 'make' 'CROSS='
'PREFIX=/Volumes/Crosstools/Fritzbox/mips-osx-linux-uclibc/sysroot/'
'LOCALE_DATA_FILENAME=uClibc-locale-030818.tgz' 'install_headers'
[ALL  ]      HOSTCC extra/scripts/unifdef
[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[ERROR]

There is no sysroot/usr/include/bits directory, which might be the problem.
The build is using kernel version 2.6.19.2 from the AVM GPL tarball
(same as the one currently running on the fritzbox 7390) - maybe
something that changed with newer kernels.

> the #crosstool-ng IRC channel on freenode.net ;-)

I'll try to hang around there. I'm preparing a small subset of
binaries and instructions to complement the missing tools on a vanilla
OSX (ex: a right version of sed) and save some time to someone who
just wants to build crosstools-ng.

Got that in a 3.4M tbz file so far. Available on demand.

-- 
vCard: http://guylhem.tel

Attachment: Config.7390
Description: Binary data

Attachment: config.bz2
Description: BZip2 compressed data

--
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]