Linking with -lc not a good idea

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Linking with -lc not a good idea
Date: 2003-12-19 12:10:50
Message-ID: 200312191310.50624.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I noticed that pltcl.so is now always linked with -lc. That is normally not a
good idea with gcc, because gcc figures out its own order of -lgcc and -lc.
If you specify -lc explicitly, then you override -lgcc.

I think this change

http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/pl/tcl/
Makefile.diff?r1=1.39&r2=1.40

needs to be reconsidered.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Bernier 2003-12-19 12:32:25 Re: PostgreSQL speakers needed for OSCON 2004
Previous Message Greg Sabino Mullane 2003-12-19 12:07:57 Re: PostgreSQL speakers needed for OSCON 2004