Issue 33719 - New Mozilla binary files: undefined symbol _ZN12nsCharTraitsIcE12sEmptyBufferE
Summary: New Mozilla binary files: undefined symbol _ZN12nsCharTraitsIcE12sEmptyBufferE
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: current
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: mmi
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-01 21:18 UTC by pavel
Modified: 2005-01-19 07:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2004-09-01 21:18:32 UTC
Hi,

I'm building to-be-m53 with

gcc version 3.3.1 (SuSE Linux)

I have linking problem in connectivity:

/home/oo/BuildDir/ccache /usr/bin/gcc -z combreloc -Wl,-rpath,'$ORIGIN' -shared
-Wl,-O1 -Wl,--version-script ../../../unxlngi4.pro/misc/mozabdrv_mozabdrv2.map
-L../../../unxlngi4.pro/lib -L../lib
-L/home/oo/BuildDir/ooo_SRC680_m53_src/solenv/unxlngi4/lib
-L/home/oo/BuildDir/ooo_SRC680_m53_src/solver/680/unxlngi4.pro/lib
-L/home/oo/BuildDir/ooo_SRC680_m53_src/solenv/unxlngi4/lib
-L/usr/lib/SunJava2/lib -L/usr/lib/SunJava2/jre/lib/i386
-L/usr/lib/SunJava2/jre/lib/i386/client
-L/usr/lib/SunJava2/jre/lib/i386/native_threads -L/usr/X11R6/lib
../../../unxlngi4.pro/slo/MConfigAccess.o ../../../unxlngi4.pro/slo/MCatalog.o
../../../unxlngi4.pro/slo/MColumns.o ../../../unxlngi4.pro/slo/MTable.o
../../../unxlngi4.pro/slo/MTables.o ../../../unxlngi4.pro/slo/MColumnAlias.o
../../../unxlngi4.pro/slo/MPreparedStatement.o
../../../unxlngi4.pro/slo/MStatement.o
../../../unxlngi4.pro/slo/MResultSetMetaData.o
../../../unxlngi4.pro/slo/MResultSet.o
../../../unxlngi4.pro/slo/MDatabaseMetaData.o
../../../unxlngi4.pro/slo/MConnection.o ../../../unxlngi4.pro/slo/MNSInit.o
../../../unxlngi4.pro/slo/MQueryHelper.o
../../../unxlngi4.pro/slo/MDatabaseMetaDataHelper.o
../../../unxlngi4.pro/slo/MQuery.o ../../../unxlngi4.pro/slo/MTypeConverter.o
../../../unxlngi4.pro/slo/MNameMapper.o
../../../unxlngi4.pro/slo/MNSMozabProxy.o
../../../unxlngi4.pro/slo/MNSTerminateListener.o
../../../unxlngi4.pro/slo/mozabdrv2_version.o
../../../unxlngi4.pro/slo/mozabdrv2_description.o -o
../../../unxlngi4.pro/lib/libmozabdrv2.so -lcppu -lcppuhelpergcc3 -lvos3gcc3
-lsal -ldbtools680li -lcomphelp4gcc3
-L/home/oo/BuildDir/ooo_SRC680_m53_src/solver/680/unxlngi4.pro/lib
-lembed_base_s -lnspr4 -lmozreg_s -lxpcom -ldl -lpthread -lm -Wl,-Bdynamic
-lstlport_gcc -lstdc++
rm -f ../../../unxlngi4.pro/lib/check_libmozabdrv2.so
mv ../../../unxlngi4.pro/lib/libmozabdrv2.so
../../../unxlngi4.pro/lib/check_libmozabdrv2.so
/home/oo/BuildDir/ooo_SRC680_m53_src/solenv/bin/checkdll.sh
-L../../../unxlngi4.pro/lib -L../lib
-L/home/oo/BuildDir/ooo_SRC680_m53_src/solenv/unxlngi4/lib
-L/home/oo/BuildDir/ooo_SRC680_m53_src/solver/680/unxlngi4.pro/lib
-L/home/oo/BuildDir/ooo_SRC680_m53_src/solenv/unxlngi4/lib
-L/usr/lib/SunJava2/lib -L/usr/lib/SunJava2/jre/lib/i386
-L/usr/lib/SunJava2/jre/lib/i386/client
-L/usr/lib/SunJava2/jre/lib/i386/native_threads -L/usr/X11R6/lib
../../../unxlngi4.pro/lib/check_libmozabdrv2.so
Checking DLL ../../../unxlngi4.pro/lib/check_libmozabdrv2.so ...: ERROR:
../../../unxlngi4.pro/lib/check_libmozabdrv2.so: undefined symbol:
_ZN12nsCharTraitsIcE12sEmptyBufferE
dmake:  Error code 1, while making '../../../unxlngi4.pro/lib/libmozabdrv2.so'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making
/home/oo/BuildDir/ooo_SRC680_m53_src/connectivity/source/drivers/mozab

This symbol is nsCharTraits<char>::sEmptyBuffer. This name is also referenced at 
http://www.mail-archive.com/mozilla-embedding@mozilla.org/msg04379.html where
people have similar issue but with MSCV6 ;-)

oo@oo:~/BuildDir/ooo_SRC680_m53_src/connectivity> grep -r
_ZN12nsCharTraitsIcE12sEmptyBufferE *
Binary file unxlngi4.pro/slo/MDatabaseMetaDataHelper.o matches
Binary file unxlngi4.pro/slo/MNSInit.o matches
Binary file unxlngi4.pro/slo/MNSMozabProxy.o matches
Binary file unxlngi4.pro/slo/MNameMapper.o matches
Binary file unxlngi4.pro/slo/MQuery.o matches
Binary file unxlngi4.pro/slo/MQueryHelper.o matches
Binary file unxlngi4.pro/slo/MTypeConverter.o matches
unxlngi4.pro/slb/mozabsrc.dump:         U _ZN12nsCharTraitsIcE12sEmptyBufferE
Binary file unxlngi4.pro/lib/check_libmozabdrv2.so matches

But no library in solver contains this symbol.

What is the reason for this update? Is there updated patch for mozilla files?
This issue is marked as internal task in EIS thus I do not have a chance to get
this info from somewhere.
Comment 1 pavel 2004-09-06 19:27:11 UTC
set target.
Comment 2 pavel 2004-09-13 09:16:17 UTC
mh: mmi is probably on vacation. Could you please dispatch this to someone who
is not on vacation?
Comment 3 pavel 2004-09-15 20:21:51 UTC
kz fixed it by:

revision 1.16
date: 2004/09/08 10:51:31;  author: kz;  state: Exp;  lines: +2773 -2728
#i10000# new mozilla libs compiled with the correct gcc version
Comment 4 foskey 2004-12-22 20:57:08 UTC
closing.
Comment 5 Martin Hollmichel 2005-01-19 07:00:55 UTC
close issue.