* [Bug middle-end/21070] [4.1 Regression]: java compiler generates wrong code on ia64
2005-04-17 16:33 [Bug java/21070] New: [4.1 Regression]: java compiler generates wrong code on ia64 hjl at lucon dot org
@ 2005-04-17 16:34 ` pinskia at gcc dot gnu dot org
2005-04-17 16:39 ` hjl at lucon dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-17 16:34 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-17 16:34 -------
Are you sure that this is not a linker problem.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|java |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/21070] [4.1 Regression]: java compiler generates wrong code on ia64
2005-04-17 16:33 [Bug java/21070] New: [4.1 Regression]: java compiler generates wrong code on ia64 hjl at lucon dot org
2005-04-17 16:34 ` [Bug middle-end/21070] " pinskia at gcc dot gnu dot org
@ 2005-04-17 16:39 ` hjl at lucon dot org
2005-04-17 18:01 ` hjl at lucon dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: hjl at lucon dot org @ 2005-04-17 16:39 UTC (permalink / raw)
To: java-prs
------- Additional Comments From hjl at lucon dot org 2005-04-17 16:39 -------
I am investigating the ia64 linker. I think the ia64 linker should issue
an error if it can't get it to work at the run time.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/21070] [4.1 Regression]: java compiler generates wrong code on ia64
2005-04-17 16:33 [Bug java/21070] New: [4.1 Regression]: java compiler generates wrong code on ia64 hjl at lucon dot org
2005-04-17 16:34 ` [Bug middle-end/21070] " pinskia at gcc dot gnu dot org
2005-04-17 16:39 ` hjl at lucon dot org
@ 2005-04-17 18:01 ` hjl at lucon dot org
2005-04-17 18:06 ` hjl at lucon dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: hjl at lucon dot org @ 2005-04-17 18:01 UTC (permalink / raw)
To: java-prs
------- Additional Comments From hjl at lucon dot org 2005-04-17 18:01 -------
.L_ZN4java4util7logging6Logger7getNameEv13 is a local alias of
_ZN4java4util7logging6Logger7getNameEv. When
_ZN4java4util7logging6Logger7getNameEv is discarded, I am trying
to figure out what happened to .L_ZN4java4util7logging6Logger7getNameEv13.
My simple testcase indicates linker will issue an error. But gcc
shouldn't use .L_ZN4java4util7logging6Logger7getNameEv13 when
_ZN4java4util7logging6Logger7getNameEv is a link once symbol. It
should use _ZN4java4util7logging6Logger7getNameEv directly.
I think this bug affects all link once targets. It is just that it
shows up on ia64 immediately.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/21070] [4.1 Regression]: java compiler generates wrong code on ia64
2005-04-17 16:33 [Bug java/21070] New: [4.1 Regression]: java compiler generates wrong code on ia64 hjl at lucon dot org
` (2 preceding siblings ...)
2005-04-17 18:01 ` hjl at lucon dot org
@ 2005-04-17 18:06 ` hjl at lucon dot org
2005-04-17 18:10 ` [Bug java/21070] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: hjl at lucon dot org @ 2005-04-17 18:06 UTC (permalink / raw)
To: java-prs
------- Additional Comments From hjl at lucon dot org 2005-04-17 18:06 -------
Ok, linkder did complain:
/usr/local/bin/ld: `.L_ZN4java4util7logging6Logger7getNameEv13' referenced in
section `.data.rel' of ./.libs/libgcj0_convenience.a(Logger.o): defined in
discarded section `.gnu.linkonce.t._ZN4java4util7logging6Logger7getNameEv
[java::util::logging::Logger::getName()]' of ./.libs/libgcj0_convenience.a
(Logger.o)
/usr/local/bin/ld: BFD 2.16.90.0.2 20050414 assertion fail elf64-ia64.c:3371
It is a gcc bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug java/21070] [4.1 Regression]: java compiler generates wrong code on ia64
2005-04-17 16:33 [Bug java/21070] New: [4.1 Regression]: java compiler generates wrong code on ia64 hjl at lucon dot org
` (3 preceding siblings ...)
2005-04-17 18:06 ` hjl at lucon dot org
@ 2005-04-17 18:10 ` pinskia at gcc dot gnu dot org
2005-04-17 19:12 ` hjl at lucon dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-17 18:10 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |java
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug java/21070] [4.1 Regression]: java compiler generates wrong code on ia64
2005-04-17 16:33 [Bug java/21070] New: [4.1 Regression]: java compiler generates wrong code on ia64 hjl at lucon dot org
` (4 preceding siblings ...)
2005-04-17 18:10 ` [Bug java/21070] " pinskia at gcc dot gnu dot org
@ 2005-04-17 19:12 ` hjl at lucon dot org
2005-04-19 20:57 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: hjl at lucon dot org @ 2005-04-17 19:12 UTC (permalink / raw)
To: java-prs
------- Additional Comments From hjl at lucon dot org 2005-04-17 19:12 -------
A patch is posted at
http://gcc.gnu.org/ml/gcc-patches/2005-04/msg01915.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug java/21070] [4.1 Regression]: java compiler generates wrong code on ia64
2005-04-17 16:33 [Bug java/21070] New: [4.1 Regression]: java compiler generates wrong code on ia64 hjl at lucon dot org
` (5 preceding siblings ...)
2005-04-17 19:12 ` hjl at lucon dot org
@ 2005-04-19 20:57 ` pinskia at gcc dot gnu dot org
2005-05-05 14:16 ` schwab at suse dot de
` (3 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-19 20:57 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-19 20:57 -------
*** Bug 21109 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |schwab at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug java/21070] [4.1 Regression]: java compiler generates wrong code on ia64
2005-04-17 16:33 [Bug java/21070] New: [4.1 Regression]: java compiler generates wrong code on ia64 hjl at lucon dot org
` (6 preceding siblings ...)
2005-04-19 20:57 ` pinskia at gcc dot gnu dot org
@ 2005-05-05 14:16 ` schwab at suse dot de
2005-05-06 2:49 ` hjl at lucon dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 14+ messages in thread
From: schwab at suse dot de @ 2005-05-05 14:16 UTC (permalink / raw)
To: java-prs
------- Additional Comments From schwab at suse dot de 2005-05-05 14:14 -------
I'm seeing the same error in some C++-only packages. The smallest example I
could find is jikes
<http://prdownloads.sourceforge.net/jikes/jikes-1.22.tar.bz2>:
g++ -O2 -fmessage-length=0 -Wall -o jikes ast.o body.o bytecode.o case.o
class.o code.o control.o decl.o definite.o depend.o diagnose.o double.o dump.o
error.o expr.o incrmnt.o init.o javaact.o jikes.o jikesapi.o long.o lookup.o
lpginput.o modifier.o op.o option.o parser.o platform.o scanner.o segment.o
set.o stream.o symbol.o system.o tab.o unparse.o unzip.o zip.o
/usr/lib/gcc/ia64-suse-linux/4.0.1/../../../../ia64-suse-linux/bin/ld:
`.gnu.linkonce.t._ZN12ConstantPool9CPInvalidD1Ev' referenced in section
`.gnu.linkonce.ia64unw._ZN12ConstantPool9CPInvalidD1Ev' of class.o: defined in
discarded section
`.gnu.linkonce.t._ZN12ConstantPool9CPInvalidD1Ev[ConstantPool::CPInvalid::~CPInvalid()]'
of class.o
/usr/lib/gcc/ia64-suse-linux/4.0.1/../../../../ia64-suse-linux/bin/ld: final
link failed: Bad value
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug java/21070] [4.1 Regression]: java compiler generates wrong code on ia64
2005-04-17 16:33 [Bug java/21070] New: [4.1 Regression]: java compiler generates wrong code on ia64 hjl at lucon dot org
` (7 preceding siblings ...)
2005-05-05 14:16 ` schwab at suse dot de
@ 2005-05-06 2:49 ` hjl at lucon dot org
2005-05-06 9:33 ` schwab at suse dot de
2005-05-07 20:24 ` hjl at lucon dot org
10 siblings, 0 replies; 14+ messages in thread
From: hjl at lucon dot org @ 2005-05-06 2:49 UTC (permalink / raw)
To: java-prs
------- Additional Comments From hjl at lucon dot org 2005-05-06 02:48 -------
Which binutils are you using? It looks like this problem
http://sourceware.org/ml/binutils/2005-04/msg00011.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug java/21070] [4.1 Regression]: java compiler generates wrong code on ia64
2005-04-17 16:33 [Bug java/21070] New: [4.1 Regression]: java compiler generates wrong code on ia64 hjl at lucon dot org
` (8 preceding siblings ...)
2005-05-06 2:49 ` hjl at lucon dot org
@ 2005-05-06 9:33 ` schwab at suse dot de
2005-05-07 20:24 ` hjl at lucon dot org
10 siblings, 0 replies; 14+ messages in thread
From: schwab at suse dot de @ 2005-05-06 9:33 UTC (permalink / raw)
To: java-prs
------- Additional Comments From schwab at suse dot de 2005-05-06 09:33 -------
I'm using binutils 2.16.90.0.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug java/21070] [4.1 Regression]: java compiler generates wrong code on ia64
2005-04-17 16:33 [Bug java/21070] New: [4.1 Regression]: java compiler generates wrong code on ia64 hjl at lucon dot org
` (9 preceding siblings ...)
2005-05-06 9:33 ` schwab at suse dot de
@ 2005-05-07 20:24 ` hjl at lucon dot org
10 siblings, 0 replies; 14+ messages in thread
From: hjl at lucon dot org @ 2005-05-07 20:24 UTC (permalink / raw)
To: java-prs
------- Additional Comments From hjl at lucon dot org 2005-05-07 20:24 -------
That is a binutils bug:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=940
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070
^ permalink raw reply [flat|nested] 14+ messages in thread