pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jez.wain@bull.net
To: pgsql-bugs@postgresql.org
Subject: BUG #6759: configure script fails to detect xlc compiler version
Date: Wed, 25 Jul 2012 10:08:56 +0000
Message-ID: <E1StyWW-0004wn-RB@wrigleys.postgresql.org> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <E1StyWW-0004wn-RB@wrigleys.postgresql.org>
Permalink:  ../E1StyWW-0004wn-RB@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1StyWW-0004wn-RB@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: jez.wain@bull.net
  Subject: Re: BUG #6759: configure script fails to detect xlc compiler version
  In-Reply-To: <E1StyWW-0004wn-RB@wrigleys.postgresql.org>
  References: <E1StyWW-0004wn-RB@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