Re: [GENERAL] compile problem - Mailing list pgsql-general

From Mike Mascari
Subject Re: [GENERAL] compile problem
Date
Msg-id 38674EB6.845C5A71@mascari.com
Whole thread Raw
In response to compile problem  (Toomas Tamme <tom@etf.ee>)
List pgsql-general
Toomas Tamme wrote:
>
> hi
>
> source version postgresql-6.5.3
> gcc --version
> 2.95.2
> sparc-sun-solaris2.6
>
> gives error like this:
>
> gcc -I../../include -I../../backend    -Wall -Wmissing-prototypes -DFRONTEND
> -fPIC   -c pqsignal.c -o pqsignal.o
> ar crs libpq.a fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o
> dllist.o pqsignal.o
> ranlib libpq.a
> ld -G -o libpq.so.2.0 fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o
> fe-lobj.o dllist.o pqsignal.o -lcrypt -ldl -lsocket -lresolv -lnsl -lm -lc
> make[2]: *** [libpq.so.2.0] Abort (core dumped)
> make[2]: *** Deleting file `libpq.so.2.0'
> make[2]: Leaving directory
> `/local1/usr/pgsql/postgresql-6.5.3/src/interfaces/libpq'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/local1/usr/pgsql/postgresql-6.5.3/src/interfaces'
> make: *** [all] Error 2
>
> how to fix?
>
> tom
>

Gee. That looks like a bug in your linker, ld. If that is
also GNU, you should report it. According to the GNU ld info
page:

Have you found a bug?
=====================

   If you are not sure whether you have found a bug, here
are some
guidelines:

   * If the linker gets a fatal signal, for any input
whatever, that is
     a `ld' bug.  Reliable linkers never crash.

...

How to report bugs
==================

   A number of companies and individuals offer support for
GNU
products.  If you obtained `ld' from a support organization,
we
recommend you contact that organization first.

   You can find contact information for many support
companies and
individuals in the file `etc/SERVICE' in the GNU Emacs
distribution.

   In any event, we also recommend that you send bug reports
for `ld'
to `bug-gnu-utils@gnu.org'.

Hope that helps.

Mike Mascari

pgsql-general by date:

Previous
From: Toomas Tamme
Date:
Subject: compile problem
Next
From: Karel Zak - Zakkr
Date:
Subject: Re: [GENERAL] Future of PostgreSQL