Closed
Bug 81161
Opened 24 years ago
Closed 24 years ago
libtransformiix.so: symbol __1cDstdEcout_: referenced symbol not found
Categories
(SeaMonkey :: Build Config, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: timeless, Assigned: cls)
References
()
Details
(Whiteboard: critical for 0.9.2)
Attachments
(8 files)
6.69 KB,
patch
|
Details | Diff | Splinter Review | |
10.13 KB,
text/plain
|
Details | |
8.99 KB,
patch
|
Details | Diff | Splinter Review | |
7.75 KB,
patch
|
Details | Diff | Splinter Review | |
8.12 KB,
patch
|
Details | Diff | Splinter Review | |
7.26 KB,
patch
|
Details | Diff | Splinter Review | |
1.43 KB,
patch
|
Details | Diff | Splinter Review | |
1.40 KB,
patch
|
Details | Diff | Splinter Review |
Solaris7Sparc, Sun Forte C 5 compiler, xlib build, daily cvs.
fatal: relocation error: file
/tmp/build/mozilla/obj-sparc-sun-solaris2.7/dist/bin/components/libtransformiix
.so: symbol __1cDstdEcout_: referenced symbol not found
Comment 1•24 years ago
|
||
Same problem with Sun Workshop 6 Update 6 EarlyAccess2, 2001-05-16-08-trunk on
Solaris 7 SPARC (default toolkit (=GTK+-toolkit)).
gcc 2.95.1 same platform builds&works fine... ;-(
Uhm... stupid question: is libC linked to the transformixx module ?
Comment 2•24 years ago
|
||
hrm. info? is this a link error? or startup?
I would need the link line for libtransformiix.so, too
Axel
y:/tmp/obj-sparc-sun-solaris2.7/extensions/transformiix/build: nm -A
../source/base/ArrayList.o ../s
ource/base/DefaultStringComparator.o ../source/base/Double.o
../source/base/Integer.o ../source/base
/List.o ../source/base/TxObjectWrapper.o ../source/base/Map.o
../source/base/NamedMap.o ../source/ba
se/SimpleErrorObserver.o ../source/base/Stack.o
../source/base/StringComparator.o ../source/base/Str
ingList.o ../source/base/Tokenizer.o ../source/base/MozillaString.o
../source/net/URIUtils.o ../sour
ce/xml/dom/mozImpl/*.o ../source/xpath/*.o ../source/xml/*.o
../source/xml/parser/*.o ../source/xslt
/*.o ../source/xslt/functions/*.o ../source/xslt/util/NodeSorter.o
../source/xslt/util/NodeStack.o X
SLTProcessorModule.o |grep cout
../source/base/NamedMap.o: [134] __1cDstdEcout_
../source/base/SimpleErrorObserver.o: [110] __1cDstdEcout_
../source/xpath/ExprParser.o: [235] __1cDstdEcout_
../source/xpath/LocationStep.o: [170] __1cDstdEcout_
../source/xpath/PredicateList.o: [120] __1cDstdEcout_
../source/xslt/ProcessorState.o: [278] __1cDstdEcout_
../source/xslt/XSLTProcessor.o: [418] __1cDstdEcout_
../source/xslt/util/NodeStack.o: [112] __1cDstdEcout_
Comment 5•24 years ago
|
||
The __1cDstdEcout_ symbol is defined in the libCstd.a/libCstd.so.1
(static/dynamic) library. This library is not linked when building the
transformiix.so library. Adding the link -lCstd should resolve the problem.
Margaret
except that transformiix shouldn't link against lib (std?) c(++). i have a
patch for this which i was trying out...
upon reflection. that means we still need a patch that _does_ link against
libstd c if DEBUG is defined. Anyone want to propose such a patch (we need a
win32 patch too)
Comment 9•24 years ago
|
||
I still don't see a link line. This is most likely a problem of not using CC
for linking. Could one of you (timeless, Roland) please attach
config/autoconf.mk ? This would help a bit.
The debug stuff is completely unrelated to this.
Axel
Comment 10•24 years ago
|
||
Comment 11•24 years ago
|
||
Adding -lCstd manually in extensions/transformiix/build/Makefile works without
problems:
-- snip --
EXTRA_DSO_LDOPTS += \
$(MOZ_COMPONENT_LIBS) \
$(MOZ_JS_LIBS) \
-lCstd \
$(NULL)
-- snip --
I wish a fix for this issue would catch the 0.9.1 train... is that still
possible ?
Comment 12•24 years ago
|
||
Margaret:
Not linking with /opt/SUNWspro/bin/CC / /opt/SUNWspro/bin/cc will break "-xipo",
right ?
Comment 13•24 years ago
|
||
As requested via IRC #mozilla:
The linker line for the *.so looks like this (Sun Workshop 6 Update 2 EA2):
-- snip --
rm -f libtransformiix.so
/opt/SUNWspro/bin/CC -I/usr/openwin/include -I/usr/include -I/usr/local/include
-mt -O -DDEBUG -DDEBUG_mozilla -DTRACING -g -G -Qoption ld -z,muldefs -h
libtransformiix.so -o libtransformiix.so XSLTProcessorModule.o
../source/base/ArrayList.o ../source/base/DefaultStringComparator.o
../source/base/Double.o ../source/base/Integer.o ../source/base/List.o
../source/base/TxObjectWrapper.o ../source/base/Map.o ../source/base/NamedMap.o
../source/base/SimpleErrorObserver.o ../source/base/Stack.o
../source/base/StringComparator.o ../source/base/StringList.o
../source/base/Tokenizer.o ../source/base/MozillaString.o
../source/net/URIUtils.o ../source/xml/dom/mozImpl/MozillaObjectWrapper.o
../source/xml/dom/mozImpl/MozillaAttr.o
../source/xml/dom/mozImpl/MozillaCDATASection.o
../source/xml/dom/mozImpl/MozillaCharacterData.o
../source/xml/dom/mozImpl/MozillaComment.o
../source/xml/dom/mozImpl/MozillaDOMImplementation.o
../source/xml/dom/mozImpl/MozillaDocument.o
../source/xml/dom/mozImpl/MozillaDocumentFragment.o
../source/xml/dom/mozImpl/MozillaDocumentType.o
../source/xml/dom/mozImpl/MozillaElement.o
../source/xml/dom/mozImpl/MozillaEntity.o
../source/xml/dom/mozImpl/MozillaEntityReference.o
../source/xml/dom/mozImpl/MozillaNamedNodeMap.o
../source/xml/dom/mozImpl/MozillaNode.o
../source/xml/dom/mozImpl/MozillaNodeList.o
../source/xml/dom/mozImpl/MozillaNotation.o
../source/xml/dom/mozImpl/MozillaProcInstruction.o
../source/xml/dom/mozImpl/MozillaText.o ../source/xpath/AdditiveExpr.o
../source/xpath/AttributeExpr.o ../source/xpath/AttributeValueTemplate.o
../source/xpath/BasicNodeExpr.o ../source/xpath/BooleanExpr.o
../source/xpath/BooleanFunctionCall.o ../source/xpath/BooleanResult.o
../source/xpath/ElementExpr.o ../source/xpath/ErrorFunctionCall.o
../source/xpath/ExprLexer.o ../source/xpath/ExprParser.o
../source/xpath/ExtensionFunctionCall.o ../source/xpath/FilterExpr.o
../source/xpath/FunctionCall.o ../source/xpath/IdentityExpr.o
../source/xpath/LocationStep.o ../source/xpath/MultiplicativeExpr.o
../source/xpath/NodeSet.o ../source/xpath/NodeSetFunctionCall.o
../source/xpath/nsNodeSet.o ../source/xpath/NumberExpr.o
../source/xpath/NumberFunctionCall.o ../source/xpath/NumberResult.o
../source/xpath/ParentExpr.o ../source/xpath/PathExpr.o
../source/xpath/PredicateList.o ../source/xpath/RelationalExpr.o
../source/xpath/RootExpr.o ../source/xpath/StringExpr.o
../source/xpath/StringFunctionCall.o ../source/xpath/StringResult.o
../source/xpath/TextExpr.o ../source/xpath/UnionExpr.o
../source/xpath/VariableRefExpr.o ../source/xpath/XPathNames.o
../source/xpath/XPathProcessor.o ../source/xml/XMLUtils.o
../source/xml/XMLDOMUtils.o ../source/xml/util/DOMHelper.o
../source/xml/parser/XMLParser.o ../source/xml/parser/nsSyncLoader.o
../source/xslt/OutputFormat.o ../source/xslt/Names.o ../source/xslt/Numbering.o
../source/xslt/ProcessorState.o ../source/xslt/VariableBinding.o
../source/xslt/XSLTProcessor.o ../source/xslt/functions/CurrentFunctionCall.o
../source/xslt/functions/DocumentFunctionCall.o
../source/xslt/functions/ElementAvailableFnCall.o
../source/xslt/functions/FunctionAvailableFnCall.o
../source/xslt/functions/GenerateIdFunctionCall.o
../source/xslt/functions/SystemPropertyFunctionCall.o
../source/xslt/util/NodeSorter.o ../source/xslt/util/NodeStack.o -xildoff
-L../../../dist/bin -lxpcom -L../../../dist/bin
-L/home/mozilla/builds/2001-05-28-08-trunk/objdir_ws6_gtk/dist/lib -lplds4
-lplc4 -lnspr4 -lpthread -ldl -L../../../dist/bin -lmozjs -lposix4 -lsocket
-lCrun -ldl -lm
chmod +x libtransformiix.so
true libtransformiix.so
../../../config/nsinstall -R -m 555 libtransformiix.so
../../../dist/lib/components
: ../../../dist/lib/components/libtransformiix.so
../../../config/nsinstall -R -m 555 libtransformiix.so
../../../dist/bin/components
: ../../../dist/bin/components/libtransformiix.so
-- snip --
# ldd output
% ldd libtransformiix.so
libxpcom.so => (file not found)
libplds4.so => (file not found)
libplc4.so => (file not found)
libnspr4.so => (file not found)
libpthread.so.1 => /usr/lib/libpthread.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmozjs.so => (file not found)
librt.so.1 => /usr/lib/librt.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libCrun.so.1 => /usr/lib/libCrun.so.1
libm.so.1 => /usr/lib/libm.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libc.so.1 => /usr/lib/libc.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libw.so.1 => /usr/lib/libw.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libthread.so.1 => /usr/lib/libthread.so.1
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
Registration attempt of mozilla-bin:
-- snip --
nsNativeComponentLoader: autoregistering begins.
**************************************************
nsNativeComponentLoader:
SelfRegisterDll(/home/mozilla/builds/2001-05-28-08-trunk/objdir_ws6_gtk/dist/bin/components/libtransformiix.so)
Load FAILED with error: ld.so.1: ./mozilla-bin: fatal: relocation error: file
/home/mozilla/builds/2001-05-28-08-trunk/objdir_ws6_gtk/dist/bin/components/libtransformiix.so:
symbol __1cDstdEcout_: referenced symbol not found
**************************************************
nsNativeComponentLoader: autoregistering succeeded
-- snip --
Comment 14•24 years ago
|
||
Sorry Roland. Don't know the answer to your question. Checking it out. Will
post out any updates.
Comment 15•24 years ago
|
||
I still don't see why this should happen.
The man page to cout on solaris says nothing about link requirements, and IMHO
there shouldn't be. Could I have the link lines for mozilla-bin and
netwerk/test/urltest ? (urltest uses cout allright, and doesn't do anything
fancy as I can see).
Axel
Comment 16•24 years ago
|
||
Roland:
This is the answer to your question:
"Indeed, for -xipo to be effective, one must link the application via
the cc/CC driver rather than ld. The program will still work if ld is
used instead, but the intended interprocedural optimization will not
occur. You can think of it like this: using -xipo when creating an
object files prepares it for interprocedural optimization, while the
link step (via compiler driver) with -xipo actually does the
optimization."
As to Axel's request for the link line of urltest, I don't have one handy
because I have been building --disable-tests for quite some time to save disk
space, perhaps Roland/timless can provide one?
Comment 17•24 years ago
|
||
As requested:
Build and compile lines of netwerk/test/urltest (2001-06-04-08-trunk)
-- snip --
% gmake
urltest.cpp
Building deps for
../../../../../src/2001-06-04-08-trunk/mozilla/netwerk/test/urltest.cpp
/opt/SUNWspro/bin/CC -o urltest.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\"
-DMOZ_REFLOW_PERF -DMOZ_REFLOW_PERF_DSP -DOJI -DUSE_NSREG -I../../dist/include
-I../../dist/include
-I/home/mozilla/builds/2001-06-04-08-trunk/objdir_ws6_gtk/dist/include/nspr
-I/usr/openwin/include -KPIC -I/usr/openwin/include -I/usr/include
-I/usr/local/include -mt -O -DDEBUG -DDEBUG_mozilla -DTRACING -g
-I/usr/openwin/include -DMOZILLA_CLIENT -DBROKEN_QSORT=1
-DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DMOZ_WIDGET_GTK=1
-DMOZ_ENABLE_XREMOTE=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DMOZ_X11=1
-DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1
-DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1
-DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_FILIO_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_SYS_STATVFS_H=1
-DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_LIBM=1
-DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBPOSIX4=1 -D_REENTRANT=1
-DHAVE_RANDOM=1 -DHAVE_QSORT=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1
-DHAVE_SNPRINTF=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STATVFS=1 -DHAVE_MEMMOVE=1
-DHAVE_USLEEP=1 -DHAVE_RINT=1 -DHAVE_NL_LANGINFO=1 -DHAVE_GETTIMEOFDAY=1
-DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_DEV_ZERO=1 -DHAVE_IOS_BINARY=1 -DHAVE_OSTREAM=1
-DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_SPECIALIZATION=1
-DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1
-DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1
-DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1
-DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1
-DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1
-DHAVE_I18N_LC_MESSAGES=1 -DMOZ_LOGGING=1 -DMOZ_MAIL_NEWS=1
-DMOZ_EDITOR_API_LOG=1 -DMOZ_ENDER_LITE=1 -DNS_MT_SUPPORTED=1 -DIBMBIDI=1
-DDETECT_WEBSHELL_LEAKS=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1
-DINCLUDE_XUL=1 -DMOZ_MATHML=1 -DMOZ_SVG=1 -DMOZ_XSL=1 -DMOZ_NEW_CACHE=1
-DUSE_IMG2=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1
-DHAVE_MOVEMAIL=1 -DJS_THREADSAFE=1
../../../../../src/2001-06-04-08-trunk/mozilla/netwerk/test/urltest.cpp
/opt/SUNWspro/bin/CC -I/usr/openwin/include -I/usr/include -I/usr/local/include
-mt -O -DDEBUG -DDEBUG_mozilla -DTRACING -g -o urltest urltest.o -xildoff
-L../../dist/bin -L../../dist/lib -L../../dist/bin -lmozjs -L../../dist/bin
-lxpcom -L/home/mozilla/builds/2001-06-04-08-trunk/objdir_ws6_gtk/dist/lib
-lplds4 -lplc4 -lnspr4 -lpthread -ldl ../../dist/lib/libmozdbm_s.a -lposix4
-lsocket -lCrun -ldl -lm
true urltest
../../config/nsinstall -R -m 555 TestOverlappedIO TestSocketIO TestSocketInput
TestSocketTransport TestFileInput TestFileTransport TestProtocols TestHttp
urltest TestFileInput2 TestRes TestCallbacks TestDBMAccess TestMCTransport
../../dist/bin
-- snip --
ldd output:
-- snip --
% ldd urltest
libmozjs.so => (file not found)
libxpcom.so => (file not found)
libplds4.so => (file not found)
libplc4.so => (file not found)
libnspr4.so => (file not found)
libpthread.so.1 => /usr/lib/libpthread.so.1
libdl.so.1 => /usr/lib/libdl.so.1
librt.so.1 => /usr/lib/librt.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libCrun.so.1 => /usr/lib/libCrun.so.1
libm.so.1 => /usr/lib/libm.so.1
libw.so.1 => /usr/lib/libw.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
-- snip --
Comment 18•24 years ago
|
||
With your build, does the url test run without any complaints for you? That is,
no referenced symbols not found, etc.?
Comment 19•24 years ago
|
||
I am asked to change the Priority of this bug as this is considered to be a
stop-ship (beta of the next release) for us on Solaris. Hi Axel, my co-worker
is telling me that this may be caused by getting rid of the libiostream.a/.so
library some time ago. Anyway, I am thinking about adding -lCstd.so to the
build of libtransformiix.so only.
Priority: -- → P1
Target Milestone: --- → mozilla1.0
Comment 20•24 years ago
|
||
I don't think this is a XSLT issue, but more something along the lines of
portable C++ and build config. Therefor I CC the authors of the portable guide,
and set the component to build config.
I doubt that it is a clean solution to whack something for transformiix alone.
It may be a pretty bad idea to link all libs to Cstd though, (I only see a
static version in 5.0,) for footprint reasons.
If we end up with a local solution, add the solution to the portable guide.
Axel
Comment 21•24 years ago
|
||
Here comes the requested output from "urltest" (2001-06-10-08-trunk build with
Sun Workshop 6 Update 2 EA2/Solaris 2.7). It has a suprising side-effect:
-- snip --
% ./run-mozilla.sh ./urltest
MOZILLA_FIVE_HOME=.
LD_LIBRARY_PATH=.:./plugins:/usr/local/staden/lib/solaris-binaries:/usr/local/lib:/usr/local/rvplayer5.0:/usr/local/arb/lib
LIBRARY_PATH=.:./components
SHLIB_PATH=.
LIBPATH=.
ADDON_PATH=.
MOZ_PROGRAM=./urltest
MOZ_TOOLKIT=
moz_debug=0
moz_debugger=
urltest [-std] [-all] [-file <filename>] <URL> [-abs <relative>]
-std : Generate results using nsStdURL.
-file : Read URLs from file.
-all : Run all standard tests. Ignores <URL> then.
-abs : Make an absolute URL from the base (<URI>) and the
relative path specified. Can be used with -all. Implies -std
<URL> : The string representing the URL.
% ./run-mozilla.sh ./urltest http://puck.informatik.med.uni-giessen.de/
MOZILLA_FIVE_HOME=.
LD_LIBRARY_PATH=.:./plugins:/usr/local/staden/lib/solaris-binaries:/usr/local/lib:/usr/local/rvplayer5.0:/usr/local/arb/lib
LIBRARY_PATH=.:./components
SHLIB_PATH=.
LIBPATH=.
ADDON_PATH=.
MOZ_PROGRAM=./urltest
MOZ_TOOLKIT=
moz_debug=0
moz_debugger=
Type Manifest File:
/home/mozilla/builds/2001-06-10-08-trunk/objdir_ws6_gtk/dist/bin/components/xpti.dat
nsNativeComponentLoader: autoregistering begins.
*** Registering TransformiixModule components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
------------------
http://puck.informatik.med.uni-giessen.de/
http,,puck.informatik.med.uni-giessen.de,-1,,/
1[60998]: ###!!! ASSERTION: nsDOMEvent not thread-safe: 'owningThread ==
NS_CurrentThread()', file
../../../../../src/2001-06-10-08-trunk/mozilla/xpcom/base/nsDebug.cpp, line 528
###!!! ASSERTION: nsDOMEvent not thread-safe: 'owningThread ==
NS_CurrentThread()', file
../../../../../src/2001-06-10-08-trunk/mozilla/xpcom/base/nsDebug.cpp, line 528
1[60998]: ###!!! Break: at file
../../../../../src/2001-06-10-08-trunk/mozilla/xpcom/base/nsDebug.cpp, line 528
###!!! Break: at file
../../../../../src/2001-06-10-08-trunk/mozilla/xpcom/base/nsDebug.cpp, line 528
-- snip --
OK.. "urltest" works - but it does some more things than I would expect:
-- snip --
nsNativeComponentLoader: autoregistering begins.
*** Registering TransformiixModule components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering succeeded
-- snip --
Uhh... what ?!??
Can anyone explain why "urltest" can register TransformiixModule and
"mozilla-bin" does not ?
More infos:
% ./run-mozilla.sh /usr/bin/ldd urltest
MOZILLA_FIVE_HOME=.
LD_LIBRARY_PATH=.:./plugins:/usr/local/staden/lib/solaris-binaries:/usr/local/lib:/usr/local/rvplayer5.0:/usr/local/arb/lib
LIBRARY_PATH=.:./components
SHLIB_PATH=.
LIBPATH=.
ADDON_PATH=.
MOZ_PROGRAM=/usr/bin/ldd
MOZ_TOOLKIT=
moz_debug=0
moz_debugger=
libmozjs.so => ./libmozjs.so
libxpcom.so => ./libxpcom.so
libplds4.so => ./libplds4.so
libplc4.so => ./libplc4.so
libnspr4.so => ./libnspr4.so
libpthread.so.1 => /usr/lib/libpthread.so.1
libdl.so.1 => /usr/lib/libdl.so.1
librt.so.1 => /usr/lib/librt.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libCrun.so.1 => /usr/lib/libCrun.so.1
libm.so.1 => /usr/lib/libm.so.1
libw.so.1 => /usr/lib/libw.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
% ./run-mozilla.sh /usr/bin/ldd mozilla-bin
MOZILLA_FIVE_HOME=.
LD_LIBRARY_PATH=.:./plugins:/usr/local/staden/lib/solaris-binaries:/usr/local/lib:/usr/local/rvplayer5.0:/usr/local/arb/lib
LIBRARY_PATH=.:./components
SHLIB_PATH=.
LIBPATH=.
ADDON_PATH=.
MOZ_PROGRAM=/usr/bin/ldd
MOZ_TOOLKIT=
moz_debug=0
moz_debugger=
libgkgfx.so => ./libgkgfx.so
libxpcom.so => ./libxpcom.so
libmozjs.so => ./libmozjs.so
libjsj.so => ./libjsj.so
libplds4.so => ./libplds4.so
libplc4.so => ./libplc4.so
libnspr4.so => ./libnspr4.so
libpthread.so.1 => /usr/lib/libpthread.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libgtk-1.2.so.0 => /usr/local/lib/libgtk-1.2.so.0
libgdk-1.2.so.0 => /usr/local/lib/libgdk-1.2.so.0
libgmodule-1.2.so.0 => /usr/local/lib/libgmodule-1.2.so.0
libglib-1.2.so.0 => /usr/local/lib/libglib-1.2.so.0
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libm.so.1 => /usr/lib/libm.so.1
librt.so.1 => /usr/lib/librt.so.1
libCrun.so.1 => /usr/lib/libCrun.so.1
libw.so.1 => /usr/lib/libw.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libaio.so.1 => /usr/lib/libaio.so.1
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
mozilla-bin build and link lines:
-- snip --
2001-06-10-08-trunk/objdir_ws6_gtk/xpfe/bootstrap% gmake
Creating .deps
nsAppRunner.cpp
Building deps for
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/nsAppRunner.cpp
/opt/SUNWspro/bin/CC -o nsAppRunner.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\"
-DMOZ_REFLOW_PERF -DMOZ_REFLOW_PERF_DSP -DOJI -I../../dist/include
-I../../dist/include
-I/home/mozilla/builds/2001-06-10-08-trunk/objdir_ws6_gtk/dist/include/nspr
-I/usr/openwin/include -KPIC -I/usr/openwin/include -I/usr/include
-I/usr/local/include -mt -O -DDEBUG -DDEBUG_mozilla -DTRACING -g
-DWIDGET_DLL=\"libwidget_gtk.so\" -DGFXWIN_DLL=\"libgfx_gtk.so\"
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include
-I/usr/openwin/include -DMOZILLA_CLIENT -DBROKEN_QSORT=1
-DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DMOZ_WIDGET_GTK=1
-DMOZ_ENABLE_XREMOTE=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DMOZ_X11=1
-DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1
-DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1
-DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_FILIO_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_SYS_STATVFS_H=1
-DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_LIBM=1
-DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBPOSIX4=1 -D_REENTRANT=1
-DHAVE_RANDOM=1 -DHAVE_QSORT=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1
-DHAVE_SNPRINTF=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STATVFS=1 -DHAVE_MEMMOVE=1
-DHAVE_USLEEP=1 -DHAVE_RINT=1 -DHAVE_NL_LANGINFO=1 -DHAVE_GETTIMEOFDAY=1
-DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_DEV_ZERO=1 -DHAVE_IOS_BINARY=1 -DHAVE_OSTREAM=1
-DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_SPECIALIZATION=1
-DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1
-DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1
-DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1
-DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1
-DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1
-DHAVE_I18N_LC_MESSAGES=1 -DMOZ_LOGGING=1 -DMOZ_MAIL_NEWS=1
-DMOZ_EDITOR_API_LOG=1 -DMOZ_ENDER_LITE=1 -DNS_MT_SUPPORTED=1 -DIBMBIDI=1
-DDETECT_WEBSHELL_LEAKS=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1
-DINCLUDE_XUL=1 -DMOZ_MATHML=1 -DMOZ_SVG=1 -DMOZ_XSL=1 -DMOZ_NEW_CACHE=1
-DUSE_IMG2=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1
-DHAVE_MOVEMAIL=1 -DJS_THREADSAFE=1
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/nsAppRunner.cpp
"../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/nsAppRunner.cpp",
line 152: Warning: String literal converted to char* in initialization.
"../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/nsAppRunner.cpp",
line 884: Warning: String literal converted to char* in initialization.
2 Warning(s) detected.
nsSetupRegistry.cpp
Building deps for
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/nsSetupRegistry.cpp
/opt/SUNWspro/bin/CC -o nsSetupRegistry.o -c -DOSTYPE=\"SunOS5\"
-DOSARCH=\"SunOS\" -DMOZ_REFLOW_PERF -DMOZ_REFLOW_PERF_DSP -DOJI
-I../../dist/include -I../../dist/include
-I/home/mozilla/builds/2001-06-10-08-trunk/objdir_ws6_gtk/dist/include/nspr
-I/usr/openwin/include -KPIC -I/usr/openwin/include -I/usr/include
-I/usr/local/include -mt -O -DDEBUG -DDEBUG_mozilla -DTRACING -g
-DWIDGET_DLL=\"libwidget_gtk.so\" -DGFXWIN_DLL=\"libgfx_gtk.so\"
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include
-I/usr/openwin/include -DMOZILLA_CLIENT -DBROKEN_QSORT=1
-DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DMOZ_WIDGET_GTK=1
-DMOZ_ENABLE_XREMOTE=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DMOZ_X11=1
-DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1
-DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1
-DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_FILIO_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_SYS_STATVFS_H=1
-DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_LIBM=1
-DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBPOSIX4=1 -D_REENTRANT=1
-DHAVE_RANDOM=1 -DHAVE_QSORT=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1
-DHAVE_SNPRINTF=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STATVFS=1 -DHAVE_MEMMOVE=1
-DHAVE_USLEEP=1 -DHAVE_RINT=1 -DHAVE_NL_LANGINFO=1 -DHAVE_GETTIMEOFDAY=1
-DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_DEV_ZERO=1 -DHAVE_IOS_BINARY=1 -DHAVE_OSTREAM=1
-DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_SPECIALIZATION=1
-DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1
-DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1
-DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1
-DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1
-DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1
-DHAVE_I18N_LC_MESSAGES=1 -DMOZ_LOGGING=1 -DMOZ_MAIL_NEWS=1
-DMOZ_EDITOR_API_LOG=1 -DMOZ_ENDER_LITE=1 -DNS_MT_SUPPORTED=1 -DIBMBIDI=1
-DDETECT_WEBSHELL_LEAKS=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1
-DINCLUDE_XUL=1 -DMOZ_MATHML=1 -DMOZ_SVG=1 -DMOZ_XSL=1 -DMOZ_NEW_CACHE=1
-DUSE_IMG2=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1
-DHAVE_MOVEMAIL=1 -DJS_THREADSAFE=1
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/nsSetupRegistry.cpp
nsWindowCreator.cpp
Building deps for
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/nsWindowCreator.cpp
/opt/SUNWspro/bin/CC -o nsWindowCreator.o -c -DOSTYPE=\"SunOS5\"
-DOSARCH=\"SunOS\" -DMOZ_REFLOW_PERF -DMOZ_REFLOW_PERF_DSP -DOJI
-I../../dist/include -I../../dist/include
-I/home/mozilla/builds/2001-06-10-08-trunk/objdir_ws6_gtk/dist/include/nspr
-I/usr/openwin/include -KPIC -I/usr/openwin/include -I/usr/include
-I/usr/local/include -mt -O -DDEBUG -DDEBUG_mozilla -DTRACING -g
-DWIDGET_DLL=\"libwidget_gtk.so\" -DGFXWIN_DLL=\"libgfx_gtk.so\"
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include
-I/usr/openwin/include -DMOZILLA_CLIENT -DBROKEN_QSORT=1
-DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DMOZ_WIDGET_GTK=1
-DMOZ_ENABLE_XREMOTE=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DMOZ_X11=1
-DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1
-DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1
-DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_FILIO_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_SYS_STATVFS_H=1
-DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_LIBM=1
-DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBPOSIX4=1 -D_REENTRANT=1
-DHAVE_RANDOM=1 -DHAVE_QSORT=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1
-DHAVE_SNPRINTF=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STATVFS=1 -DHAVE_MEMMOVE=1
-DHAVE_USLEEP=1 -DHAVE_RINT=1 -DHAVE_NL_LANGINFO=1 -DHAVE_GETTIMEOFDAY=1
-DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_DEV_ZERO=1 -DHAVE_IOS_BINARY=1 -DHAVE_OSTREAM=1
-DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_SPECIALIZATION=1
-DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1
-DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1
-DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1
-DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1
-DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1
-DHAVE_I18N_LC_MESSAGES=1 -DMOZ_LOGGING=1 -DMOZ_MAIL_NEWS=1
-DMOZ_EDITOR_API_LOG=1 -DMOZ_ENDER_LITE=1 -DNS_MT_SUPPORTED=1 -DIBMBIDI=1
-DDETECT_WEBSHELL_LEAKS=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1
-DINCLUDE_XUL=1 -DMOZ_MATHML=1 -DMOZ_SVG=1 -DMOZ_XSL=1 -DMOZ_NEW_CACHE=1
-DUSE_IMG2=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1
-DHAVE_MOVEMAIL=1 -DJS_THREADSAFE=1
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/nsWindowCreator.cpp
nsSigHandlers.cpp
Building deps for
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/nsSigHandlers.cpp
/opt/SUNWspro/bin/CC -o nsSigHandlers.o -c -DOSTYPE=\"SunOS5\"
-DOSARCH=\"SunOS\" -DMOZ_REFLOW_PERF -DMOZ_REFLOW_PERF_DSP -DOJI
-I../../dist/include -I../../dist/include
-I/home/mozilla/builds/2001-06-10-08-trunk/objdir_ws6_gtk/dist/include/nspr
-I/usr/openwin/include -KPIC -I/usr/openwin/include -I/usr/include
-I/usr/local/include -mt -O -DDEBUG -DDEBUG_mozilla -DTRACING -g
-DWIDGET_DLL=\"libwidget_gtk.so\" -DGFXWIN_DLL=\"libgfx_gtk.so\"
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include
-I/usr/openwin/include -DMOZILLA_CLIENT -DBROKEN_QSORT=1
-DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DMOZ_WIDGET_GTK=1
-DMOZ_ENABLE_XREMOTE=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DMOZ_X11=1
-DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1
-DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1
-DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_FILIO_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_SYS_STATVFS_H=1
-DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_LIBM=1
-DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBPOSIX4=1 -D_REENTRANT=1
-DHAVE_RANDOM=1 -DHAVE_QSORT=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1
-DHAVE_SNPRINTF=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STATVFS=1 -DHAVE_MEMMOVE=1
-DHAVE_USLEEP=1 -DHAVE_RINT=1 -DHAVE_NL_LANGINFO=1 -DHAVE_GETTIMEOFDAY=1
-DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_DEV_ZERO=1 -DHAVE_IOS_BINARY=1 -DHAVE_OSTREAM=1
-DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_SPECIALIZATION=1
-DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1
-DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1
-DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1
-DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1
-DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1
-DHAVE_I18N_LC_MESSAGES=1 -DMOZ_LOGGING=1 -DMOZ_MAIL_NEWS=1
-DMOZ_EDITOR_API_LOG=1 -DMOZ_ENDER_LITE=1 -DNS_MT_SUPPORTED=1 -DIBMBIDI=1
-DDETECT_WEBSHELL_LEAKS=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1
-DINCLUDE_XUL=1 -DMOZ_MATHML=1 -DMOZ_SVG=1 -DMOZ_XSL=1 -DMOZ_NEW_CACHE=1
-DUSE_IMG2=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1
-DHAVE_MOVEMAIL=1 -DJS_THREADSAFE=1
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/nsSigHandlers.cpp
showOSAlert.cpp
Building deps for
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/showOSAlert.cpp
/opt/SUNWspro/bin/CC -o showOSAlert.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\"
-DMOZ_REFLOW_PERF -DMOZ_REFLOW_PERF_DSP -DOJI -I../../dist/include
-I../../dist/include
-I/home/mozilla/builds/2001-06-10-08-trunk/objdir_ws6_gtk/dist/include/nspr
-I/usr/openwin/include -KPIC -I/usr/openwin/include -I/usr/include
-I/usr/local/include -mt -O -DDEBUG -DDEBUG_mozilla -DTRACING -g
-DWIDGET_DLL=\"libwidget_gtk.so\" -DGFXWIN_DLL=\"libgfx_gtk.so\"
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include
-I/usr/openwin/include -DMOZILLA_CLIENT -DBROKEN_QSORT=1
-DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DMOZ_WIDGET_GTK=1
-DMOZ_ENABLE_XREMOTE=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DMOZ_X11=1
-DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1
-DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1
-DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_FILIO_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_SYS_STATVFS_H=1
-DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_LIBM=1
-DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBPOSIX4=1 -D_REENTRANT=1
-DHAVE_RANDOM=1 -DHAVE_QSORT=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1
-DHAVE_SNPRINTF=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STATVFS=1 -DHAVE_MEMMOVE=1
-DHAVE_USLEEP=1 -DHAVE_RINT=1 -DHAVE_NL_LANGINFO=1 -DHAVE_GETTIMEOFDAY=1
-DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_DEV_ZERO=1 -DHAVE_IOS_BINARY=1 -DHAVE_OSTREAM=1
-DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_SPECIALIZATION=1
-DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1
-DHAVE_CPP_PARTIAL_SPECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1
-DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_NAMESPACE_STD=1
-DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1
-DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1
-DHAVE_I18N_LC_MESSAGES=1 -DMOZ_LOGGING=1 -DMOZ_MAIL_NEWS=1
-DMOZ_EDITOR_API_LOG=1 -DMOZ_ENDER_LITE=1 -DNS_MT_SUPPORTED=1 -DIBMBIDI=1
-DDETECT_WEBSHELL_LEAKS=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1
-DINCLUDE_XUL=1 -DMOZ_MATHML=1 -DMOZ_SVG=1 -DMOZ_XSL=1 -DMOZ_NEW_CACHE=1
-DUSE_IMG2=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1
-DHAVE_MOVEMAIL=1 -DJS_THREADSAFE=1
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/showOSAlert.cpp
"../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/showOSAlert.cpp",
line 100: Warning: String literal converted to char* in assignment.
"../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/showOSAlert.cpp",
line 102: Warning: String literal converted to char* in assignment.
"../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/showOSAlert.cpp",
line 174: Warning: String literal converted to char* in formal argument
aOKBtnText in call to NS_gtk_alert(char*, char*, char*).
3 Warning(s) detected.
/opt/SUNWspro/bin/CC -o mozilla-bin -I/usr/openwin/include -I/usr/include
-I/usr/local/include -mt -O -DDEBUG -DDEBUG_mozilla -DTRACING -g
-DWIDGET_DLL=\"libwidget_gtk.so\" -DGFXWIN_DLL=\"libgfx_gtk.so\"
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include
nsAppRunner.o nsSetupRegistry.o nsWindowCreator.o nsSigHandlers.o showOSAlert.o
-xildoff -L../../dist/bin -L../../dist/lib -lgkgfx -lmpfilelocprovider_s
-L../../dist/bin -lxpcom -L../../dist/bin -lmozjs -ljsj
-L/home/mozilla/builds/2001-06-10-08-trunk/objdir_ws6_gtk/dist/lib -lplds4
-lplc4 -lnspr4 -lpthread -ldl -L/usr/local/lib -L/usr/openwin/lib
-R/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl
-lm -lposix4 -lsocket -lCrun -ldl -lm
true mozilla-bin
../../config/nsinstall -R -m 555 mozilla-bin ../../dist/bin
../../config/nsinstall -R
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/mozilla
../../dist/bin
../../config/nsinstall -R
../../../../../src/2001-06-10-08-trunk/mozilla/xpfe/bootstrap/splash.xpm
../../dist/bin
-- snip --
Comment 22•24 years ago
|
||
Hi Roland:
Interesting results.
Can you also send out the output for "nm urltest|grep __1cDstdEcout_" please?
Thanks.
Comment 23•24 years ago
|
||
Margaret Chan:
No problem... :-)
-- snip --
% nm urltest | fgrep "__1cDstdEcout_"
[1547] | 379560| 96|OBJT |GLOB |0 |20 |__1cDstdEcout_
% nm mozilla-bin | fgrep "__1cDstdEcout_"
% nm components/libtransformiix.so | fgrep "__1cDstdEcout_"
[5209] | 0| 0|NOTY |GLOB |0 |UNDEF |__1cDstdEcout_
-- snip --
Comment 24•24 years ago
|
||
More infos (may be usefull - nor not...):
-- snip --
% (for i in * components/* ; do if [ "$(file $i | fgrep ELF)" != "" ] ; then
echo "$i"; nm $i | fgrep "__1cDstdEcout_" ; fi ; done) 2>&1 | tee -a xxx
CvtURL
DocStream
DumpColors
FilesTest
HelloWorld
PrimitiveTest
PropertiesTest
[1427] | 360104| 96|OBJT |GLOB |0 |20 |__1cDstdEcout_
SimpleTypeLib
StringBundleTest
[1202] | 322664| 96|OBJT |GLOB |0 |20 |__1cDstdEcout_
TestAtoms
TestAutoLock
TestCOMPtr
[1537] | 382032| 96|OBJT |GLOB |0 |20 |__1cDstdEcout_
TestCOMPtrEq
TestCRT
TestCSSPropertyLookup
TestCallbacks
TestColorNames
TestCookie
TestDBMAccess
TestFactory
[1204] | 315888| 96|OBJT |GLOB |0 |20 |__1cDstdEcout_
TestFileInput
TestFileInput2
TestFileTransport
TestGtkEmbed
TestGtkEmbedChild
TestGtkEmbedNotebook
TestGtkEmbedSocket
TestHttp
TestID
TestInterfaceInfo
TestLineBreak
[1415] | 360632| 96|OBJT |GLOB |0 |20 |__1cDstdEcout_
TestMCTransport
TestObserverService
[1455] | 370544| 96|OBJT |GLOB |0 |20 |__1cDstdEcout_
TestOutput
TestOverlappedIO
TestPipes
TestProtocols
TestRect
TestRes
TestServMgr
TestSocketIO
TestSocketInput
TestSocketTransport
TestStreamConv
TestTXMgr
TestThreads
TestVoidBTree
TestXMLExtras
TestXPC
TestXPIDLString
TestXPTCInvoke
UnicharSelfTest
[1442] | 367320| 96|OBJT |GLOB |0 |20 |__1cDstdEcout_
escape
gtkEmbed
htmlrobot
libDebugRobot.so
libgkgfx.so
libgtkembedmoz.so
libgtksuperwin.so
libgtkxtbin.so
libjsj.so
libmozjs.so
libmsgbaseutil.so
libnspr4.so
libnullplugin.so
libplc4.so
libplds4.so
libxpcom.so
libxpistub.so
lots
mozilla-bin
mozilla-installer-bin
nsIFileEnumerator
nsIFileTest
nsTestSample
nsinstall
proxytests
rdfcat
rdfpoll
regExport
regchrome
regxpcom
teststream
timebombgen
urltest
[1547] | 379560| 96|OBJT |GLOB |0 |20 |__1cDstdEcout_
viewer
viewer_gtk
xpcshell
xpicleanup
xpidl
xpt_dump
xpt_link
components/libMyService.so
components/libabsyncsvc.so
components/libaccessibility.so
components/libaccessproxy.so
components/libaddrbook.so
components/libappcomps.so
components/libcaps.so
components/libchardet.so
components/libchrome.so
components/libcookie.so
components/libdocshell.so
components/libeditor.so
components/libembedcomponents.so
components/libgfx2.so
components/libgfx_gtk.so
components/libgfxps.so
components/libgfxxprint.so
components/libgkcontent.so
components/libgklayout.so
components/libgkplugin.so
components/libgkview.so
components/libhtmlpars.so
components/libimggif.so
components/libimgjpeg.so
components/libimglib2.so
components/libimgpng.so
components/libimgppm.so
components/libimpText.so
components/libimport.so
components/libinspector.so
components/libjar50.so
components/libjsdom.so
components/libjsloader.so
components/libjsurl.so
components/liblocalmail.so
components/liblwbrk.so
components/libmailnews.so
components/libmime.so
components/libmimeemitter.so
components/libmork.so
components/libmozbrwsr.so
components/libmozfind.so
components/libmozxfer.so
components/libmsgcompose.so
components/libmsgdb.so
components/libmsgimap.so
components/libmsgnews.so
components/libnecko.so
components/libnecko2.so
components/libnkcache.so
components/libnpsimple.so
components/libnsappshell.so
components/libnsgif.so
components/libnsjpg.so
components/libnslocale.so
components/libnsmng.so
components/libnspng.so
components/libnsprefm.so
components/liboji.so
components/libpref.so
components/libprofile.so
components/librdf.so
components/libregviewer.so
components/libsample.so
components/libshistory.so
components/libsmime.so
components/libstrres.so
components/libtestdynamic.so
components/libtimer_gtk.so
components/libtransformiix.so
[5209] | 0| 0|NOTY |GLOB |0 |UNDEF |__1cDstdEcout_
components/libtxmgr.so
components/libtxtsvc.so
components/libuconv.so
components/libucvcn.so
components/libucvibm.so
components/libucvja.so
components/libucvko.so
components/libucvlatin.so
components/libucvmath.so
components/libucvtw.so
components/libucvtw2.so
components/libunicharutil.so
components/liburiloader.so
components/libvcard.so
components/libwallet.so
components/libwalletviewers.so
components/libwebbrwsr.so
components/libwidget_gtk.so
components/libxmlextras.so
components/libxmlterm.so
components/libxpconnect.so
components/libxpctest.so
components/libxpinstall.so
components/libxremote_client.so
-- snip --
Comment 25•24 years ago
|
||
Just a idea: Maybe a small dummy code in mozilla-bin which uses stdout/stderr
may get rid of this issue...
Comments ?
Assignee | ||
Comment 26•24 years ago
|
||
Based upon the evidence, I can only guess that WS links against libiostream when
building executables but not when building shared libs. Rather than adding the
hack to mozilla-bin, I think I'd rather go with "remove the use of iostreams".
We've done it in the past with other modules for various reasons. The hack
would not only need to be applied to mozilla-bin, but viewer-gtk and any other
program that wants to load the transformiix module.
Comment 27•24 years ago
|
||
Hi Chris:
I don't have any objection as to remove the use of iostream, but
out of curiousity, I have put together a test. Below is the test result:-
*************************************************************************
% more test2.C
int func1();
main() {
func1();
}
****************************************************************************
% more lib3.C
#include <iostream.h>
func1() {
cout << "test\n";
return 0;
}
**************************************************************************
% CC -V
CC: Sun WorkShop 6 update 1 C++ 5.2 Patch 109508-03 2001/04/07
% CC -G -o lib3.so lib3.C
% CC -o test2 test2.C -L/tmp -l3
% nm lib3.so|grep __1cDstdEcout_
[46] | 0| 0|NOTY |GLOB |0 |UNDEF |__1cDstdEcout_
% nm test2|grep __1cDstdEcout_
[1225] | 337352| 96|OBJT |GLOB |0 |20 |__1cDstdEcout_
% test2
test
So it does seem that WS does not link against libiostream/libCstd when
building shared libs (lib3.so in this test). However, I would expect to see the
same "referenced symbol not found" error when running test2, but I don't. So
perhaps libiostream is then linked when building test2??
I put in the hack below, and mozilla comes up fine.
% runsocks cvs diff Makefile.in
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mozilla/extensions/transformiix/build/Makefile.in,v
retrieving revision 1.18
diff -r1.18 Makefile.in
142a143,144
> OS_LIBS += -lCstd
>
It is picking up the static library, I believe; so I guess that's why no changes
is needed to mozilla-bin for it to come up??
Anyway, I assume that you are suggesting to take out the cout statement instead,
right?
Margaret
Assignee | ||
Comment 28•24 years ago
|
||
Yes, I'm suggesting to remove the cout statements unless there's a fairly good
reason to keep them. If someone wants to add that hereunto unspoken guideline
to the portability guide, feel free.
If we go with the linking of -lCstd instead, then we'll have to also add some
hack for the final link of the binary for static builds.
Comment 29•24 years ago
|
||
No problem. I'll take out all the cout statement and attach a patch afterward.
Comment 30•24 years ago
|
||
Please comment them out with "// XXX cout" or something, so that we don't lose
our debug stuff. We'll probably convert it to PR_Logging in the future (can't do
that now cause it breaks on Mac :(, different bug). If you want me to do it, let
me know.
Comment 31•24 years ago
|
||
It's probably better for you to do it, then you can put in any comments you
want/need to. Thanks, Margaret
Comment 32•24 years ago
|
||
Comment 33•24 years ago
|
||
Could someone try out this patch to verify that it fixes the errors?
Comment 34•24 years ago
|
||
I would give it a try on my Solaris box. Will post out the result later on.
Reporter | ||
Comment 35•24 years ago
|
||
Reporter | ||
Comment 36•24 years ago
|
||
usually making changes like removing a line to replace it w/ a commented
version of the same line isn't a very good idea. Either removing it or using
#if 0 or an equivalent is usually better. one of the reasons is that // ing a
line messes up cvsblame.
Assignee | ||
Comment 37•24 years ago
|
||
Actually, I wasn't proposing commenting the lines out as they presumably have a
purpose in debug builds (although you can if you want). I thought replacing the
couts with fprintf would be more appropriate.
Comment 38•24 years ago
|
||
Let's not regress xsl:message.
This patchlet uses the console service for message instead of cout for
mozmodule.
Don't have time for a full patch right now.
Axel
Index: XSLTProcessor.cpp
===================================================================
RCS file:
/cvsroot/mozilla/extensions/transformiix/source/xslt/XSLTProcessor.cpp,v
retrieving revision 1.51
diff -u -r1.51 XSLTProcessor.cpp
--- XSLTProcessor.cpp 2001/06/10 16:41:19 1.51
+++ XSLTProcessor.cpp 2001/06/14 08:55:37
@@ -59,6 +59,7 @@
#include "nsIChannel.h"
#include "nsNetCID.h"
#include "nsIDOMClassInfo.h"
+#include "nsIConsoleService.h"
//#include "nslog.h"
#else
#include "printers.h"
@@ -1206,7 +1207,21 @@
delete dfrag;
//-- we should add a MessageObserver class
+ #ifdef TX_EXE
cout << "xsl:message - "<< message << endl;
+ #else
+ nsresult rv;
+ nsCOMPtr<nsIConsoleService> consoleSvc =
+ do_GetService("@mozilla.org/consoleservice;1", &rv);
+ if (NS_FAILED(rv)) {
+ NS_ERROR("xsl:message couldn't get console "
+ "service");
+ }
+ nsAutoString logString(NS_LITERAL_STRING("xsl:message - "));
+ logString.Append(message.getConstNSString());
+ rv = consoleSvc->LogStringMessage(logString.get());
+ NS_ASSERTION(NS_SUCCEEDED(rv), "xsl:message couldn't log");
+ #endif
break;
}
//-- xsl:number
Comment 39•24 years ago
|
||
I have tested out Peter's patch (id# 38242) on Solaris. It works fine.
However, it appears that it's better to use the console service/fprintf for
message instead according to Axel & cls's comments. Peter: Could you revise
your patch to use the console service instead if that's the better way. Thanks,
Margaret
Comment 40•24 years ago
|
||
We would like to get this fixed by 0.9.2. I've heard that the code-freeze date
for 0.9.2 is tomorrow. Peter: Can you help creating a patch which uses the
console service if that's what it would use eventually. If not, then maybe I'll
try to come up with a patch which converts the usage of cout to fprint (just
pick that for simplicity reason).
Comment 41•24 years ago
|
||
Comment 42•24 years ago
|
||
Someone should try it out to make sure it's complete.
Comment 43•24 years ago
|
||
I am going to apply the patch and build it on my Solaris 8 box with Forte6
Update 1. Will post update after the build. Thanks, Peter.
Comment 44•24 years ago
|
||
the patch looks like the right way to fix this, r=me under the assumption that
margeret can successfully build it.
Axel
Comment 45•24 years ago
|
||
I have screwed up with my previous build :-( I am repulling and rebuilding
right now. Hopefully it built fine for me. Tinderbox does not look too good
though.
Comment 46•24 years ago
|
||
Using Peter's patch, I see the following build error:
IALIZATION=1 -DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_CPP_PARTIAL_S
PECIALIZATION=1 -DHAVE_CPP_ACCESS_CHANGING_USING=1 -DHAVE_CPP_AMBIGUITY_RESOLVIN
G_USING=1 -DHAVE_CPP_NAMESPACE_STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAV
E_CPP_NEW_CASTS=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEM
ENTATIONS=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_LOGGING=1 -DMOZ_MAIL_NEWS=1 -DMOZ_ED
ITOR_API_LOG=1 -DMOZ_ENDER_LITE=1 -DNS_MT_SUPPORTED=1 -DIBMBIDI=1 -DMOZ_USER_DIR
=\".mozilla\" -DMOZ_XUL=1 -DINCLUDE_XUL=1 -DMOZ_NEW_CACHE=1 -DUSE_IMG2=1 -DMOZ_D
LL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DHAVE_MOVEMAIL=1 -DJS_THREADSA
FE=1 XSLTProcessor.cpp
"./../xpath/NodeSet.h", line 255: Warning: NodeSet::equals hides the virtual fun
ction TxObject::equals(TxObject*).
"./../base/NamedMap.h", line 189: Warning: NamedMap::equals hides the virtual fu
nction TxObject::equals(TxObject*).
"XSLTProcessor.cpp", line 1213: Error: nsIConsoleService is not defined.
"XSLTProcessor.cpp", line 1213: Error: Template parameter T requires a type argu
ment.
"XSLTProcessor.cpp", line 1221: Error: LogStringMessage is not a member of nsDer
ivedSafe<T>.
"XSLTProcessor.cpp", line 1897: Warning: type hides XSLType::type.
3 Error(s) and 3 Warning(s) detected.
gmake[4]: *** [XSLTProcessor.o] Error 3
gmake[4]: Leaving directory `/export/build/TIP/81161/mozilla/extensions/transfor
miix/source/xslt'
gmake[3]: *** [install] Error
Changing it to this instead:
Index: XSLTProcessor.cpp
===================================================================
RCS file: /cvsroot/mozilla/extensions/transformiix/source/xslt/XSLTProcessor.cpp
,v
retrieving revision 1.52
diff -u -r1.52 XSLTProcessor.cpp
--- XSLTProcessor.cpp 2001/06/15 11:12:17 1.52
+++ XSLTProcessor.cpp 2001/06/19 22:54:21
@@ -1206,7 +1206,10 @@
delete dfrag;
//-- we should add a MessageObserver class
+#if 0
+ // XXX DEBUG OUTPUT
cout << "xsl:message - "<< message << endl;
+#endif
break;
}
//-- xsl:number
@@ -1282,20 +1285,35 @@
ExprResult* exprResult = expr->evaluate(node, ps);
String data("expr debug: ");
expr->toString(data);
+#if 0
+ // XXX DEBUG OUTPUT
cout << data << endl;
+#endif
data.clear();
+#if 0
+ // XXX DEBUG OUTPUT
cout << "result: ";
+#endif
if ( exprResult ) {
switch ( exprResult->getResultType() ) {
case ExprResult::NODESET:
+#if 0
+ // XXX DEBUG OUTPUT
cout << "#NodeSet - ";
+#endif
default:
exprResult->stringValue(data);
+#if 0
+ // XXX DEBUG OUTPUT
cout << data;
+#endif
break;
}
}
+#if 0
+ // XXX DEBUG OUTPUT
cout << endl;
+#endif
delete exprResult;
break;
The build keeps going with this change. If I can bring it up without problem,
would you r= this additional change, Axel? can we get an sr= from somebody?
cls: can you give us sr= ? Do we still need a=? If so, who can give us a=?
Comment 47•24 years ago
|
||
mtchan@eng.sun.com - could you please attach a new all-in-one patch, please ?
I can r= it once my build is "done" (~9 hours left (two builds,
WS6U2EA2+gcc))...
Margaret Chan wrote:
> can we get an sr= from somebody? cls: can you give us sr= ?
> Do we still need a=?
Unfortunately yes...
> If so, who can give us a=
email drivers@mozilla.org, decribe the problem, the solution, the risk and
sacrify two goats... =:-)
Comment 48•24 years ago
|
||
Comment 49•24 years ago
|
||
My build finished. The problem seemed to be gone.
Patch attached per request. Please review my change to XSLTProcessor.cpp.
cls: can you sr= this for me please? Perhaps we can still make it to go in for
0.9.2.
Thanks.
Comment 50•24 years ago
|
||
Patch looks good - except that |#if 0| should be replaced with |#ifdef
REASON_WHY_THIS_IS_COMMENTED_OUT|.
I'll test&&review it when I am back (~9 hours until my builds are ready).
Need some sleep now... :-)
Assignee | ||
Comment 51•24 years ago
|
||
r=cls. Roland's correct that |#if 0| is discouraged but it's not show stopping.
Comment 52•24 years ago
|
||
sr=scc
a=dbaron for trunk checkin (on behalf of drivers)
Comment 54•24 years ago
|
||
Just checked in. Thank you for the quick turnaround for reviews & approvals.
Comment 55•24 years ago
|
||
Comment 56•24 years ago
|
||
Comment 57•24 years ago
|
||
r=me
r=me too
Comment 59•24 years ago
|
||
sr=scc
Comment 61•24 years ago
|
||
fix is checked in.
Axel
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 62•24 years ago
|
||
Transformxii module registration now (=2001-06-21-08-trunk build) works with Sun
Workshop 6 Update 2 EA2 again.
Is there an example URL to test the module ?
Comment 63•24 years ago
|
||
Found example URL.
Works here (both WS6U2EA2+gcc2.95.1)...
Making VERIFIED.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•