Обсуждение: BUG #6759: configure script fails to detect xlc compiler version

Поиск
Список
Период
Сортировка

BUG #6759: configure script fails to detect xlc compiler version

От
jez.wain@bull.net
Дата:
The following bug has been logged on the website:

Bug reference:      6759
Logged by:          jez wain
Email address:      jez.wain@bull.net
PostgreSQL version: 9.1.4
Operating system:   AIX 7.1
Description:=20=20=20=20=20=20=20=20

The configure script (near line 3247) detects the compiler version with=20

--version,  -v, and -V

IBM's xlc compiler uses "-qversion" flag to display its version.

This produces:
bash-4.2$ xlc -qversion
IBM XL C/C++ for AIX, V11.1 (5724-X13)
Version: 11.01.0000.0000

If you require additional information, there is a verbose switch,
-qversion=3Dverbose, which produces:=20

bash-4.2$ xlc -qversion=3Dverbose
IBM XL C/C++ for AIX, V11.1 (5724-X13)
Version: 11.01.0000.0000
Driver Version: 11.01(C/C++) Level: 100304
C Front End Version: 11.00(C/C++) Level: 100301
High-Level Optimizer Version: 11.01(C/C++) and 13.01(Fortran) Level: 100301
Low-Level Optimizer Version: 11.01(C/C++) and 13.01(Fortran) Level: 100304
bash-4.2$=20



When faced with a flag it doesn't recognize, xlc prints the man page. Thus
the --version, -v, -V tests result in a particularly large config.log file

Re: BUG #6759: configure script fails to detect xlc compiler version

От
Peter Eisentraut
Дата:
On ons, 2012-07-25 at 10:08 +0000, jez.wain@bull.net wrote:
> When faced with a flag it doesn't recognize, xlc prints the man page.
> Thus the --version, -v, -V tests result in a particularly large
> config.log file

And is this an actual problem?

The code you are referring to is automatically generated by autoconf, so
there isn't much we can do about it anyway.