pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6759: configure script fails to detect xlc compiler version
2+ messages / 2 participants
[nested] [flat]

* BUG #6759: configure script fails to detect xlc compiler version
@ 2012-07-25 10:08  jez.wain@bull.net
  0 siblings, 1 reply; 2+ messages in thread

From: jez.wain@bull.net @ 2012-07-25 10:08 UTC (permalink / raw)
  To: pgsql-bugs

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:        

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

--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=verbose, which produces: 

bash-4.2$ xlc -qversion=verbose
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$ 



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




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

* Re: BUG #6759: configure script fails to detect xlc compiler version
@ 2012-07-25 18:34  Peter Eisentraut <peter_e@gmx.net>
  parent: jez.wain@bull.net
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2012-07-25 18:34 UTC (permalink / raw)
  To: jez.wain@bull.net; +Cc: pgsql-bugs

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.




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


end of thread, other threads:[~2012-07-25 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-07-25 10:08 BUG #6759: configure script fails to detect xlc compiler version jez.wain@bull.net
2012-07-25 18:34 ` Peter Eisentraut <peter_e@gmx.net>

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