Re: problems compiling in 64 bits - Mailing list pgsql-bugs

From Tom Lane
Subject Re: problems compiling in 64 bits
Date
Msg-id 16034.1212247536@sss.pgh.pa.us
Whole thread Raw
In response to problems compiling in 64 bits  ("Gerardo Antonio" <oyogimalandro@gmail.com>)
List pgsql-bugs
"Gerardo Antonio" <oyogimalandro@gmail.com> writes:
> I am trying to compile Postgres 8.1.9 in the following Linux version:

>  Linux version 2.6.9-34.EL (bhcompile@altix2.build.redhat.com) (gcc version
> 3.4.5 20051201 (Red Hat 3.4.5-2))

> but I get a bunch of errors saying "

> i386 architecture of input file
> `../../src/port/libpgport_srv.a(pgstrcasecmp_srv.o)' is incompatible with
> ia64-elf64 output"

There's something screwed up about your build environment.  You might
want to check that you do not have values for CFLAGS, LDFLAGS, CPPFLAGS
etc in your environment variables (if you do, get rid of them and
restart from the configure step).  The only other cause I can think of
offhand is having the wrong compile/link toolchain installed.

It might be helpful for you to compare your build logs with those
from a similar machine in our buildfarm, eg
http://www.pgbuildfarm.org/cgi-bin/show_history.pl?nm=dungbeetle&br=REL8_1_STABLE
Look for differences in the flags that the compiler/linker get
invoked with.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "ROUSSEAU Jacques"
Date:
Subject: BUG #4214: Bug at installaing 8.1.11
Next
From: Tom Lane
Date:
Subject: Re: BUG #4216: Index scan goes wrong with crosstype comparison and between in one statement