From: Roger Mc <rogermcm2@gmail.com>
Subject: Re: Problem building GNAT CE 2021 on Mac Catalina
Date: Sun, 20 Jun 2021 03:20:54 -0700 (PDT) [thread overview]
Message-ID: <bd891692-443e-4d73-bded-00b2be9b6ea4n@googlegroups.com> (raw)
In-Reply-To: <59bb71e4-b27c-40d0-830c-8090d6c49068n@googlegroups.com>
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.
next prev parent reply other threads:[~2021-06-20 10:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-17 11:34 Problem building GNAT CE 2021 on Mac Catalina Roger Mc
2021-06-17 16:49 ` Simon Wright
2021-06-18 8:01 ` Roger Mc
2021-06-18 12:18 ` Roger Mc
2021-06-19 7:29 ` Roger Mc
2021-06-20 10:20 ` Roger Mc [this message]
2021-06-20 11:21 ` Simon Wright
2021-06-20 11:57 ` Roger Mc
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox