Re: Building on a Mac
Ray Donnelly via crossgcc <[email protected]> Fri, 13 Nov 2020 20:08:16 +0100
| Newsgroups | gmane.comp.gcc.cross-compiling |
|---|---|
| Message-ID | <CAOYw7dteBpm2jeMi71NTiqqxJX+7LfeXPpsgo1pyQ0iOovN7JQ@mail.gmail.com> |
GCC on macOS is basically unmaintained. you would have to investigate and fix these things for yourself I think. On Fri, Nov 13, 2020 at 3:50 PM James Hudson via crossgcc <[email protected]> wrote: > > I am trying to build crosstool-NG on my mac ( Catalina -- 10.15.7 ). > > After executing *ct-ng build*, I eventually get the errors below. How can I > workaround or resolve this issue? I am assuming I do not have something > configured correctly. > > > [EXTRA] Building cross gdb > [ERROR] > /Volumes/thedrive/build/x86_64-unknown-linux-gnu/src/gdb/readline/rltty.c:83:7: > error: implicit declaration of function 'ioctl' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] > [ERROR] > /Volumes/thedrive/build/x86_64-unknown-linux-gnu/src/gdb/readline/rltty.c:720:3: > error: implicit declaration of function 'ioctl' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] > [ERROR] > /Volumes/thedrive/build/x86_64-unknown-linux-gnu/src/gdb/readline/rltty.c:759:3: > error: implicit declaration of function 'ioctl' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] > [ERROR] make[3]: *** [Makefile:97: rltty.o] Error 1 > [ERROR] make[3]: *** Waiting for unfinished jobs.... > [ERROR] make[2]: *** [Makefile:7804: all-readline] Error 2 > [ERROR] make[2]: *** Waiting for unfinished jobs.... > [ERROR] make[1]: *** [Makefile:879: all] Error 2 > [ERROR] > [ERROR] >> > [ERROR] >> Build failed in step 'Installing cross-gdb' > [ERROR] >> called in step '(top-level)' > [ERROR] >> > [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@376] > [ERROR] >> called from: > do_gdb_backend[scripts/build/debug/300-gdb.sh@281] > [ERROR] >> called from: > do_debug_gdb_build[scripts/build/debug/300-gdb.sh@59] > [ERROR] >> called from: do_debug[scripts/build/debug.sh@35] > [ERROR] >> called from: main[scripts/crosstool-NG.sh@696] > [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] >> https://crosstool-ng.github.io/docs/known-issues/ > [ERROR] >> > [ERROR] >> If you feel this is a bug in crosstool-NG, report it at: > [ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/ > [ERROR] >> > [ERROR] >> Make sure your report includes all the information pertinent > to this issue. > [ERROR] >> Read the bug reporting guidelines here: > [ERROR] >> http://crosstool-ng.github.io/support/ > -- > For unsubscribe information see http://sourceware.org/lists.html#faq -- For unsubscribe information see http://sourceware.org/lists.html#faq