Why is the libjava directory configured with raw_cxx?

Makefile.def:151:target_modules = { module= libjava; raw_cxx=true; };

The problem with this is that it keeps the libtool test for dynamic
linker characteristics from working properly, due to the undefined
reference to __gxx_personality_v0 which is defined in libstdc++.

configure:15385: checking dynamic linker characteristics
configure:15776:  /usr/local/gcc/gcc-20081202/Build/./gcc/xgcc -shared-libgcc 
-B/usr/local/gcc/gcc-20081202/Build/./gcc -nostdinc++ 
-L/usr/local/gcc/gcc-20081202/Build/powerpc64-suse-linux/libstdc++-v3/src 
-L/usr/local/gcc/gcc-20081202/Build/powerpc64-suse-linux/libstdc++-v3/src/.libs 
-B/usr/powerpc64-suse-linux/bin/ -B/usr/powerpc64-suse-linux/lib/ -isystem 
/usr/powerpc64-suse-linux/include -isystem 
/usr/powerpc64-suse-linux/sys-include -o conftest -O2 -g   -D_GNU_SOURCE     
-Wl,-rpath -Wl,/foo conftest.cpp  >&5
/tmp/ccqVzuDO.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
configure:15782: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "libjava"
| #define PACKAGE_TARNAME "libjava"
| #define PACKAGE_VERSION "version-unused"
| #define PACKAGE_STRING "libjava version-unused"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void exit (int) throw ();
| #endif
| #define PACKAGE "libjava"
| #define VERSION "version-unused"
| #define LTDL_SHLIBPATH_VAR "LD_LIBRARY_PATH"
| #define AWT_TOOLKIT ""
| #define LIBGCJ_PREFIX "/usr"
| #define USE_LTDL 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }

Andreas.

-- 
Andreas Schwab, SuSE Labs, sch...@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to