public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/100598] MinGW Canadian cross toolchain fails to build due to missing BASEVER in genversion.c
Date: Fri, 14 May 2021 09:07:52 +0000	[thread overview]
Message-ID: <bug-100598-4-whuKL0eKyG@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-100598-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100598

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2021-05-14
     Ever confirmed|0                           |1
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
It's strange, various macros should be passed to the genversion.c command line:

gcc/Makefile.in:

# genversion.c is run on the build machine to generate version.h
CFLAGS-build/genversion.o += -DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s)
\
        -DREVISION=$(REVISION_s) \
        -DDEVPHASE=$(DEVPHASE_s) -DPKGVERSION=$(PKGVERSION_s) \
        -DBUGURL=$(BUGURL_s)

build log:

g++ -c  -DBASEVER="\"12.0.0\"" -DDATESTAMP="\" 20210514\"" -DREVISION="\"\""
-DDEVPHASE="\" (experimental)\"" -DPKGVERSION="\"(GCC) \""
-DBUGURL="\"<https://gcc.gnu.org/bugs/>\"" -g -O2 -DIN_GCC -fPIC   
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H  -DGENERATOR_FILE -fno-PIE
-I. -Ibuild -I/home/marxin/Programming/gcc/gcc
-I/home/marxin/Programming/gcc/gcc/build
-I/home/marxin/Programming/gcc/gcc/../include 
-I/home/marxin/Programming/gcc/gcc/../libcpp/include  \
        -o build/genversion.o /home/marxin/Programming/gcc/gcc/genversion.c

  reply	other threads:[~2021-05-14  9:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14  8:57 [Bug other/100598] New: " markus.boeck02 at gmail dot com
2021-05-14  9:07 ` marxin at gcc dot gnu.org [this message]
2021-05-14 17:24 ` [Bug other/100598] " burnus at gcc dot gnu.org
2021-05-14 21:26 ` [Bug other/100598] [12 Regression] " burnus at gcc dot gnu.org
2021-05-16  1:52 ` unlvsur at live dot com
2021-05-17 12:17 ` rguenth at gcc dot gnu.org
2021-05-18  9:56 ` cvs-commit at gcc dot gnu.org
2021-05-18  9:59 ` marxin at gcc dot gnu.org

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=bug-100598-4-whuKL0eKyG@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).