From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by sourceware.org (Postfix) with ESMTPS id 8A5733A53C00 for ; Fri, 13 Nov 2020 14:45:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8A5733A53C00 Received: by mail-pg1-x530.google.com with SMTP id j19so434968pgg.5 for ; Fri, 13 Nov 2020 06:45:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EnjhaJprTOrizxgkbps6cOMjcU2S+MReDe+4ru6qwvA=; b=htGvRayRMwmmqlLWuDLyfh+m8BZO33NTzZle5si2sS2u9gX3l+C6vPW1xPkkwAVwuw SBcHKTbLEP5QDtoEsGwsV8rY4MlCfNUaYFPBO9ualu5kaC6gpAX89QxZraYjvhCL1MZL V0/ksj8lsZ1kSpg8eTVLGdFtAc7BrUghKvqiId33SW77jr4Ed8v/1zLJIWKX+JS9jTDG 0D8TuDMzhrc1ZoelezJxi3iC57+CPq7RzwmvZa3dNvWgkk0yHyLWiUhy4xR6OAzgh596 +Ygg79Yeof4aGwmyQIbf7R+aD68F50/9A6zj3c6FcHjelKIsNCobD9zB8AYpHhRWOXsG hdkg== X-Gm-Message-State: AOAM532VocX2BusdvyTlnkmqCJ81uRpcBs4/GpeGKsdQiFTTPn6F647k q6xBiubxaOFFCpXeE8k0xAaaWQVL2xussRVQNjRKFLgyCoEMJw== X-Google-Smtp-Source: ABdhPJxTFy8RYIjmwMAIJv7zJELOTVfu7O8r7srK/hPUZyY0ktuwpsE6DeXXaJuMNSvejZooAlO03ulAJL6tPRfWXoI= X-Received: by 2002:a63:d94f:: with SMTP id e15mr2283322pgj.73.1605278750621; Fri, 13 Nov 2020 06:45:50 -0800 (PST) MIME-Version: 1.0 From: James Hudson Date: Fri, 13 Nov 2020 09:45:40 -0500 Message-ID: Subject: Building on a Mac To: crossgcc@sourceware.org X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: crossgcc@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: crossgcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2020 14:45:53 -0000 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/