From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by sourceware.org (Postfix) with ESMTPS id B6564385481B for ; Fri, 13 Nov 2020 19:08:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B6564385481B Received: by mail-io1-xd31.google.com with SMTP id r9so10837338ioo.7 for ; Fri, 13 Nov 2020 11:08:27 -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:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FwhShum2zUFTQO+kVDyTSdO9knH4krrMi6wKSe27fX4=; b=F/5rKG2+CPQsVWGGkT8F+20UwoWTok+mVkfa7R1/Mej6GpTDshLZ7B1kB7J5q6iVQp z1FPG71svOw8ZQRKcSxVSlxMTS2MHcZ9/9OeoCIauTY/PVu81lfH8UlN5H5Yt4BP+rc5 fxZowK6u7kGVjfY6g/6HbNz+vJp9+bNUjssRwkGhJLEB3LIqjROWUSUR9BhYx6wXMEoM wvCNHCT2llkY+9wfsHsk8uW42YLCt1R0z5U2p0IWJ/MlK1Mm4GFN0tq5+ZtTwJllAk5R gZCRrkQp1+tnQ53HzKOPvfwXBm9/WGNqQIeol3I5GHzVWOcqIg9IaIQGat9qxufuj33k jc4A== X-Gm-Message-State: AOAM533odKJ9FEsph94SKgGMyUQYIMgLS1TFO07NJT/sbiuoP9IcecgE 3yJyVBmNqlNwPn2q7KdX1U8MrniCoRVoQBzd4cs= X-Google-Smtp-Source: ABdhPJxYDYTPt/V+6qYCLNoBu5XvqyZbSf2F/fUGfPInEHDX1jMfcnHPj8ksslPke9djLbEVSFSbPLr4hqecNZQ3vcM= X-Received: by 2002:a05:6638:639:: with SMTP id h25mr3066680jar.71.1605294507272; Fri, 13 Nov 2020 11:08:27 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ray Donnelly Date: Fri, 13 Nov 2020 20:08:16 +0100 Message-ID: Subject: Re: Building on a Mac To: James Hudson Cc: crossgcc@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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 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 19:08:29 -0000 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 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