BUG #15362: llbeta3: ./configure;in x86_64-w64-mingw32-gcc 8.2.0 wrong options "-V" and "-qversion"

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #15362: llbeta3: ./configure;in x86_64-w64-mingw32-gcc 8.2.0 wrong options "-V" and "-qversion"
Дата
Msg-id 153599102817.23141.5285174974404066663@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc8.2.0 wrong options "-V" and "-qversion"
Список pgsql-bugs
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


В списке pgsql-bugs по дате отправления:

Предыдущее
От: Sébastien DELOBEL
Дата:
Сообщение: example of json_to_record(json) not working
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc8.2.0 wrong options "-V" and "-qversion"