Re: [GENERAL] 8.2.1 Compiling Error - Mailing list pgsql-hackers

From elein
Subject Re: [GENERAL] 8.2.1 Compiling Error
Date
Msg-id 20070131232424.GG8879@varlena.com
Whole thread Raw
In response to Re: [GENERAL] 8.2.1 Compiling Error  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [GENERAL] 8.2.1 Compiling Error
List pgsql-hackers
On Wed, Jan 31, 2007 at 03:41:31PM -0500, Tom Lane wrote:
> elein <elein@varlena.com> writes:
> > gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing -g -Wno-error
-L../../../../src/port -Wl,-rpath,'/local/pgsql82/lib' preproc.o type.o ecpg.o ecpg_keywords.o output.o keywords.o
c_keywords.o../ecpglib/typename.o descriptor.o variable.o -lpgport -lz -lreadline -lcrypt -ldl -lm   -o ecpg
 
> > /usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): In function
`__i686.get_pc_thunk.bx':
> > : multiple definition of `__i686.get_pc_thunk.bx'
> >
../ecpglib/typename.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/home/local/src/postgresql-8.2.1/src/interfaces/ecpg/ecpglib/typename.c:18:
firstdefined herecollect2: ld returned 1 exit status
 
> > make[4]: *** [ecpg] Error 1
> 
> Weird.  None of the Debian machines in the buildfarm are failing.
> Is this a vanilla x86 installation?  Maybe something non-default
> about your compiler?

Pretty darn vanilla, except for source packages from postgres.

Korry suggests upgrading gcc, although I've built all of the
previous versions with no problem.  But I'll try that.

> 
> typename.c in 8.2 branch hasn't changed for about three years,
> so it's not like that code suddenly broke ...
> 
>             regards, tom lane

--elein


pgsql-hackers by date:

Previous
From:
Date:
Subject: Re: [GENERAL] 8.2.1 Compiling Error
Next
From: Tom Lane
Date:
Subject: Re: PL/pgSQL RENAME functionality in TODOs