Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"I prefer rogues to imbeciles, because they sometimes take a rest." -- Alexandre Dumas (fils)


devel / comp.lang.ada / Re: Problem building GNAT CE 2021 on Mac Catalina

SubjectAuthor
* Problem building GNAT CE 2021 on Mac CatalinaRoger Mc
`* Re: Problem building GNAT CE 2021 on Mac CatalinaSimon Wright
 `* Re: Problem building GNAT CE 2021 on Mac CatalinaRoger Mc
  `* Re: Problem building GNAT CE 2021 on Mac CatalinaRoger Mc
   +- Re: Problem building GNAT CE 2021 on Mac CatalinaRoger Mc
   `* Re: Problem building GNAT CE 2021 on Mac CatalinaRoger Mc
    `* Re: Problem building GNAT CE 2021 on Mac CatalinaSimon Wright
     `- Re: Problem building GNAT CE 2021 on Mac CatalinaRoger Mc

1
Problem building GNAT CE 2021 on Mac Catalina

<0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5423&group=comp.lang.ada#5423

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:1843:: with SMTP id d3mr5350491qvy.60.1623929680409;
Thu, 17 Jun 2021 04:34:40 -0700 (PDT)
X-Received: by 2002:a25:afcd:: with SMTP id d13mr5354132ybj.504.1623929680263;
Thu, 17 Jun 2021 04:34:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 17 Jun 2021 04:34:39 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=219.90.187.107; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 219.90.187.107
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com>
Subject: Problem building GNAT CE 2021 on Mac Catalina
From: rogerm...@gmail.com (Roger Mc)
Injection-Date: Thu, 17 Jun 2021 11:34:40 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Roger Mc - Thu, 17 Jun 2021 11:34 UTC

Mac OSX 10.15.7
XCode 12.0

I am attemting to build using the insttructions provided by the README.BUILD from the source distribution of GNAT.

I configure successfully from my /opt/GNAT/2021/obj directory with

.../src/configure --enable-languages="c,ada" --disable-libada --with-gmp=/usr/local/Cellar/gmp/6.2.1 --with-mpfr=/usr/local/Cellar/mpfr/4.1.0 --with-mpc=/usr/local/Cellar/libmpc/1.1.0

Although My /usr/local/include directory does include libintl.h
make bootstrap fails with:
In file included from ../../src/libcpp/charset.c:21:
.../../src/libcpp/system.h:279:10: fatal error: libintl.h: No such file or directory
#include <libintl.h>

Assistance with solving this problem will be greatly appreciated.

Re: Problem building GNAT CE 2021 on Mac Catalina

<lypmwkzbai.fsf@pushface.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5425&group=comp.lang.ada#5425

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org.POSTED!not-for-mail
From: sim...@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: Problem building GNAT CE 2021 on Mac Catalina
Date: Thu, 17 Jun 2021 17:49:25 +0100
Organization: Aioe.org NNTP Server
Lines: 39
Message-ID: <lypmwkzbai.fsf@pushface.org>
References: <0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com>
NNTP-Posting-Host: yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: abuse@aioe.org
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)
Cancel-Lock: sha1:oETfRzEknXFYAlkmu1+7AOtmLB8=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Simon Wright - Thu, 17 Jun 2021 16:49 UTC

Roger Mc <rogermcm2@gmail.com> writes:

> Mac OSX 10.15.7
> XCode 12.0
>
> I am attemting to build using the insttructions provided by the
> README.BUILD from the source distribution of GNAT.
>
> I configure successfully from my /opt/GNAT/2021/obj directory with
>
> ../src/configure --enable-languages="c,ada" --disable-libada
> --with-gmp=/usr/local/Cellar/gmp/6.2.1
> --with-mpfr=/usr/local/Cellar/mpfr/4.1.0
> --with-mpc=/usr/local/Cellar/libmpc/1.1.0
>
> Although My /usr/local/include directory does include libintl.h
> make bootstrap fails with:
> In file included from ../../src/libcpp/charset.c:21:
> ../../src/libcpp/system.h:279:10: fatal error: libintl.h: No such file
> or directory
> #include <libintl.h>

