Re: - Mailing list pgsql-ports

From Peter Schaefer
Subject Re:
Date
Msg-id 3809D14F.58C291D9@cys.de
Whole thread Raw
In response to ...  (Mark Chesterfield <mark@ennu.com.au>)
List pgsql-ports
Mark Chesterfield wrote:
>
> ============================================================================
>                         POSTGRESQL BUG REPORT TEMPLATE
> ============================================================================
>
> Your name               :       Mark Chesterfield
> Your email address      :       mark@ennu.com.au
>
> System Configuration
> ---------------------
>   Architecture (example: Intel Pentium)         :   IBM RISC
>
>   Operating System (example: Linux 2.0.26 ELF)  :   AIX 4.2.1
>
>   PostgreSQL version (example: PostgreSQL-6.5.2):   PostgreSQL-6.5.2
>
>   Compiler used (example:  gcc 2.8.0)           :   gcc 2.95.1
>
> Please enter a FULL description of your problem:
> ------------------------------------------------
> ./configure  --with-template=aix_gcc
> make all
>
> produced
> .......
> make -C libpq all
> make[2]: Entering directory `/usr/local/src/postgresql-6.5.2/src/interfaces/libp
> q'
> ../../backend/port/aix/mkldexport.sh libpq.a /usr/local/pgsql/lib > libpq.exp
> gcc -o libpq.so -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:../../backend/postgres.imp -Wl,-bE
> :libpq.exp libpq.a -lPW -lld -lnsl -ldl -lm -lreadline -lhistory -lcurses   -lc
> ld: 0711-224 WARNING: Duplicate symbol: __start
> ld: 0711-224 WARNING: Duplicate symbol: .__start
> ld: 0711-224 WARNING: Duplicate symbol: p_xargc
> ld: 0711-224 WARNING: Duplicate symbol: p_xargv
> ld: 0711-224 WARNING: Duplicate symbol: .__mod_init
> ld: 0711-224 WARNING: Duplicate symbol: __mod_init
>
> plus 100+ more similiar warning messages

Read the ld man page on how to switch off warnings 0711-224.

Then switch off the warnings from the linker

gcc -Wl,<multiple options separated by commas>

No guarantee this works.

--
Peter Schäfer - mailto:schaefer@cys.de, schaefer@dfu.de
Motto of the 3D Designer: "I am a meshed potato, I can do the twist".

pgsql-ports by date:

Previous
From: "Mark Chesterfield"
Date:
Subject: AIX link error for libpq.so
Next
From: "Damien Silveira"
Date:
Subject: postgresbug.txt