To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=50696 Issue #:|50696 Summary:|berkeleydb: build failed on AMD64 Component:|Database access Version:|current Platform:|Opteron/x86_64 URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|PATCH Priority:|P3 Subcomponent:|none Assigned to:|pjanik Reported by:|pjanik
------- Additional comments from [EMAIL PROTECTED] Mon Jun 13 23:30:08 -0700 2005 ------- Build of new berkeleydb fails on GNU/Linux on AMD64 (thanks for log goes to kendy ;-): build -- version: 1.138 ============= Building project berkeleydb ============= /local/ooo-build/ooo-build/build/src680-m108/berkeleydb ------------- mkdir ./unxlngx4.pro/misc/build/db-4.2.52.NC/out mkdir: cannot create directory `./unxlngx4.pro/misc/build/db-4.2.52.NC/out': File exists cd ./unxlngx4.pro/misc/build/db-4.2.52.NC/out && make && touch so_built_so_berkeleydb rm -f libdb.a test ! -f .libs/libdb-4.2.a || \ ln -s .libs/libdb-4.2.a libdb.a test -f .libs/libdb-4.2.a || \ (test -f libdb-4.2.a && ln -s libdb-4.2.a libdb.a) /bin/sh ./libtool --mode=link /opt/icecream/bin/g++ -avoid-version -rpath /usr/local/BerkeleyDB.4.2/lib \ -o libdb_cxx-4.2.la cxx_db.lo cxx_dbc.lo cxx_dbt.lo cxx_env.lo cxx_except.lo cxx_lock.lo cxx_logc.lo cxx_mpool.lo cxx_txn.lo cxx_multi.lo mut_pthread.lo bt_compare.lo bt_conv.lo bt_curadj.lo bt_cursor.lo bt_delete.lo bt_method.lo bt_open.lo bt_put.lo bt_rec.lo bt_reclaim.lo bt_recno.lo bt_rsearch.lo bt_search.lo bt_split.lo bt_stat.lo bt_upgrade.lo btree_auto.lo hash.lo hash_auto.lo hash_conv.lo hash_dup.lo hash_meta.lo hash_method.lo hash_open.lo hash_page.lo hash_rec.lo hash_reclaim.lo hash_stat.lo hash_upgrade.lo hash_verify.lo qam.lo qam_auto.lo qam_conv.lo qam_files.lo qam_method.lo qam_open.lo qam_rec.lo qam_stat.lo qam_upgrade.lo qam_verify.lo rep_method.lo rep_record.lo rep_region.lo rep_util.lo db_ovfl_vrfy.lo db_vrfy.lo db_vrfyutil.lo bt_verify.lo crypto_stub.lo crdel_auto.lo crdel_rec.lo db.lo db_am.lo db_auto.lo db_byteorder.lo db_cam.lo db_conv.lo db_dispatch.lo db_dup.lo db_err.lo db_getlong.lo db_idspace.lo db_iface.lo db_join.lo db_log2.lo db_meta.lo db_method.lo db_open.lo db_overflow.lo db_pr.lo db_rec.lo db_reclaim.lo db_rename.lo db_remove.lo db_ret.lo db_salloc.lo db_shash.lo db_truncate.lo db_upg.lo db_upg_opd.lo dbm.lo dbreg.lo dbreg_auto.lo dbreg_rec.lo dbreg_util.lo env_file.lo env_method.lo env_open.lo env_recover.lo env_region.lo fileops_auto.lo fop_basic.lo fop_rec.lo fop_util.lo hash_func.lo hmac.lo hsearch.lo lock.lo lock_deadlock.lo lock_method.lo lock_region.lo lock_stat.lo lock_util.lo log.lo log_archive.lo log_compare.lo log_get.lo log_method.lo log_put.lo mp_alloc.lo mp_bh.lo mp_fget.lo mp_fopen.lo mp_fput.lo mp_fset.lo mp_method.lo mp_region.lo mp_register.lo mp_stat.lo mp_sync.lo mp_trickle.lo mutex.lo os_abs.lo os_alloc.lo os_clock.lo os_config.lo os_dir.lo os_errno.lo os_fid.lo os_fsync.lo os_handle.lo os_id.lo os_map.lo os_method.lo os_oflags.lo os_open.lo os_region.lo os_rename.lo os_root.lo os_rpath.lo os_rw.lo os_seek.lo os_sleep.lo os_spin.lo os_stat.lo os_tmpdir.lo os_unlink.lo sha1.lo txn.lo txn_auto.lo txn_method.lo txn_rec.lo txn_recover.lo txn_region.lo txn_stat.lo txn_util.lo xa.lo xa_db.lo xa_map.lo /opt/icecream/bin/g++ -shared /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../lib64/crti.o /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/crtbeginS.o .libs/cxx_db.o .libs/cxx_dbc.o .libs/cxx_dbt.o .libs/cxx_env.o .libs/cxx_except.o .libs/cxx_lock.o .libs/cxx_logc.o .libs/cxx_mpool.o .libs/cxx_txn.o .libs/cxx_multi.o .libs/mut_pthread.o .libs/bt_compare.o .libs/bt_conv.o .libs/bt_curadj.o .libs/bt_cursor.o .libs/bt_delete.o .libs/bt_method.o .libs/bt_open.o .libs/bt_put.o .libs/bt_rec.o .libs/bt_reclaim.o .libs/bt_recno.o .libs/bt_rsearch.o .libs/bt_search.o .libs/bt_split.o .libs/bt_stat.o .libs/bt_upgrade.o .libs/btree_auto.o .libs/hash.o .libs/hash_auto.o .libs/hash_conv.o .libs/hash_dup.o .libs/hash_meta.o .libs/hash_method.o .libs/hash_open.o .libs/hash_page.o .libs/hash_rec.o .libs/hash_reclaim.o .libs/hash_stat.o .libs/hash_upgrade.o .libs/hash_verify.o .libs/qam.o .libs/qam_auto.o .libs/qam_conv.o .libs/qam_files.o .libs/qam_method.o .libs/qam_open.o .libs/qam_rec.o .libs/qam_stat.o .libs/qam_upgrade.o .libs/qam_verify.o .libs/rep_method.o .libs/rep_record.o .libs/rep_region.o .libs/rep_util.o .libs/db_ovfl_vrfy.o .libs/db_vrfy.o .libs/db_vrfyutil.o .libs/bt_verify.o .libs/crypto_stub.o .libs/crdel_auto.o .libs/crdel_rec.o .libs/db.o .libs/db_am.o .libs/db_auto.o .libs/db_byteorder.o .libs/db_cam.o .libs/db_conv.o .libs/db_dispatch.o .libs/db_dup.o .libs/db_err.o .libs/db_getlong.o .libs/db_idspace.o .libs/db_iface.o .libs/db_join.o .libs/db_log2.o .libs/db_meta.o .libs/db_method.o .libs/db_open.o .libs/db_overflow.o .libs/db_pr.o .libs/db_rec.o .libs/db_reclaim.o .libs/db_rename.o .libs/db_remove.o .libs/db_ret.o .libs/db_salloc.o .libs/db_shash.o .libs/db_truncate.o .libs/db_upg.o .libs/db_upg_opd.o .libs/dbm.o .libs/dbreg.o .libs/dbreg_auto.o .libs/dbreg_rec.o .libs/dbreg_util.o .libs/env_file.o .libs/env_method.o .libs/env_open.o .libs/env_recover.o .libs/env_region.o .libs/fileops_auto.o .libs/fop_basic.o .libs/fop_rec.o .libs/fop_util.o .libs/hash_func.o .libs/hmac.o .libs/hsearch.o .libs/lock.o .libs/lock_deadlock.o .libs/lock_method.o .libs/lock_region.o .libs/lock_stat.o .libs/lock_util.o .libs/log.o .libs/log_archive.o .libs/log_compare.o .libs/log_get.o .libs/log_method.o .libs/log_put.o .libs/mp_alloc.o .libs/mp_bh.o .libs/mp_fget.o .libs/mp_fopen.o .libs/mp_fput.o .libs/mp_fset.o .libs/mp_method.o .libs/mp_region.o .libs/mp_register.o .libs/mp_stat.o .libs/mp_sync.o .libs/mp_trickle.o .libs/mutex.o .libs/os_abs.o .libs/os_alloc.o .libs/os_clock.o .libs/os_config.o .libs/os_dir.o .libs/os_errno.o .libs/os_fid.o .libs/os_fsync.o .libs/os_handle.o .libs/os_id.o .libs/os_map.o .libs/os_method.o .libs/os_oflags.o .libs/os_open.o .libs/os_region.o .libs/os_rename.o .libs/os_root.o .libs/os_rpath.o .libs/os_rw.o .libs/os_seek.o .libs/os_sleep.o .libs/os_spin.o .libs/os_stat.o .libs/os_tmpdir.o .libs/os_unlink.o .libs/sha1.o .libs/txn.o .libs/txn_auto.o .libs/txn_method.o .libs/txn_rec.o .libs/txn_recover.o .libs/txn_region.o .libs/txn_stat.o .libs/txn_util.o .libs/xa.o .libs/xa_db.o .libs/xa_map.o -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4 -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../lib64 -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /usr/lib64/libstdc++.so -lm -lc -lgcc_s /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/crtendS.o /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../lib64/crtn.o -o .libs/libdb_cxx-4.2.so /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../lib64/crti.o(.init+0x0): In function `_init': /usr/src/packages/BUILD/glibc-2.3/cc/csu/crti.S:11: multiple definition of `_init' /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../lib64/crti.o(.init+0x0):/usr/src/packages/BUILD/glibc-2.3/cc/csu/crti.S:11: first defined here /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../lib64/crti.o(.fini+0x0): In function `_fini': : multiple definition of `_fini' /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../lib64/crti.o(.fini+0x0): first defined here /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/crtbeginS.o(.data.rel+0x0): multiple definition of `__dso_handle' /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/crtbeginS.o(.data.rel+0x0): first defined here collect2: ld returned 1 exit status make: *** [libdb_cxx-4.2.la] Error 1 dmake: Error code 2, while making './unxlngx4.pro/misc/build/so_built_so_berkeleydb' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /local/ooo-build/ooo-build/build/src680-m108/berkeleydb The problem is missing -nostdlib there. But according to http://www.seriousliving.net/new-1665294-216.html The problem is also in quoting around LD, because LD is ld -m elf_x86_64 on GNU/Linux on AMD64. Thus I propose the appended patch which is a shortest version I could come up with. kendy: can you please test it too? --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]