I think those instructions are rather old. Two things:

* usually, GCC build instructions say not to make the build directory a
subdirectory of the source
* nowadays you don't need to --disable-libada and then "make -C gcc
gnatlib gnattools"

What compiler are you starting from?

What stage of the build did this fail at? (stage_current in the build
directory)

It looks as though this is to do with "Native Language Support (NLS),
which lets GCC output diagnostics in languages other than American
English". The configuration documentation at
https://gcc.gnu.org/install/configure.html suggests --disable-nls (which
is what I do) or --with-included-gettext.

Re: Problem building GNAT CE 2021 on Mac Catalina

<d27176e2-b370-4fd4-950f-4b6a82499319n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5427&group=comp.lang.ada#5427

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a37:59c7:: with SMTP id n190mr8187388qkb.146.1624003300136;
Fri, 18 Jun 2021 01:01:40 -0700 (PDT)
X-Received: by 2002:a25:4009:: with SMTP id n9mr11388074yba.73.1624003299971;
Fri, 18 Jun 2021 01:01:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Fri, 18 Jun 2021 01:01:39 -0700 (PDT)
In-Reply-To: <lypmwkzbai.fsf@pushface.org>
Injection-Info: google-groups.googlegroups.com; posting-host=219.90.187.107; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 219.90.187.107
References: <0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com> <lypmwkzbai.fsf@pushface.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d27176e2-b370-4fd4-950f-4b6a82499319n@googlegroups.com>
Subject: Re: Problem building GNAT CE 2021 on Mac Catalina
From: rogerm...@gmail.com (Roger Mc)
Injection-Date: Fri, 18 Jun 2021 08:01:40 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Roger Mc - Fri, 18 Jun 2021 08:01 UTC

On Friday, June 18, 2021 at 2:49:28 AM UTC+10, Simon Wright wrote:
> Roger Mc <roge...@gmail.com> writes:
>
> > Mac OSX 10.15.7
> > XCode 12.0
> >
> > I am attemting to build using the insttructions provided by the
> > README.BUILD from the source distribution of GNAT.
> >
> > I configure successfully from my /opt/GNAT/2021/obj directory with
> >
> > ../src/configure --enable-languages="c,ada" --disable-libada
> > --with-gmp=/usr/local/Cellar/gmp/6.2.1
> > --with-mpfr=/usr/local/Cellar/mpfr/4.1.0
> > --with-mpc=/usr/local/Cellar/libmpc/1.1.0
> >
> > Although My /usr/local/include directory does include libintl.h
> > make bootstrap fails with:
> > In file included from ../../src/libcpp/charset.c:21:
> > ../../src/libcpp/system.h:279:10: fatal error: libintl.h: No such file
> > or directory
> > #include <libintl.h>
> I think those instructions are rather old. Two things:
>
> * usually, GCC build instructions say not to make the build directory a
> subdirectory of the source
My build directory is not a subdirectory of the source
> * nowadays you don't need to --disable-libada and then "make -C gcc
> gnatlib gnattools"
>
> What compiler are you starting from?
GNAT 2020
>
> What stage of the build did this fail at? (stage_current in the build
> directory)
I think stage 3
>
> It looks as though this is to do with "Native Language Support (NLS),
> which lets GCC output diagnostics in languages other than American
> English". The configuration documentation at
> https://gcc.gnu.org/install/configure.html suggests --disable-nls (which
> is what I do) or --with-included-gettext.

Thanks for the advice which has been quite helpful.
I have progressed but still, after quit a long time the build fails.
My current method:
In src/gcc/Makefile.in change the path to the system headers on the build machine to:
BUILD_SYSTEM_HEADER_DIR = /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include

Follow instructions in gnat-2021-20210519-19A70-src/src

../src/configure --enable-languages="c,ada" --with-gmp=/usr/local/Cellar/gmp/6.2.1 --with-mpfr=/usr/local/Cellar/mpfr/4.1.0 --with-mpc=/usr/local/Cellar/libmpc/1.1.0 --disable-nls --disable-libstdcxx

