Andrew Hammond wrote:
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by PostgreSQL configure 8.2.2, which was
> generated by GNU Autoconf 2.59. Invocation command line was
>
> $ ./configure --prefix=/usr/local/pgsql822_sl126_amd64_FreeBSD62
> --with-includes=/usr/local/include --with-libs=/usr/local/lib
> --enable-thread-saftey --with-openssl --enable-debug CC=gcc CFLAGS=-O3
> -funroll-loops -m64
[...]
> configure:2209: checking for C compiler default output file name
> configure:2212: gcc -O3 -funroll-loops -m64 conftest.c /usr/local/lib >&5
> /usr/local/lib: file not recognized: File format not recognized
Strange. I tried the same args on 8.2.3, and that config.log extract
shows this:
configure:2209: checking for C compiler default output file name
configure:2212: gcc -O3 -funroll-loops -m64 conftest.c >&5
[works]
Note no misplaced libs there. The configure args were
./configure --prefix=/tmp --with-includes=/usr/local/include --with-libs=/usr/local/lib --enable-thread-saftey
--with-openssl--enable-debug CC=gcc CFLAGS="-O3 -funroll-loops -m64"
(including the thread-saftey typo)
I noticed that config.log has unquoted CFLAGS -- I'd say that's a bug,
but maybe it's of no consequence.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.