From: | <wespvp(at)syntegra(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | PostgreSQL-general <pgsql-general(at)postgresql(dot)org>, joseph speigle <joe(dot)speigle(at)jklh(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: thread_test.c problems |
Date: | 2004-04-27 04:00:02 |
Message-ID: | BCB344F2.7F3B%wespvp@syntegra.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
> OK, CVS is ready. I unconditionally defined:
>
> -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS
>
> for all ports. It can't hurt if they are not supported, but it makes
> our job easier for porting. It allowed me to remove almost all the
> port-specific thread stuff. The other tests are done by configure and
> thread_test.
>
> Should fix Darwin compile and other platforms without mucking with the
> thread detection code.
I tried it on Mac OS X 10.2.8 also (gcc 3.1). It seems to build ok, except
that I get numerous warnings at different places in the build like the ones
below.
I did just verify that these warnings also occur with the 7.4.2 release.
Wes
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations vacuumdb.o common.o -L../../../src/interfaces/libpq
-lpq -L../../../src/port -lpam -lssl -lcrypto -lkrb5 -lz -lreadline
-ltermcap -lm -lpgport -o vacuumdb
ld: warning multiple definitions of symbol _des_crypt
/usr/lib/libcrypto.dylib(fcrypt.o) definition of _des_crypt
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_crypt
ld: warning multiple definitions of symbol _des_fcrypt
/usr/lib/libcrypto.dylib(fcrypt.o) definition of _des_fcrypt
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_fcrypt
ld: warning multiple definitions of symbol _des_is_weak_key
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_is_weak_key
/usr/lib/libcrypto.dylib(set_key.o) definition of _des_is_weak_key
ld: warning multiple definitions of symbol _des_set_key
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_set_key
/usr/lib/libcrypto.dylib(set_key.o) definition of _des_set_key
ld: warning multiple definitions of symbol _des_key_sched
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_key_sched
/usr/lib/libcrypto.dylib(set_key.o) definition of _des_key_sched
ld: warning multiple definitions of symbol _des_fixup_key_parity
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_fixup_key_parity
/usr/lib/libcrypto.dylib(set_key.o) definition of _des_fixup_key_parity
ld: warning multiple definitions of symbol _des_check_key_parity
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_check_key_parity
/usr/lib/libcrypto.dylib(set_key.o) definition of _des_check_key_parity
ld: warning multiple definitions of symbol _des_ecb_encrypt
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_ecb_encrypt
/usr/lib/libcrypto.dylib(ecb_enc.o) definition of _des_ecb_encrypt
ld: warning multiple definitions of symbol _crypt
/usr/lib/libcrypto.dylib(fcrypt.o) definition of _crypt
/usr/lib/libm.dylib(crypt.So) definition of _crypt
ld: warning multiple definitions of symbol _des_read_pw_string
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) definition of
_des_read_pw_string
/usr/lib/libcrypto.dylib(read_pwd.o) definition of _des_read_pw_string
ld: warning suggest use of -bind_at_load, as lazy binding may result in
errors or different symbols being used
symbol _des_cbc_cksum used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(cbc_cksm.o)
symbol _des_cbc_encrypt used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(cbc_enc.o)
symbol _des_check_key_parity used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(set_key.o)
symbol _des_ecb_encrypt used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(ecb_enc.o)
symbol _des_fixup_key_parity used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(set_key.o)
symbol _des_is_weak_key used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(set_key.o)
symbol _des_key_sched used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(set_key.o)
symbol _des_pcbc_encrypt used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(pcbc_enc.o)
symbol _des_quad_cksum used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(qud_cksm.o)
symbol _des_random_key used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(rand_key.o)
symbol _des_read_password used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(read2pwd.o)
symbol _des_read_pw_string used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(read_pwd.o)
symbol _des_set_key used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(set_key.o)
symbol _des_string_to_key used from dynamic library
/usr/lib/libkrb5.dylib(ProjectBuilderMasterObjectFile.o) not from earlier
dynamic library /usr/lib/libcrypto.0.9.dylib(str2key.o)
sed -e 's,@bindir@,/usr/local/pgsql7.4.2+/bin,g' \
-e 's,@includedir@,/usr/local/pgsql7.4.2+/include,g' \
-e 's,@includedir_server@,/usr/local/pgsql7.4.2+/include/server,g' \
-e 's,@libdir@,/usr/local/pgsql7.4.2+/lib,g' \
-e 's,@pkglibdir@,/usr/local/pgsql7.4.2+/lib,g' \
-e "s|@configure@|'--prefix=/usr/local/pgsql7.4.2+' '--with-perl'
'--with-krb5' '--with-openssl' '--with-pam' '--with-rendezvous'
'--enable-thread-safety' '--enable-depend'|g" \
-e 's,@version@,7.5devel,g' \
pg_config.sh >pg_config
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2004-04-27 04:26:18 | Re: Postgres DB |
Previous Message | Bruce Momjian | 2004-04-27 03:43:00 | Re: shadowing (like IB/Firebird) |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Hallgren | 2004-04-27 07:47:47 | Re: Usability, MySQL, Postgresql.org, gborg, contrib, etc. |
Previous Message | Bruce Momjian | 2004-04-27 03:38:32 | Re: Pl/Java and GCJ |