pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: andre_mikulec@hotmail.com
Subject: BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc  8.2.0 wrong options "-V" and "-qversion"
Date: Mon, 03 Sep 2018 16:10:28 +0000
Message-ID: <153599102817.23141.5285174974404066663@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15362
Logged by:          Andre Mikulec
Email address:      andre_mikulec@hotmail.com
PostgreSQL version: 11beta3
Operating system:   Windows 10 64bit latest
Description:        

Hi,

I am using the latest postgresql from the mirror
"https://github.com/postgres/postgres";
Latest commit 4ddd8f5

I am trying to configure "llbeta3"  using

AnonymousUser@ANONYMOUST MINGW64 /w/R-3.5._/postgres/build
/w/R-3.5._/postgres/configure --host=x86_64-w64-mingw32 --prefix=$PWD
--enable-debug --disable-rpath --enable-depend --without-zlib   

Using
tail -f config.log
vim config.log
I am seeing these results

gcc version 8.2.0 (Rev1, Built by MSYS2 project)
configure:3963: $? = 0
configure:3952: x86_64-w64-mingw32-gcc -V >&5
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '-V'
x86_64-w64-mingw32-gcc.exe: fatal error: no input files
compilation terminated.
configure:3963: $? = 1
configure:3952: x86_64-w64-mingw32-gcc -qversion >&5
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option
'-qversion'; did you mean '--version'?
x86_64-w64-mingw32-gcc.exe: fatal error: no input files
compilation terminated.

Option "-V" (CAPITAL V) seems to not being used correctly.

AnonymousUser@ANONYMOUST MINGW64 /w/R-3.5._/postgres/build
$  x86_64-w64-mingw32-gcc -V
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '-V'
x86_64-w64-mingw32-gcc.exe: fatal error: no input files
compilation terminated.

Option "-qversion" seems to not exist.

AnonymousUser@ANONYMOUST MINGW64 /w/R-3.5._/postgres/build
$ x86_64-w64-mingw32-gcc -qversion
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option
'-qversion'; did you mean '--version'?
x86_64-w64-mingw32-gcc.exe: fatal error: no input files
compilation terminated.

"--version" still works

AnonymousUser@ANONYMOUST MINGW64 /w/R-3.5._/postgres/build
$ x86_64-w64-mingw32-gcc --version
x86_64-w64-mingw32-gcc.exe (Rev1, Built by MSYS2 project) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

About "-V", the docs ( https://linux.die.net/man/1/gcc )
say
"
Specifying Target Machine and Compiler Version

-V and -b options work by running the <machine>-gcc-<version> executable

-V version
    The argument version specifies which version of GCC to run
"
So, the usage is not to query information, the usage seems to be to "set"
information.

About "-qversion", the docs ( https://linux.die.net/man/1/gcc ) say . . .
nothing!

Thanks,
Andre Mikulec
Andre_Mikulec@Hotmail.com



view thread (2+ messages)  latest in thread

Message-ID: <153599102817.23141.5285174974404066663@wrigleys.postgresql.org>
Permalink:  ../153599102817.23141.5285174974404066663@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/153599102817.23141.5285174974404066663@wrigleys.postgresql.org

 · 

reply

Reply instructions:

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

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, andre_mikulec@hotmail.com
  Subject: Re: BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc  8.2.0 wrong options "-V" and "-qversion"
  In-Reply-To: <153599102817.23141.5285174974404066663@wrigleys.postgresql.org>
  References: <153599102817.23141.5285174974404066663@wrigleys.postgresql.org>

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

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox