From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by sourceware.org (Postfix) with ESMTPS id 3256D384EF45 for ; Fri, 25 Nov 2022 11:22:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3256D384EF45 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x62b.google.com with SMTP id ho10so9664989ejc.1 for ; Fri, 25 Nov 2022 03:22:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sTx0/qj9z2l5/UWOqTJTlahzf4bo66DsAgOnbVbvZsI=; b=prkPC885JEagliuKRvW07SMrzQfUYPg8YPyivh0+VSClaprXbNULvpDUHvltHsROWy pF1ICkMaILnamCtGsx/I2YLdoKaCE+Cka7D2demIpVGqAvGCWwy3lWC5wYSd+ZNH9YYX JXnThxIMUfqR25ioIebZXdk2jez2ONXufQK9r7HybIRSjuVRjvn2atTE48x4Y66wPdBO OcDaNljx1GR849lVp5k6jHShXoA0fIbfO0mKCuTd0r+OZO9WXxQyVLhsztBvoUxRYSpU hJzQkUanf2cHRAo/3ykJtbPpq7rmo+1q6H87pLXyR0pbepLIt7097dVB3o6c+Mx3IwMw ICZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sTx0/qj9z2l5/UWOqTJTlahzf4bo66DsAgOnbVbvZsI=; b=UNQ8W7l7SGeMlOcrDgo/mV0hm0SzZmm+4HsY4GRZufZXZlZds/Ik2a8ut4h+Nynwtd c1Ra8M9ukynzuDnNwZHBY6fBmD4F6LZ7AqRoobY/X/Gp3VOv7BKW+NoJE40DY13JgupW Cxp5amNrco+3iw7/rBhMuhvVXMfFu4Qqdtt6jGiDUEsYk/qc+GXaQt9XVtaPV6QxREeF P7E7tYC/frt8kC49dZRi9VuygqPW46WcIaZwir1XH32/TZTKT05aHgYnisJ5JMBuZ3SB PbfpiSPICu7zIq+zd6qeFX16RNJK4J/lkkNZqbYP/HlSc5Di0vkL3mreKA/zDHi7nHy+ UR/w== X-Gm-Message-State: ANoB5pkq+SU2dBbDl2OVkZmhQFje+kPAK0OFcvIxCnZgNNmV52m6eVxh vtyXCqNMZsDc0rL2Kz/JK0y2spwebgresqorDgE= X-Google-Smtp-Source: AA0mqf6SPvb03FNt+dnaBywlcWGraH81+58VaiXcVdEAsTCfxnlZGdnR+3mE5WCoHU6yxIgc/XuGzYD1FLD7jENKWAo= X-Received: by 2002:a17:906:ce49:b0:7bd:2800:9ac6 with SMTP id se9-20020a170906ce4900b007bd28009ac6mr438313ejb.386.1669375346907; Fri, 25 Nov 2022 03:22:26 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Fri, 25 Nov 2022 11:22:15 +0000 Message-ID: Subject: Re: Configuring GCC 10.3 on PPC Mac OS X 10.4.11/Tiger for build reveals flaws in configure scripts To: Peter Dyballa Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 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.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, 25 Nov 2022 at 10:20, Peter Dyballa via Gcc-help wrote: > > Hello! > > I am just showing the faults and the code causing them, no cure, when building with MacPorts: > > ---------------------- > Configuring stage 1 in ./isl > > ..../gcc10-bootstrap/work/gcc-10.3.0/isl/configure: line 1: cd: /opt/local/libexec/gcc10-bootstrap: No such file or directory > checking for powerpc-apple-darwin8.11.0-gcc... > > checking whether we are using the GNU C compiler... (cached) yes > ..../gcc10-bootstrap/work/gcc-10.3.0/isl/configure: line 5363: test: =: unary operator expected isl is not part of GCC, and I don't see this error in the version of isl that gcc-10.3.0/contrib/download_prerequisites uses. Using isl is optional anyway, you can just leave it out if you want. Either way, this seems to be a problem with the version of isl that MacPorts uses, not a GCC problem. > Configuring stage 1 in ./libbacktrace > > checking for objcopy... no > checking for readelf... readelf > checking whether objcopy supports debuglink... ..../gcc10-bootstrap/work/gcc-10.3.0/libbacktrace/configure: line 13557: --add-gnu-debuglink=x: command not found This line number doesn't match what's shown below, as it's coming from line 13560 below (which is line 13496 in my copy of the gcc-10.30 sources, so maybe MacPorts patched it?) > no > checking whether tests can run... yes > > 13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether objcopy supports debuglink" >&5 > 13554 $as_echo_n "checking whether objcopy supports debuglink... " >&6; } > 13555 if ${libbacktrace_cv_objcopy_debuglink+:} false; then : > 13556 $as_echo_n "(cached) " >&6 > 13557 else > 13558 if test -n "${with_target_subdir}"; then > 13559 libbacktrace_cv_objcopy_debuglink=no > 13560 elif ${OBJCOPY} --add-gnu-debuglink=x /bin/ls /tmp/ls$$; then > 13561 rm -f /tmp/ls$$ > 13562 libbacktrace_cv_objcopy_debuglink=yes > 13563 else > 13564 libbacktrace_cv_objcopy_debuglink=no > 13565 fi > 13566 fi > 13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_objcopy_debuglink" >&5 > 13568 $as_echo "$libbacktrace_cv_objcopy_debuglink" >&6; } > 13569 if test "$libbacktrace_cv_objcopy_debuglink" = yes; then > 13570 HAVE_OBJCOPY_DEBUGLINK_TRUE= > 13571 HAVE_OBJCOPY_DEBUGLINK_FALSE='#' > 13572 else > 13573 HAVE_OBJCOPY_DEBUGLINK_TRUE='#' > 13574 HAVE_OBJCOPY_DEBUGLINK_FALSE= > 13575 fi > ---------------------- > > Configuring stage 2 in ./libbacktrace > > checking for readelf... readelf > checking whether objcopy supports debuglink... ..../gcc10-bootstrap/work/gcc-10.3.0/libbacktrace/configure: line 13557: --add-gnu-debuglink=x: command not found > no > checking whether tests can run... yes > ================================== > > > Configuring stage 2 in powerpc-apple-darwin8.11.0/libstdc++-v3 > > checking for uchar.h... no > no This is harmless, but I see the problem and will fix it. > checking for int64_t... yes > Configuring stage 2 in ./gcc > > checking linker --sysroot support... no > checking __stack_chk_fail in target C library... checking for __stack_chk_fail... no > no __stack_chk_fail on this target > no > checking sys/sdt.h in the target C library... no I'll see if I can find this one too. Also harmless though.