Skip site navigation (1) Skip section navigation (2)

Re: [GENERAL] 8.2.1 Compiling Error

From: elein <elein(at)varlena(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: elein <elein(at)varlena(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] 8.2.1 Compiling Error
Date: 2007-01-31 23:24:24
Message-ID: 20070131232424.GG8879@varlena.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Wed, Jan 31, 2007 at 03:41:31PM -0500, Tom Lane wrote:
> elein <elein(at)varlena(dot)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: first defined 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

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2007-02-01 00:28:25
Subject: Re: PL/pgSQL RENAME functionality in TODOs
Previous:From: korrydDate: 2007-01-31 22:05:04
Subject: Re: [GENERAL] 8.2.1 Compiling Error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group