make boostrap

results in:
raise-gcc.c:718:18: warning: 'cleanup_filter' defined but not used [-Wunused-const-variable=]
718 | static const int cleanup_filter = 0;
| ^~~~~~~~~~~~~~
raise-gcc.c:627:1: warning: 'get_ttype_entry_for' defined but not used [-Wunused-function]
627 | get_ttype_entry_for (region_descriptor *region, long filter)
| ^~~~~~~~~~~~~~~~~~~
make[6]: *** [raise-gcc.o] Error 1
make[5]: *** [gnatlib] Error 2
make[4]: *** [gnatlib-shared-darwin] Error 2
make[3]: *** [gnatlib-shared] Error 2
make[2]: *** [gnatlib-shared] Error 2
make[1]: *** [all-target-libada] Error 2
make: *** [bootstrap] Error 2

This occurs a long way after:
Comparing stages 2 and 3
Comparison successful.
......
Configuring in ./fixincludes
......
Configuring in ./gnattools
......
Configuring in x86_64-apple-darwin19.6.0/libada
.....

This seems to be the relevant command and first error message preceding many other warning and error messages before final failure:
/opt/GNAT/2021/obj/./gcc/xgcc -B/opt/GNAT/2021/obj/./gcc/ -B/usr/local/x86_64-apple-darwin19.6.0/bin/ -B/usr/local/x86_64-apple-darwin19.6.0/lib/ -isystem /usr/local/x86_64-apple-darwin19.6.0/include -isystem /usr/local/x86_64-apple-darwin19.6.0/sys-include -fchecking=1 -c -DIN_GCC -W -Wall -g -O2 -g -O2 -fexceptions -DIN_RTS -DHAVE_GETIPINFO -fno-common -fno-common \
-iquote . -iquote .. -iquote ../.. -iquote /opt/GNAT/2021/src/gcc/ada -iquote /opt/GNAT/2021/src/gcc -I/opt/GNAT/2021/src/include -I./../.. -fno-omit-frame-pointer tracebak.c -o tracebak.o

In file included from tracebak.c:603:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unwind.h:208:48: warning: 'unavailable' attribute directive ignored [-Wattributes]
208 | extern uintptr_t _Unwind_GetDataRelBase(struct _Unwind_Context* context) __attribute__((unavailable));

This failure is way beyond my understanding of the build process.
Thanks.

Re: Problem building GNAT CE 2021 on Mac Catalina

<59bb71e4-b27c-40d0-830c-8090d6c49068n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5429&group=comp.lang.ada#5429

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:21a8:: with SMTP id t8mr5349954qvc.3.1624018727771;
Fri, 18 Jun 2021 05:18:47 -0700 (PDT)
X-Received: by 2002:a25:745:: with SMTP id 66mr12902079ybh.363.1624018727599;
Fri, 18 Jun 2021 05:18:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Fri, 18 Jun 2021 05:18:47 -0700 (PDT)
In-Reply-To: <d27176e2-b370-4fd4-950f-4b6a82499319n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=219.90.187.107; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 219.90.187.107
References: <0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com>
<lypmwkzbai.fsf@pushface.org> <d27176e2-b370-4fd4-950f-4b6a82499319n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <59bb71e4-b27c-40d0-830c-8090d6c49068n@googlegroups.com>
Subject: Re: Problem building GNAT CE 2021 on Mac Catalina
From: rogerm...@gmail.com (Roger Mc)
Injection-Date: Fri, 18 Jun 2021 12:18:47 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Roger Mc - Fri, 18 Jun 2021 12:18 UTC

Compiler version:
GNAT Community 2020 (20200429-84)

Re: Problem building GNAT CE 2021 on Mac Catalina

