public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: gcc@gcc.gnu.org
Subject: gcc-12.3 cannot build gcc-ada on Cygwin
Date: Sun, 21 May 2023 18:35:28 +0200	[thread overview]
Message-ID: <87wn11iqwf.fsf@Rainer.invalid> (raw)


I've recently recovered Ada into gcc-11.3 on Cygwin and am now trying to
update the whole compiler suite to 12.3.  The build runs into a problem
in stage 2:

--8<---------------cut here---------------start------------->8---
make[3]: Entering directory '/mnt/share/cygpkgs/gcc/gcc.x86_64/build/gcc'
/mnt/share/cygpkgs/gcc/gcc.x86_64/build/./prev-gcc/xg++ -B/mnt/share/cygpkgs/gcc/gcc.x86_64/build/./prev-gcc/ -B/usr/x86_64-pc-cygwin/bin/ -nostdinc++ -B/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/src/.libs -B/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/libsupc++/.libs  -I/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/include/x86_64-pc-cygwin  -I/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/include  -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/libstdc++-v3/libsupc++ -L/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/src/.libs -L/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/libsupc++/.libs  -fno-PIE -c  -DIN_GCC_FRONTEND -fdebug-prefix-map=/mnt/share/cygpkgs/gcc/gcc.x86_64/build=/usr/src/debug/gcc-12.3.0-0.1 -fdebug-prefix-map=/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0=/usr/src/debug/gcc-12.3.0-0.1 -fno-checking -gtoggle -DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual  -Wmissing-format-attribute -Woverloaded-virtual -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Iada -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/ada -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../include -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../libcpp/include -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../libcody  -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../libdecnumber -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../libdecnumber/bid -I../libdecnumber -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../libbacktrace   -o ada/argv.o -MT ada/argv.o -MMD -MP -MF ada/.deps/argv.TPo /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/ada/argv.c
/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/system.h:783:30: error: expected identifier before string constant
  783 | #define abort() fancy_abort (__FILE__, __LINE__, __FUNCTION__)
      |                              ^~~~~~~~
/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/system.h:783:30: error: expected ‘,’ or ‘...’ before string constant
/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/system.h:783:30: error: expected identifier before string constant
  783 | #define abort() fancy_abort (__FILE__, __LINE__, __FUNCTION__)
      |                              ^~~~~~~~
/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/system.h:783:30: error: expected ‘,’ or ‘...’ before string constant
make[3]: *** [Makefile:1143: ada/argv.o] Error 1
--8<---------------cut here---------------end--------------->8---

The error probably is in part a result of using g++ for the compilation,
but other than that I don't really have an idea what goes on here or how
to fix it.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+


             reply	other threads:[~2023-05-21 17:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-21 16:35 Achim Gratz [this message]
2023-05-21 18:12 ` LIU Hao
2023-05-22 20:08   ` Achim Gratz
2023-05-24  1:42     ` LIU Hao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wn11iqwf.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).