public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/24051] New: [4.1 Regression]: libjava failed to configure
@ 2005-09-24 23:39 hjl at lucon dot org
  2005-09-24 23:44 ` [Bug libgcj/24051] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2005-09-24 23:39 UTC (permalink / raw)
  To: java-prs

This patch

http://gcc.gnu.org/ml/gcc-cvs/2005-09/msg00882.html

I got

configure:2432: checking for C++ compiler default output file name
configure:2435:  /export/build/gnu/gcc/build-x86_64-linux/./gcc/xgcc
-shared-libgcc -B/export/build/gnu/gcc/build-x86_64-linux/./gcc -nostdinc++
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/gcc-4.1/x86_64-unknown-linux-gnu/bin/
-B/usr/gcc-4.1/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/gcc-4.1/x86_64-unknown-linux-gnu/include -isystem
/usr/gcc-4.1/x86_64-unknown-linux-gnu/sys-include -g -O2  -D_GNU_SOURCE  
conftest.cc  >&5
/tmp/ccmcI7nA.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
configure:2438: $? = 1

when configuring libjava/classpath. The problem is CXX in libjava alone isn't
suitable to compile C++ executables on Linux/x86_64.

-- 
           Summary: [4.1 Regression]: libjava failed to configure
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org,tromey at redhat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24051


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcj/24051] [4.1 Regression]: libjava failed to configure
  2005-09-24 23:39 [Bug libgcj/24051] New: [4.1 Regression]: libjava failed to configure hjl at lucon dot org
@ 2005-09-24 23:44 ` pinskia at gcc dot gnu dot org
  2005-09-24 23:47 ` hjl at lucon dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-24 23:44 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-24 23:44 -------
Commenting out AC_PROG_CXX should work.  It was something which was reverted in the import.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24051


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcj/24051] [4.1 Regression]: libjava failed to configure
  2005-09-24 23:39 [Bug libgcj/24051] New: [4.1 Regression]: libjava failed to configure hjl at lucon dot org
  2005-09-24 23:44 ` [Bug libgcj/24051] " pinskia at gcc dot gnu dot org
@ 2005-09-24 23:47 ` hjl at lucon dot org
  2005-09-25 21:10 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2005-09-24 23:47 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From hjl at lucon dot org  2005-09-24 23:47 -------
Shouldn't it be re-reverted?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24051


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcj/24051] [4.1 Regression]: libjava failed to configure
  2005-09-24 23:39 [Bug libgcj/24051] New: [4.1 Regression]: libjava failed to configure hjl at lucon dot org
  2005-09-24 23:44 ` [Bug libgcj/24051] " pinskia at gcc dot gnu dot org
  2005-09-24 23:47 ` hjl at lucon dot org
@ 2005-09-25 21:10 ` pinskia at gcc dot gnu dot org
  2005-09-26 22:37 ` mckinlay at redhat dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-25 21:10 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-25 21:10 -------
Assigning to Tromey via his request.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |tromey at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-25 21:10:23
               date|                            |
   Target Milestone|4.1.0                       |---


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24051


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcj/24051] [4.1 Regression]: libjava failed to configure
  2005-09-24 23:39 [Bug libgcj/24051] New: [4.1 Regression]: libjava failed to configure hjl at lucon dot org
                   ` (2 preceding siblings ...)
  2005-09-25 21:10 ` pinskia at gcc dot gnu dot org
@ 2005-09-26 22:37 ` mckinlay at redhat dot com
  2005-09-28 22:09 ` uweigand at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mckinlay at redhat dot com @ 2005-09-26 22:37 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mckinlay at redhat dot com  2005-09-26 22:36 -------
AC_PROG_CXX is, presumably, needed by classpath in order to build the Qt peers.
Although this is not the default configuration, it means we can't remove
AC_PROG_CXX.

The libjava configure gets around this issue using GCC_NO_EXECUTABLES, which
disables linking of configure tests where possible. One solution is to add
GCC_NO_EXECUTABLES to the classpath configure.

Unfortunatly this introduces a divergance from the upstream configure.ac. We
also need to butcher classpath's AC_CHECK_FUNCs because many of these do not
work with GCC_NO_EXECUTABLES. However, they are probably not needed anyway
because we do not build classpath's JNI code - only the AWT peers. Perhaps the
AC_CHECK_FUNCs can be made conditional so as to reduce divergance from upstream?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24051


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcj/24051] [4.1 Regression]: libjava failed to configure
  2005-09-24 23:39 [Bug libgcj/24051] New: [4.1 Regression]: libjava failed to configure hjl at lucon dot org
                   ` (3 preceding siblings ...)
  2005-09-26 22:37 ` mckinlay at redhat dot com
@ 2005-09-28 22:09 ` uweigand at gcc dot gnu dot org
  2005-09-30 15:41 ` [Bug libgcj/24051] [4.1 Regression] " reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-09-28 22:09 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From uweigand at gcc dot gnu dot org  2005-09-28 22:09 -------
Same problem on s390(x)-ibm-linux.

B.t.w. isn't the real problem that the CXX that comes out of the configure
machinery is simply incorrect?  I.e. it should be something like "xgcc -x c++"
instead of just "xgcc" ...

However, I don't follow the configure machinery enough to understand why this
comes about, sorry.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uweigand at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24051


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcj/24051] [4.1 Regression] libjava failed to configure
  2005-09-24 23:39 [Bug libgcj/24051] New: [4.1 Regression]: libjava failed to configure hjl at lucon dot org
                   ` (4 preceding siblings ...)
  2005-09-28 22:09 ` uweigand at gcc dot gnu dot org
@ 2005-09-30 15:41 ` reichelt at gcc dot gnu dot org
  2005-09-30 20:47 ` cvs-commit at gcc dot gnu dot org
  2005-09-30 20:49 ` tromey at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-09-30 15:41 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
            Summary|[4.1 Regression]: libjava   |[4.1 Regression] libjava
                   |failed to configure         |failed to configure
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24051


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcj/24051] [4.1 Regression] libjava failed to configure
  2005-09-24 23:39 [Bug libgcj/24051] New: [4.1 Regression]: libjava failed to configure hjl at lucon dot org
                   ` (5 preceding siblings ...)
  2005-09-30 15:41 ` [Bug libgcj/24051] [4.1 Regression] " reichelt at gcc dot gnu dot org
