Поиск
Список
Период
Сортировка
Искать

От:
Mark Chesterfield <mark@ennu.com.au>
Дата:
============================================================================
                        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


Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible: 
----------------------------------------------------------------------

./configure  --with-template=aix_gcc
make all

I'd really appreciate some advice on how to solve this problem.
Thanks

AIX link error for libpq.so

От:
"Mark Chesterfield" <mark@ennu.com.au>
Дата:
Apologies for the repost - missed the heading
============================================================================
                         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/libpq'
../../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:li
bpq.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

Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

./configure  --with-template=aix_gcc
make all

I'd really appreciate some advice on how to solve this problem.
Thanks

************

Re:

От:
Peter Schaefer <schaefer@cys.de>
Дата:
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,

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".
FAQ