pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc  8.2.0 wrong options "-V" and "-qversion"
2+ messages / 2 participants
[nested] [flat]

* BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc  8.2.0 wrong options "-V" and "-qversion"
@ 2018-09-03 16:10  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2018-09-03 16:10 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: andre_mikulec@hotmail.com

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc 8.2.0 wrong options "-V" and "-qversion"
@ 2018-09-03 16:13  Alvaro Herrera <alvherre@2ndquadrant.com>
  parent: PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2018-09-03 16:13 UTC (permalink / raw)
  To: andre_mikulec@hotmail.com; pgsql-bugs@lists.postgresql.org

On 2018-Sep-03, PG Bug reporting form wrote:

> 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

This is normal.  'configure' tests all known compiler switches that
report a version number, for all possible compilers.  If your compiler
fail some of those tests, that's expected, as long as there is *some*
switch that works.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-09-03 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03 16:10 BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc  8.2.0 wrong options "-V" and "-qversion" PG Bug reporting form <noreply@postgresql.org>
2018-09-03 16:13 ` Re: BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc 8.2.0 wrong options "-V" and "-qversion" Alvaro Herrera <alvherre@2ndquadrant.com>

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