@ 2005-09-30 20:47 ` cvs-commit at gcc dot gnu dot org
  2005-09-30 20:49 ` tromey at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-30 20:47 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-30 20:47 -------
Subject: Bug 24051

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tromey@gcc.gnu.org	2005-09-30 20:46:59

Modified files:
	libjava        : ChangeLog Makefile.am Makefile.in configure 
	                 configure.ac 
	libjava/classpath: ChangeLog.gcj Makefile.am Makefile.in 
	                   aclocal.m4 configure configure.ac 
	libjava/classpath/doc: Makefile.in 
	libjava/classpath/doc/api: Makefile.in 
	libjava/classpath/examples: Makefile.in 
	libjava/classpath/external: Makefile.in 
	libjava/classpath/external/sax: Makefile.in 
	libjava/classpath/external/w3c_dom: Makefile.in 
	libjava/classpath/include: Makefile.in 
	libjava/classpath/lib: Makefile.in 
	libjava/classpath/native: Makefile.in 
	libjava/classpath/native/fdlibm: Makefile.in 
	libjava/classpath/native/jawt: Makefile.in 
	libjava/classpath/native/jni: Makefile.in 
	libjava/classpath/native/jni/classpath: Makefile.in 
	libjava/classpath/native/jni/gtk-peer: Makefile.in 
	libjava/classpath/native/jni/java-io: Makefile.in 
	libjava/classpath/native/jni/java-lang: Makefile.in 
	libjava/classpath/native/jni/java-net: Makefile.in 
	libjava/classpath/native/jni/java-nio: Makefile.in 
	libjava/classpath/native/jni/java-util: Makefile.in 
	libjava/classpath/native/jni/qt-peer: Makefile.in 
	libjava/classpath/native/jni/xmlj: Makefile.in 
	libjava/classpath/native/target: Makefile.in 
	libjava/classpath/native/target/Linux: Makefile.in 
	libjava/classpath/native/target/generic: Makefile.in 
	libjava/classpath/resource: Makefile.in 
	libjava/classpath/scripts: Makefile.in 

Log message:
	libjava:
	PR libgcj/24051:
	* Makefile.in: Rebuilt.
	* Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
	requested.
	(lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
	(lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
	(lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
	(lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
	(lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
	* configure: Rebuilt.
	* configure.ac: Pass --enable-qt-peers when qt is requested.
	libjava/classpath:
	PR libgcj/24051:
	* Makefile.in: Rebuilt.
	* Makefile.am (ACLOCAL_AMFLAGS): Added -I ../../config
	* configure: Rebuilt.
	* configure.ac: Use GCC_NO_EXECUTABLES

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3750&r2=1.3751
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/Makefile.am.diff?cvsroot=gcc&r1=1.501&r2=1.502
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/Makefile.in.diff?cvsroot=gcc&r1=1.538&r2=1.539
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.diff?cvsroot=gcc&r1=1.282&r2=1.283
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.ac.diff?cvsroot=gcc&r1=1.43&r2=1.44
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/ChangeLog.gcj.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/Makefile.am.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/Makefile.in.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/aclocal.m4.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/configure.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/configure.ac.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/doc/Makefile.in.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/doc/api/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/examples/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/external/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/external/sax/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/external/w3c_dom/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/include/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/lib/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/fdlibm/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/jawt/Makefile.in.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/jni/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/jni/classpath/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/jni/gtk-peer/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/jni/java-io/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/jni/java-lang/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/jni/java-net/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/jni/java-nio/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/jni/java-util/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/jni/qt-peer/Makefile.in.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/jni/xmlj/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/target/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/target/Linux/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/native/target/generic/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/resource/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/classpath/scripts/Makefile.in.diff?cvsroot=gcc&r1=1.3&r2=1.4



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24051


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libgcj/24051] [4.1 Regression] libjava failed to configure
  2005-09-24 23:39 [Bug libgcj/24051] New: [4.1 Regression]: libjava failed to configure hjl at lucon dot org
                   ` (6 preceding siblings ...)
  2005-09-30 20:47 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-30 20:49 ` tromey at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-09-30 20:49 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From tromey at gcc dot gnu dot org  2005-09-30 20:49 -------
Fix checked in.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24051


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-09-30 20:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-24 23:39 [Bug libgcj/24051] New: [4.1 Regression]: libjava failed to configure hjl at lucon dot org
2005-09-24 23:44 ` [Bug libgcj/24051] " pinskia at gcc dot gnu dot org
2005-09-24 23:47 ` hjl at lucon dot org
2005-09-25 21:10 ` pinskia at gcc dot gnu dot org
2005-09-26 22:37 ` mckinlay at redhat dot com
2005-09-28 22:09 ` uweigand at gcc dot gnu dot org
2005-09-30 15:41 ` [Bug libgcj/24051] [4.1 Regression] " reichelt at gcc dot gnu dot org
2005-09-30 20:47 ` cvs-commit at gcc dot gnu dot org
2005-09-30 20:49 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).