<6fa5b0b9-95a5-4c0d-81be-cd7f1b88bf81n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5431&group=comp.lang.ada#5431

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a37:2cc3:: with SMTP id s186mr13059962qkh.330.1624087778629; Sat, 19 Jun 2021 00:29:38 -0700 (PDT)
X-Received: by 2002:a25:b2a0:: with SMTP id k32mr18207920ybj.92.1624087778398; Sat, 19 Jun 2021 00:29:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 19 Jun 2021 00:29:38 -0700 (PDT)
In-Reply-To: <59bb71e4-b27c-40d0-830c-8090d6c49068n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=219.90.187.107; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 219.90.187.107
References: <0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com> <lypmwkzbai.fsf@pushface.org> <d27176e2-b370-4fd4-950f-4b6a82499319n@googlegroups.com> <59bb71e4-b27c-40d0-830c-8090d6c49068n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6fa5b0b9-95a5-4c0d-81be-cd7f1b88bf81n@googlegroups.com>
Subject: Re: Problem building GNAT CE 2021 on Mac Catalina
From: rogerm...@gmail.com (Roger Mc)
Injection-Date: Sat, 19 Jun 2021 07:29:38 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 59
 by: Roger Mc - Sat, 19 Jun 2021 07:29 UTC

I don't know what happened but the problem has changed even when rebuilding from scratch (original tar balls).

In src/gcc/Makefile.in change "path to the system headers on the build machine" to:
BUILD_SYSTEM_HEADER_DIR = /Library/Developer/CommandLineTools/SDKs/MacOSX..sdk/usr/include
then, from build directory:

.../src/configure --enable-languages="c,ada" --with-gmp=/usr/local/Cellar/gmp/6.2.1 --with-mpfr=/usr/local/Cellar/mpfr/4.1.0 --with-mpc=/usr/local/Cellar/libmpc/1.1.0 --disable-nls
followed by make bootstrap produces:

checking whether /opt/GNAT/2021/obj/./gcc/xgcc -B/opt/GNAT/2021/obj/./gcc/ -B/usr/local/x86_64-apple-darwin19.6.0/bin/ -B/usr/local/x86_64-apple-darwin19.6.0/lib/ -isystem /usr/local/x86_64-apple-darwin19.6.0/include -isystem /usr/local/x86_64-apple-darwin19.6.0/sys-include -fno-checking accepts -g... yes
checking for /opt/GNAT/2021/obj/./gcc/xgcc -B/opt/GNAT/2021/obj/./gcc/ -B/usr/local/x86_64-apple-darwin19.6.0/bin/ -B/usr/local/x86_64-apple-darwin19.6.0/lib/ -isystem /usr/local/x86_64-apple-darwin19.6.0/include -isystem /usr/local/x86_64-apple-darwin19.6.0/sys-include -fno-checking option to accept ISO C89... unsupported
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/opt/GNAT/2021/obj/x86_64-apple-darwin19.6.0/libgcc':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2

Relevant part of obj/x86_64-apple-darwin19.6.0/libgcc/config.log:
configure:4140: /lib/cpp conftest.c
/opt/GNAT/2021/src/libgcc/configure: line 1528: /lib/cpp: No such file or directory
configure:4140: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4170: error: in `/opt/GNAT/2021/obj/x86_64-apple-darwin19.6.0/libgcc':
configure:4172: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details

Thanks for ongoing advice.

Re: Problem building GNAT CE 2021 on Mac Catalina

<bd891692-443e-4d73-bded-00b2be9b6ea4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5435&group=comp.lang.ada#5435

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a37:693:: with SMTP id 141mr16956818qkg.453.1624184454670; Sun, 20 Jun 2021 03:20:54 -0700 (PDT)
X-Received: by 2002:a25:745:: with SMTP id 66mr24977632ybh.363.1624184454523; Sun, 20 Jun 2021 03:20:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sun, 20 Jun 2021 03:20:54 -0700 (PDT)
In-Reply-To: <59bb71e4-b27c-40d0-830c-8090d6c49068n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=219.90.187.107; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 219.90.187.107
References: <0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com> <lypmwkzbai.fsf@pushface.org> <d27176e2-b370-4fd4-950f-4b6a82499319n@googlegroups.com> <59bb71e4-b27c-40d0-830c-8090d6c49068n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bd891692-443e-4d73-bded-00b2be9b6ea4n@googlegroups.com>
Subject: Re: Problem building GNAT CE 2021 on Mac Catalina
From: rogerm...@gmail.com (Roger Mc)
Injection-Date: Sun, 20 Jun 2021 10:20:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 72
 by: Roger Mc - Sun, 20 Jun 2021 10:20 UTC

On Friday, June 18, 2021 at 10:18:48 PM UTC+10, Roger Mc wrote:
> Compiler version:
> GNAT Community 2020 (20200429-84)
After numerous failed attempts I decided to try on my laptop
OSX 10.13.6 High Sierra
Xcode 10.1
Took many hours but built and installed successfully.
I then copied the built system to my Catalina computer and ran make install which went fine until:

Making install in sanitizer_common
/bin/sh ../libtool --tag=CXX --mode=compile /opt/GNAT/2021/obj/./gcc/xgcc -shared-libgcc -B/opt/GNAT/2021/obj/./gcc -nostdinc++ -L/opt/GNAT/2021/obj/x86_64-apple-darwin17.7.0/libstdc++-v3/src -L/opt/GNAT/2021/obj/x86_64-apple-darwin17.7.0/libstdc++-v3/src/.libs -L/opt/GNAT/2021/obj/x86_64-apple-darwin17.7.0/libstdc++-v3/libsupc++/.libs -B/usr/local/x86_64-apple-darwin17.7.0/bin/ -B/usr/local/x86_64-apple-darwin17.7.0/lib/ -isystem /usr/local/x86_64-apple-darwin17.7.0/include -isystem /usr/local/x86_64-apple-darwin17.7.0/sys-include -fchecking=1 -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_RPC_XDR_H=0 -DHAVE_TIRPC_RPC_XDR_H=0 -I. -I../../../../src/libsanitizer/sanitizer_common -I.. -I ../../../../src/libsanitizer/include -I ../../../../src/libsanitizer -isystem ../../../../src/libsanitizer/include/system -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/include -I../../libstdc++-v3/include/x86_64-apple-darwin17.7.0 -I../../../../src/libsanitizer/../libstdc++-v3/libsupc++ -std=gnu++11 -Wl,-undefined,dynamic_lookup -g -O2 -MT sancov_flags.lo -MD -MP -MF .deps/sancov_flags.Tpo -c -o sancov_flags.lo ../../../../src/libsanitizer/sanitizer_common/sancov_flags.cpp
libtool: compile: /opt/GNAT/2021/obj/./gcc/xgcc -shared-libgcc -B/opt/GNAT/2021/obj/./gcc -nostdinc++ -L/opt/GNAT/2021/obj/x86_64-apple-darwin17.7.0/libstdc++-v3/src -L/opt/GNAT/2021/obj/x86_64-apple-darwin17.7.0/libstdc++-v3/src/.libs -L/opt/GNAT/2021/obj/x86_64-apple-darwin17.7.0/libstdc++-v3/libsupc++/.libs -B/usr/local/x86_64-apple-darwin17.7.0/bin/ -B/usr/local/x86_64-apple-darwin17.7.0/lib/ -isystem /usr/local/x86_64-apple-darwin17.7.0/include -isystem /usr/local/x86_64-apple-darwin17.7.0/sys-include -fchecking=1 -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_RPC_XDR_H=0 -DHAVE_TIRPC_RPC_XDR_H=0 -I. -I../../../../src/libsanitizer/sanitizer_common -I.. -I ../../../../src/libsanitizer/include -I ../../../../src/libsanitizer -isystem ../../../../src/libsanitizer/include/system -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/include -I../../libstdc++-v3/include/x86_64-apple-darwin17.7.0 -I../../../../src/libsanitizer/../libstdc++-v3/libsupc++ -std=gnu++11 -Wl,-undefined,dynamic_lookup -g -O2 -MT sancov_flags.lo -MD -MP -MF ..deps/sancov_flags.Tpo -c ../../../../src/libsanitizer/sanitizer_common/sancov_flags.cpp -fno-common -DPIC -o .libs/sancov_flags.o
In file included from ../../../../src/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:15,
from ../../../../src/libsanitizer/sanitizer_common/sanitizer_flag_parser.h:16,
from ../../../../src/libsanitizer/sanitizer_common/sancov_flags.h:15,
from ../../../../src/libsanitizer/sanitizer_common/sancov_flags.cpp:13:
.../../../../src/libsanitizer/sanitizer_common/sanitizer_platform.h:54:11: fatal error: TargetConditionals.h: No such file or directory
54 | # include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [sancov_flags.lo] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-target-libsanitizer] Error 2
make: *** [install] Error 2

However, installation appears to have been successful to some extent:
obj % /usr/local/bin/gnat --version
GNAT Community 2021 (20210519-103)

I've yet to see if it actually works.

Re: Problem building GNAT CE 2021 on Mac Catalina

<lyfsxchjds.fsf@pushface.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5436&group=comp.lang.ada#5436

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org.POSTED!not-for-mail
From: sim...@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: Problem building GNAT CE 2021 on Mac Catalina
Date: Sun, 20 Jun 2021 12:21:03 +0100
Organization: Aioe.org NNTP Server
Lines: 11
Message-ID: <lyfsxchjds.fsf@pushface.org>
References: <0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com>
<lypmwkzbai.fsf@pushface.org>
<d27176e2-b370-4fd4-950f-4b6a82499319n@googlegroups.com>
<59bb71e4-b27c-40d0-830c-8090d6c49068n@googlegroups.com>
<bd891692-443e-4d73-bded-00b2be9b6ea4n@googlegroups.com>
NNTP-Posting-Host: yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: abuse@aioe.org
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)
Cancel-Lock: sha1:TJ27VYiLwS3lWDDfVzt/3xWZVYs=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Simon Wright - Sun, 20 Jun 2021 11:21 UTC

Roger Mc <rogermcm2@gmail.com> writes:

> Making install in sanitizer_common

I build with --disable-libsanitizer; GNAT CE 2020 didn't. See the
configure options with $prefix/bin/gcc -v

My options:
https://github.com/simonjwright/building-gcc-macos-native/blob/gnat-ce/gcc.sh

I can't justify some of them :-(

Re: Problem building GNAT CE 2021 on Mac Catalina

<6c8fe3c1-e06b-4121-a515-bcdb615b88ebn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5437&group=comp.lang.ada#5437

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:4b:: with SMTP id c11mr7697071qvr.18.1624190259296; Sun, 20 Jun 2021 04:57:39 -0700 (PDT)
X-Received: by 2002:a5b:58e:: with SMTP id l14mr26183907ybp.303.1624190259149; Sun, 20 Jun 2021 04:57:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sun, 20 Jun 2021 04:57:38 -0700 (PDT)
In-Reply-To: <lyfsxchjds.fsf@pushface.org>
Injection-Info: google-groups.googlegroups.com; posting-host=219.90.187.107; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 219.90.187.107
References: <0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com> <lypmwkzbai.fsf@pushface.org> <d27176e2-b370-4fd4-950f-4b6a82499319n@googlegroups.com> <59bb71e4-b27c-40d0-830c-8090d6c49068n@googlegroups.com> <bd891692-443e-4d73-bded-00b2be9b6ea4n@googlegroups.com> <lyfsxchjds.fsf@pushface.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6c8fe3c1-e06b-4121-a515-bcdb615b88ebn@googlegroups.com>
Subject: Re: Problem building GNAT CE 2021 on Mac Catalina
From: rogerm...@gmail.com (Roger Mc)
Injection-Date: Sun, 20 Jun 2021 11:57:39 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 12
 by: Roger Mc - Sun, 20 Jun 2021 11:57 UTC

On Sunday, June 20, 2021 at 9:21:07 PM UTC+10, Simon Wright wrote:
> Roger Mc <roge...@gmail.com> writes:
>
> > Making install in sanitizer_common
>
> I build with --disable-libsanitizer; GNAT CE 2020 didn't. See the
> configure options with $prefix/bin/gcc -v
>
> My options:
> https://github.com/simonjwright/building-gcc-macos-native/blob/gnat-ce/gcc.sh
>
> I can't justify some of them :-(
Thanks, I'll try some.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor