It is no possible to compile lcglue.cpp on on a s390x (IBM zseries) with linux

RESOLVED INCOMPLETE

Status

Core Graveyard
Java: OJI
--
major
RESOLVED INCOMPLETE
13 years ago
5 years ago

People

(Reporter: Dirk Schwartzkopff, Assigned: Alfred Peng)

Tracking

Trunk
Other
Linux

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (compatible; Konqueror/3; Linux)
Build Identifier: mozilla-source-1.8a4.tar.bz2

gmake[3]: Wechsel in das Verzeichnis »/nfstmp/mozilla/modules/oji/src« lcglue.cpp c++ -o lcglue.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DHAVE_DEPENDENT_LIBS  -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/liveconnect -I../../../dist/include/java -I../../../dist/include/js -I../../../dist/include/plugin -I../../../dist/include/caps -I../../../dist/include/pref -I../../../dist/include/jar -I../../../dist/include/necko -I../../../dist/include/dom -I../../../dist/include/widget -I../../../dist/include/xpconnect -I../../../dist/include/windowwatcher -I../../../dist/include/gfx -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/docshell -I../../../dist/include/webbrwsr -I../../../dist/include/intl -I../../../dist/include/locale -I../../../dist/include/oji -I../../../dist/include -I/nfstmp/mozilla/dist/include/nspr     -I. -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/lcglue.pp lcglue.cpp lcglue.cpp: In function `lcjsobject unwrap_java_wrapper_impl(JNIEnv*,    _jobject*)': lcglue.cpp:301: no matching function for call to `nsIJVMPlugin::    UnwrapJavaWrapper(JNIEnv*&, _jobject*&, lcjsobject*)' ../../../dist/include/oji/nsIJVMPlugin.h:120: candidates are: virtual nsresult    nsIJVMPlugin::UnwrapJavaWrapper(JNIEnv*, _jobject*, jint*) <near match> gmake[3]: *** [lcglue.o] Fehler 1 gmake[3]: Verlassen des Verzeichnisses »/nfstmp/mozilla/modules/oji/src« gmake[2]: *** [libs] Fehler 2 gmake[2]: Verlassen des Verzeichnisses »/nfstmp/mozilla/modules/oji« gmake[1]: *** [tier_9] Fehler 2 gmake[1]: Verlassen des Verzeichnisses »/nfstmp/mozilla« make: *** [default] Fehler 2  

Reproducible: Always
Steps to Reproduce:
1.configure 2.make 
Actual Results:  
lcglue.cpp: In function `lcjsobject unwrap_java_wrapper_impl(JNIEnv*,     _jobject*)':  lcglue.cpp:301: no matching function for call to `nsIJVMPlugin::     UnwrapJavaWrapper(JNIEnv*&, _jobject*&, lcjsobject*)'  ../../../dist/include/oji/nsIJVMPlugin.h:120: candidates are: virtual nsresult     nsIJVMPlugin::UnwrapJavaWrapper(JNIEnv*, _jobject*, jint*) <near match>  gmake[3]: *** [lcglue.o] Fehler 1   


/* List of defines generated by configure. Included with preprocessor flag,  * -include, to avoid long list of -D defines on the compile command-line.  * Do not edit.  */  #ifndef _MOZILLA_CONFIG_H_ #define _MOZILLA_CONFIG_H_  #define ACCESSIBILITY 1 #define D_INO d_ino #define FUNCPROTO 15 #define HAVE_64BIT_OS 1 #define HAVE_DIRENT_H 1 #define HAVE_FCHMOD 1 #define HAVE_FLOCKFILE 1 #define HAVE_GETOPT_H 1 #define HAVE_GNU_GET_LIBC_VERSION 1 #define HAVE_GNU_LIBC_VERSION_H 1 #define HAVE_I18N_LC_MESSAGES 1 #define HAVE_INT16_T 1 #define HAVE_INT32_T 1 #define HAVE_INT64_T 1 #define HAVE_LANGINFO_CODESET 1 #define HAVE_LCHOWN 1 #define HAVE_LIBDL 1 #define HAVE_LIBM 1 #define HAVE_LOCALTIME_R 1 #define HAVE_LSTAT64 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMORY_H 1 #define HAVE_NL_TYPES_H 1 #define HAVE_RANDOM 1 #define HAVE_RES_NINIT 1 #define HAVE_RINT 1 #define HAVE_SIGINFO_T 1 #define HAVE_SNPRINTF 1 #define HAVE_STAT64 1 #define HAVE_STRERROR 1 #define HAVE_STRTOK_R 1 #define HAVE_ST_BLKSIZE 1 #define HAVE_SYS_BITYPES_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_UINT 1 #define HAVE_UNAME_DOMAINNAME_FIELD 1 #define HAVE_UNISTD_H 1 #define HAVE_VA_COPY 1 #define HAVE_VA_LIST_AS_ARRAY 1 #define HAVE_X11_XKBLIB_H 1 #define HAVE_XSHM 1 #define HAVE___CXA_DEMANGLE 1 #define IBMBIDI 1 #define JS_THREADSAFE 1 #define MOZILLA_LOCALE_VERSION "1.8a" #define MOZILLA_REGION_VERSION "1.8a" #define MOZILLA_SKIN_VERSION "1.5" #define MOZILLA_VERSION "1.8a4" #define MOZ_APP_NAME "mozilla" #define MOZ_DEFAULT_TOOLKIT "gtk" #define MOZ_DLL_SUFFIX ".so" #define MOZ_ENABLE_COREXFONTS 1 #define MOZ_ENABLE_XREMOTE 1 #define MOZ_EXTRA_X11CONVERTERS 1 #define MOZ_JSLOADER 1 #define MOZ_LOGGING 1 #define MOZ_MATHML 1 #define MOZ_PROFILELOCKING 1 #define MOZ_PROFILESHARING 1 #define MOZ_USER_DIR ".mozilla" #define MOZ_VIEW_SOURCE 1 #define MOZ_WIDGET_GTK 1 #define MOZ_X11 1 #define MOZ_XPINSTALL 1 #define MOZ_XUL 1 #define NS_PRINTING 1 #define NS_PRINT_PREVIEW 1 #define OJI 1 #define STDC_HEADERS 1 #define UNIX_ASYNC_DNS 1 #define VA_COPY va_copy #define XP_UNIX 1 #define _REENTRANT 1  #endif /* _MOZILLA_CONFIG_H_ */
which compiler version are you using?
Assignee: nobody → kyle.yuan
Component: Build Config → Java: OJI
QA Contact: core.build-config
I can't reproduce this on two different Linux versions with
gcc 3.3.4 and gcc 3.2.2
(Reporter)

Comment 3

13 years ago
(In reply to comment #2)
> I can't reproduce this on two different Linux versions with
> gcc 3.3.4 and gcc 3.2.2

I am using gcc 3.2 on SuSE SLES 8 for zSeries 64 bit 
A build with gcc 3.2.2 on SLES8 does work for me.
So maybe a gcc problem?
Do you use any special CFLAGS or anything else?
(Reporter)

Comment 5

13 years ago
I think I should upgrade to gcc 3.2.2
I don't use any CFLAGS. I started just configure and make.

Updated

12 years ago
Assignee: yuanyi21 → pete.zha

Comment 6

12 years ago
mass reassign to Alfred
Assignee: zhayupeng → alfred.peng

Updated

7 years ago
Component: Java: OJI → Java: OJI
Product: Core → Core Graveyard

Comment 7

5 years ago
Mass-closing bugs in the "OJI" component: OJI plugin integration was replaced with npruntime long ago, and these bugs appear to be irrelevant now. If there is in fact a real bug that remains, please file it new in the "Core" product, component "Plug-ins".
Status: UNCONFIRMED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.