public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/32098] New: New libtool doesn't support with Java
@ 2007-05-26 17:38 hjl at lucon dot org
2007-05-26 17:49 ` [Bug java/32098] New libtool doesn't support Java hjl at lucon dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: hjl at lucon dot org @ 2007-05-26 17:38 UTC (permalink / raw)
To: java-prs
The old libtool did
/bin/sh ./libtool --mode=compile
/export/build/gnu/gcc/build-x86_64-linux/gcc/gcj
-B/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava/
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -ffloat-store
-fomit-frame-pointer -fclasspath=
-fbootclasspath=/export/gnu/src/gcc/gcc/libjava/classpath/lib --encoding=UTF-8
-Wno-deprecated -fbootstrap-classes -g -O2 -m32
-fsource-filename=/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava/classpath/lib/classes
-fjni -findirect-dispatch -fno-indirect-classes -c -o
gnu-java-awt-dnd-peer-gtk.lo @gnu-java-awt-dnd-peer-gtk.list
/export/build/gnu/gcc/build-x86_64-linux/gcc/gcj
-B/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava/
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -ffloat-store
-fomit-frame-pointer -fclasspath=
-fbootclasspath=/export/gnu/src/gcc/gcc/libjava/classpath/lib --encoding=UTF-8
-Wno-deprecated -fbootstrap-classes -g -O2 -m32
-fsource-filename=/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava/classpath/lib/classes
-fjni -findirect-dispatch -fno-indirect-classes -c
@gnu-java-awt-dnd-peer-gtk.list -fPIC -o .libs/gnu-java-awt-dnd-peer-gtk.o
/export/build/gnu/gcc/build-x86_64-linux/gcc/gcj
-B/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava/
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -ffloat-store
-fomit-frame-pointer -fclasspath=
-fbootclasspath=/export/gnu/src/gcc/gcc/libjava/classpath/lib --encoding=UTF-8
-Wno-deprecated -fbootstrap-classes -g -O2 -m32
-fsource-filename=/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava/classpath/lib/classes
-fjni -findirect-dispatch -fno-indirect-classes -c
@gnu-java-awt-dnd-peer-gtk.list -o gnu-java-awt-dnd-peer-gtk.o >/dev/null 2>&1
It calls gcj to generate gnu-java-awt-dnd-peer-gtk.o. The new one did
/bin/sh ./libtool --tag=GCJ --mode=compile
/export/build/gnu/gcc-isa/build-x86_64-linux/gcc/gcj
-B/export/build/gnu/gcc-isa/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava/
-B/export/build/gnu/gcc-isa/build-x86_64-linux/gcc/ -ffloat-store
-fomit-frame-pointer -fclasspath=
-fbootclasspath=/export/gnu/src/gcc-isa/gcc/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -m32
-fsource-filename=/export/build/gnu/gcc-isa/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava/classpath/lib/classes
-fjni -findirect-dispatch -fno-indirect-classes -c -o
gnu-java-awt-dnd-peer-gtk.lo @gnu-java-awt-dnd-peer-gtk.list
libtool: compile: /export/build/gnu/gcc-isa/build-x86_64-linux/gcc/gcj
-B/export/build/gnu/gcc-isa/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava/
-B/export/build/gnu/gcc-isa/build-x86_64-linux/gcc/ -ffloat-store
-fomit-frame-pointer -fclasspath=
-fbootclasspath=/export/gnu/src/gcc-isa/gcc/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -m32
-fsource-filename=/export/build/gnu/gcc-isa/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava/classpath/lib/classes
-fjni -findirect-dispatch -fno-indirect-classes -c
@gnu-java-awt-dnd-peer-gtk.list
libtool: compile: mv -f "@gnu-java-awt-dnd-peer-gtk.o"
".libs/gnu-java-awt-dnd-peer-gtk.o"
The problem is the default output for @gnu-java-awt-dnd-peer-gtk.list isn't
@gnu-java-awt-dnd-peer-gtk.o.
--
Summary: New libtool doesn't support with Java
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl at lucon dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/32098] New libtool doesn't support Java
2007-05-26 17:38 [Bug java/32098] New: New libtool doesn't support with Java hjl at lucon dot org
@ 2007-05-26 17:49 ` hjl at lucon dot org
2007-05-26 18:00 ` [Bug java/32098] New libtool doesn't support libjava hjl at lucon dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl at lucon dot org @ 2007-05-26 17:49 UTC (permalink / raw)
To: java-prs
------- Comment #1 from hjl at lucon dot org 2007-05-26 17:49 -------
In libjava/libtool, there are
# ### BEGIN LIBTOOL TAG CONFIG: GCJ
# Is the compiler the GNU compiler?
with_gcc=
# Compiler flag to turn off builtin functions.
no_builtin_flag=" -fno-builtin"
# How to pass a linker flag through the compiler.
wl="-Wl,"
# Additional compiler flags for building library objects.
pic_flag=""
# Compiler flag to prevent dynamic linking.
link_static_flag=""
# Does compiler simultaneously support -c and -o options?
compiler_c_o="no"
# Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=no
..
They won't look right to me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/32098] New libtool doesn't support libjava
2007-05-26 17:38 [Bug java/32098] New: New libtool doesn't support with Java hjl at lucon dot org
2007-05-26 17:49 ` [Bug java/32098] New libtool doesn't support Java hjl at lucon dot org
@ 2007-05-26 18:00 ` hjl at lucon dot org
2007-05-27 17:41 ` hjl at lucon dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl at lucon dot org @ 2007-05-26 18:00 UTC (permalink / raw)
To: java-prs
------- Comment #2 from hjl at lucon dot org 2007-05-26 18:00 -------
The problem is the new libtool supports the normal Java. But it doesn't
support libjava. The difference is when compiling libjava, gcj isn't fully
functional. ecj1, which may be used by gcj, isn't available. gcj will fail
most, if not all, libtool tests.
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|New libtool doesn't support |New libtool doesn't support
|Java |libjava
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/32098] New libtool doesn't support libjava
2007-05-26 17:38 [Bug java/32098] New: New libtool doesn't support with Java hjl at lucon dot org
2007-05-26 17:49 ` [Bug java/32098] New libtool doesn't support Java hjl at lucon dot org
2007-05-26 18:00 ` [Bug java/32098] New libtool doesn't support libjava hjl at lucon dot org
@ 2007-05-27 17:41 ` hjl at lucon dot org
2007-05-29 18:53 ` tromey at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl at lucon dot org @ 2007-05-27 17:41 UTC (permalink / raw)
To: java-prs
------- Comment #3 from hjl at lucon dot org 2007-05-27 17:41 -------
A patch is posted at
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01820.html
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/32098] New libtool doesn't support libjava
2007-05-26 17:38 [Bug java/32098] New: New libtool doesn't support with Java hjl at lucon dot org
` (2 preceding siblings ...)
2007-05-27 17:41 ` hjl at lucon dot org
@ 2007-05-29 18:53 ` tromey at gcc dot gnu dot org
2007-05-30 3:30 ` rob1weld at aol dot com
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-05-29 18:53 UTC (permalink / raw)
To: java-prs
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-05-29 18:53:07
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/32098] New libtool doesn't support libjava
2007-05-26 17:38 [Bug java/32098] New: New libtool doesn't support with Java hjl at lucon dot org
` (3 preceding siblings ...)
2007-05-29 18:53 ` tromey at gcc dot gnu dot org
@ 2007-05-30 3:30 ` rob1weld at aol dot com
2007-05-30 17:48 ` hjl at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rob1weld at aol dot com @ 2007-05-30 3:30 UTC (permalink / raw)
To: java-prs
------- Comment #4 from rob1weld at aol dot com 2007-05-30 03:30 -------
Note to people other than hjl@lucon.org (who is aware of this), see:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32078
After configuring, libtool-1.5.22 's libtool works great when simply copied
into gcc-4_3-build/i686-pc-linux-gnu/libjava; of course it would be proper to
use ltmain.sh and let gcc's configure do the work.
I tried adding libtool-1.5.22 to _all_ of GCC 4.3.0 the _correct_ way but it
breaks in other directories without some fixing. It works fine in the libjava
directory without _any_ "fixing".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/32098] New libtool doesn't support libjava
2007-05-26 17:38 [Bug java/32098] New: New libtool doesn't support with Java hjl at lucon dot org
` (4 preceding siblings ...)
2007-05-30 3:30 ` rob1weld at aol dot com
@ 2007-05-30 17:48 ` hjl at gcc dot gnu dot org
2007-05-30 17:52 ` hjl at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl at gcc dot gnu dot org @ 2007-05-30 17:48 UTC (permalink / raw)
To: java-prs
------- Comment #5 from hjl at gcc dot gnu dot org 2007-05-30 17:48 -------
Subject: Bug 32098
Author: hjl
Date: Wed May 30 17:48:10 2007
New Revision: 125193
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125193
Log:
2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
PR libjava/32098
* libtool.m4 (_LT_LANG_GCJ_CONFIG): Use gcc to test gcj features.
Modified:
trunk/ChangeLog
trunk/libtool.m4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/32098] New libtool doesn't support libjava
2007-05-26 17:38 [Bug java/32098] New: New libtool doesn't support with Java hjl at lucon dot org
` (5 preceding siblings ...)
2007-05-30 17:48 ` hjl at gcc dot gnu dot org
@ 2007-05-30 17:52 ` hjl at gcc dot gnu dot org
2007-05-30 17:54 ` hjl at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl at gcc dot gnu dot org @ 2007-05-30 17:52 UTC (permalink / raw)
To: java-prs
------- Comment #6 from hjl at gcc dot gnu dot org 2007-05-30 17:52 -------
Subject: Bug 32098
Author: hjl
Date: Wed May 30 17:52:05 2007
New Revision: 125194
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125194
Log:
2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
PR libjava/32098
* configure.ac: Add AC_CONFIG_AUX_DIR(../..).
* aclocal.m4: Regenerated.
* configure: Likewise.
* Makefile.in: Likewise.
Modified:
trunk/libjava/classpath/ChangeLog.gcj
trunk/libjava/classpath/Makefile.in
trunk/libjava/classpath/aclocal.m4
trunk/libjava/classpath/configure
trunk/libjava/classpath/configure.ac
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/32098] New libtool doesn't support libjava
2007-05-26 17:38 [Bug java/32098] New: New libtool doesn't support with Java hjl at lucon dot org
` (6 preceding siblings ...)
2007-05-30 17:52 ` hjl at gcc dot gnu dot org
@ 2007-05-30 17:54 ` hjl at gcc dot gnu dot org
2007-05-30 17:58 ` hjl at lucon dot org
2007-05-31 6:40 ` bonzini at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: hjl at gcc dot gnu dot org @ 2007-05-30 17:54 UTC (permalink / raw)
To: java-prs
------- Comment #7 from hjl at gcc dot gnu dot org 2007-05-30 17:54 -------
Subject: Bug 32098
Author: hjl
Date: Wed May 30 17:54:48 2007
New Revision: 125195
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125195
Log:
2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
PR libjava/32098
* configure: Regenerated.
Modified:
trunk/libjava/ChangeLog
trunk/libjava/configure
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/32098] New libtool doesn't support libjava
2007-05-26 17:38 [Bug java/32098] New: New libtool doesn't support with Java hjl at lucon dot org
` (7 preceding siblings ...)
2007-05-30 17:54 ` hjl at gcc dot gnu dot org
@ 2007-05-30 17:58 ` hjl at lucon dot org
2007-05-31 6:40 ` bonzini at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: hjl at lucon dot org @ 2007-05-30 17:58 UTC (permalink / raw)
To: java-prs
------- Comment #8 from hjl at lucon dot org 2007-05-30 17:58 -------
Libjava should build again.
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug java/32098] New libtool doesn't support libjava
2007-05-26 17:38 [Bug java/32098] New: New libtool doesn't support with Java hjl at lucon dot org
` (8 preceding siblings ...)
2007-05-30 17:58 ` hjl at lucon dot org
@ 2007-05-31 6:40 ` bonzini at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2007-05-31 6:40 UTC (permalink / raw)
To: java-prs
------- Comment #9 from bonzini at gnu dot org 2007-05-31 06:40 -------
Subject: Bug 32098
Author: bonzini
Date: Thu May 31 06:40:42 2007
New Revision: 125215
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125215
Log:
2003-05-31 Paolo Bonzini <bonzini@gnu.org>
PR libjava/32098
* libtool.m4: Revert previous change.
* ltgcc.m4: Put it here.
libjava:
2007-05-31 Paolo Bonzini <bonzini@gnu.org>
PR libjava/32098
* configure: Regenerated.
* aclocal.m4: Regenerated.
Added:
trunk/ltgcc.m4
Modified:
trunk/ChangeLog
trunk/libjava/ChangeLog
trunk/libjava/aclocal.m4
trunk/libjava/configure
trunk/libtool.m4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32098
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-05-31 6:40 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-26 17:38 [Bug java/32098] New: New libtool doesn't support with Java hjl at lucon dot org
2007-05-26 17:49 ` [Bug java/32098] New libtool doesn't support Java hjl at lucon dot org
2007-05-26 18:00 ` [Bug java/32098] New libtool doesn't support libjava hjl at lucon dot org
2007-05-27 17:41 ` hjl at lucon dot org
2007-05-29 18:53 ` tromey at gcc dot gnu dot org
2007-05-30 3:30 ` rob1weld at aol dot com
2007-05-30 17:48 ` hjl at gcc dot gnu dot org
2007-05-30 17:52 ` hjl at gcc dot gnu dot org
2007-05-30 17:54 ` hjl at gcc dot gnu dot org
2007-05-30 17:58 ` hjl at lucon dot org
2007-05-31 6:40 ` bonzini 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).