Closed
Bug 270337
Opened 20 years ago
Closed 20 years ago
Build (compile) fail on Solaris using Forte compilers due to checkin for bug 261083 (nsInputStreamChannel.cpp, NS_QueryNotificationCallbacks)
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: Mitch, Assigned: darin.moz)
References
Details
Attachments
(1 file)
|
47.95 KB,
application/octet-stream
|
Details |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Build Identifier: It looks like Darin's checkin for bug 261083 on the 15th broke Forte compile builds on Solaris with the following: /share/lang/solaris/6.0u2/SUNWspro/bin/CC -I/share/cprbld/users/scratch/mitch/mozilla/support/include -o nsInputStreamChannel.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/mimetype -I../../../dist/include/uconv -I../../../dist/include/locale -I../../../dist/include/pref -I../../../dist/include/necko -I../../../dist/include -I/share/cprbld/users/scratch/mitch/mozilla/mozilla/dist/include/nspr -KPIC -I/share/cprbld/users/scratch/mitch/mozilla/support/include -xbuiltin=%all -features=tmplife -mt -DNDEBUG -DTRIMMED -O -DMOZILLA_VERSION=\"1.8a5\" -DSOLARIS=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=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_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_STAT64=1 -DHAVE_LSTAT64=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_LANGINFO_CODESET=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DMOZ_WIDGET_GTK=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DMOZ_APP_NAME=\"mozilla\" -DMOZ_ENABLE_COREXFONTS=1 -DMOZ_EXTRA_X11CONVERTERS=1 -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DHAVE_GSSAPI_GSSAPI_H=1 -DHAVE_GSS_C_NT_HOSTBASED_SERVICE=1 -DMOZ_MATHML=1 -DMOZ_XTF=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILESHARING=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZILLA_LOCALE_VERSION=\"1.8a\" -DMOZILLA_REGION_VERSION=\"1.8a\" -DMOZILLA_SKIN_VERSION=\"1.5\" -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT nsInputStreamChannel.cpp "nsInputStreamChannel.cpp", line 298: Error: Could not find a match for NS_QueryNotificationCallbacks(nsCOMPtr<nsIInterfaceRequestor>, nsCOMPtr<nsILoadGroup>, nsCOMPtr<nsIProgressEventSink>). 1 Error(s) detected. gmake[5]: *** [nsInputStreamChannel.o] Error 1 gmake[5]: *** Waiting for unfinished jobs.... gmake[5]: Leaving directory `/share/cprbld/users/scratch/mitch/mozilla/mozilla/netwerk/base/src' gmake[4]: *** [libs] Error 2 gmake[4]: Leaving directory `/share/cprbld/users/scratch/mitch/mozilla/mozilla/netwerk/base' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/share/cprbld/users/scratch/mitch/mozilla/mozilla/netwerk' gmake[2]: *** [tier_9] Error 2 gmake[2]: Leaving directory `/share/cprbld/users/scratch/mitch/mozilla/mozilla' gmake[1]: *** [default] Error 2 gmake[1]: Leaving directory `/share/cprbld/users/scratch/mitch/mozilla/mozilla' gmake: *** [build] Error 2 Reproducible: Always Steps to Reproduce: 1. Try a cvs compile 2. 3. Actual Results: Build failed
| Assignee | ||
Comment 1•20 years ago
|
||
So, the Forte compiler has trouble matching this template:
template <class T> inline void
NS_QueryNotificationCallbacks(nsIInterfaceRequestor *aCallbacks,
nsILoadGroup *aLoadGroup,
nsCOMPtr<T> &aResult)
Hmm... that's unfortunate.
-> meAssignee: nobody → darin
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•20 years ago
|
||
Could the submitter please provide the preprocessed file for nsInputStreamChannel.cpp ? You can obtain a preprocessed file by adding an option "-E" to the compiler command line and redirecting the output. E.g. $ CC ...all other flags... -E > nsInputStreamChannel.i I suspect this problem is already fixed in the later release although it may not have been fixed in the version 6U2.
Comment 4•20 years ago
|
||
This seems to be a bug that's fixed by the latest patch. Please try 111685-20 or later. http://sunsolve.sun.com/search/advsearch.do?collection=PATCH&type=collections&max=50&language=en&queryKey5=111685&toDocument=yes
Updated•20 years ago
|
Product: Browser → Seamonkey
Thanks Seongbae. I'm getting our admin to install the patch on the server. Will update the bug on the outcome.
I've sucessfully compiled with Forte 7.0 compilers. Closing this as INVALID since i believe Seongbae's assumption for the patch fixing the problem will most likely work. However i have no means to test since our BOFH refuses to upgrade the patch to 6.0u2.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Updated•20 years ago
|
Component: Build Config → Networking
Product: Mozilla Application Suite → Core
Summary: Build (compile) fail on Solaris using Forte compilers due to checkin for bug 261083 → Build (compile) fail on Solaris using Forte compilers due to checkin for bug 261083 (nsInputStreamChannel.cpp, NS_QueryNotificationCallbacks)
Comment 7•20 years ago
|
||
*** Bug 271835 has been marked as a duplicate of this bug. ***
Comment 8•20 years ago
|
||
(In reply to comment #6) > Closing this as INVALID since i believe Seongbae's assumption for the patch > fixing the problem will most likely work. However i have no means to test since > our BOFH refuses to upgrade the patch to 6.0u2. I can confirm that applying the patch mentioned in comment #4 solves the problem.
You need to log in
before you can comment on or make changes to this bug.
Description
•