public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/30424]  New: [4.3 regression] revision 120632 failed to build on ia64
@ 2007-01-10 13:23 hjl at lucon dot org
  2007-01-10 14:55 ` [Bug libgcj/30424] " hjl at lucon dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: hjl at lucon dot org @ 2007-01-10 13:23 UTC (permalink / raw)
  To: java-prs

I got

/net/gnu-13/export/gnu/src/gcc/gcc/libjava/sun/misc/natUnsafe.cc: In member
function 'virtual void sun::misc::Unsafe::putIntVolatile(java::lang::Object*,
jlong, jint)':
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/sun/misc/natUnsafe.cc:159: error:
'write_barrier' was not declared in this scope
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/sun/misc/natUnsafe.cc: In member
function 'virtual void
sun::misc::Unsafe::putObjectVolatile(java::lang::Object*, jlong,
java::lang::Object*)':
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/sun/misc/natUnsafe.cc:175: error:
'write_barrier' was not declared in this scope
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/sun/misc/natUnsafe.cc: In member
function 'virtual jint sun::misc::Unsafe::getIntVolatile(java::lang::Object*,
jlong)':
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/sun/misc/natUnsafe.cc:209: error:
'read_barrier' was not declared in this scope
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/sun/misc/natUnsafe.cc: In member
function 'virtual java::lang::Object*
sun::misc::Unsafe::getObjectVolatile(java::lang::Object*, jlong)':
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/sun/misc/natUnsafe.cc:218: error:
'read_barrier' was not declared in this scope
make[5]: *** [sun/misc/natUnsafe.lo] Error 1


-- 
           Summary: [4.3 regression] revision 120632 failed to build on ia64
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
 GCC build triplet: ia64-unknown-linux-gnu
  GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: ia64-unknown-linux-gnu


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
@ 2007-01-10 14:55 ` hjl at lucon dot org
  2007-01-10 15:37 ` tromey at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl at lucon dot org @ 2007-01-10 14:55 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from hjl at lucon dot org  2007-01-10 14:55 -------
Created an attachment (id=12881)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12881&action=view)
A patch

I am testing this patch.


-- 


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
  2007-01-10 14:55 ` [Bug libgcj/30424] " hjl at lucon dot org
@ 2007-01-10 15:37 ` tromey at gcc dot gnu dot org
  2007-01-10 15:48 ` hjl at lucon dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-10 15:37 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2007-01-10 15:37 -------
*** Bug 30422 has been marked as a duplicate of this bug. ***


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schwab at suse dot de


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
  2007-01-10 14:55 ` [Bug libgcj/30424] " hjl at lucon dot org
  2007-01-10 15:37 ` tromey at gcc dot gnu dot org
@ 2007-01-10 15:48 ` hjl at lucon dot org
  2007-01-10 16:51 ` aph at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl at lucon dot org @ 2007-01-10 15:48 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from hjl at lucon dot org  2007-01-10 15:48 -------
(In reply to comment #1)
> Created an attachment (id=12881)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12881&action=view) [edit]
> A patch
> 
> I am testing this patch.
> 

It fixes the issue:

http://gcc.gnu.org/ml/gcc-testresults/2007-01/msg00440.html


-- 


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
                   ` (2 preceding siblings ...)
  2007-01-10 15:48 ` hjl at lucon dot org
@ 2007-01-10 16:51 ` aph at gcc dot gnu dot org
  2007-01-10 17:51 ` hjl at lucon dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: aph at gcc dot gnu dot org @ 2007-01-10 16:51 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from aph at gcc dot gnu dot org  2007-01-10 16:51 -------
That patch is fine.


-- 

aph at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-01-10 16:51:45
               date|                            |


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
                   ` (3 preceding siblings ...)
  2007-01-10 16:51 ` aph at gcc dot gnu dot org
@ 2007-01-10 17:51 ` hjl at lucon dot org
  2007-01-10 17:51 ` hjl at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl at lucon dot org @ 2007-01-10 17:51 UTC (permalink / raw)
  To: java-prs



------- Comment #6 from hjl at lucon dot org  2007-01-10 17:51 -------
Fixed.


-- 

hjl at lucon dot org changed:

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


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
                   ` (4 preceding siblings ...)
  2007-01-10 17:51 ` hjl at lucon dot org
@ 2007-01-10 17:51 ` hjl at gcc dot gnu dot org
  2007-01-10 18:57 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hjl at gcc dot gnu dot org @ 2007-01-10 17:51 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from hjl at gcc dot gnu dot org  2007-01-10 17:51 -------
Subject: Bug 30424

Author: hjl
Date: Wed Jan 10 17:50:40 2007
New Revision: 120645

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120645
Log:
2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>

        PR libgcj/30424
        * sysdep/ia64/locks.h (read_barrier): New.
        (write_barrier): New.

Modified:
    trunk/libjava/ChangeLog
    trunk/libjava/sysdep/ia64/locks.h


-- 


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
                   ` (5 preceding siblings ...)
  2007-01-10 17:51 ` hjl at gcc dot gnu dot org
@ 2007-01-10 18:57 ` pinskia at gcc dot gnu dot org
  2007-04-10 14:44 ` oliver at linux-kernel dot at
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-10 18:57 UTC (permalink / raw)
  To: java-prs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.2.0
   Target Milestone|---                         |4.3.0


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
                   ` (6 preceding siblings ...)
  2007-01-10 18:57 ` pinskia at gcc dot gnu dot org
@ 2007-04-10 14:44 ` oliver at linux-kernel dot at
  2007-04-10 15:47 ` aph at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: oliver at linux-kernel dot at @ 2007-04-10 14:44 UTC (permalink / raw)
  To: java-prs



------- Comment #7 from oliver at linux-kernel dot at  2007-04-10 15:44 -------
Same problem happens on alpha. read_barrier is not defined in sysdeps/locks.h.

Added read_barrier with a simple __sync_synchronize, but I guess this will not
work in real life... Just for testing... Can please check this someone?

Arg. Version is some Fedora Core(development): gcc-4.1.2-2007040.


-- 

oliver at linux-kernel dot at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver at linux-kernel dot
                   |                            |at


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
                   ` (7 preceding siblings ...)
  2007-04-10 14:44 ` oliver at linux-kernel dot at
@ 2007-04-10 15:47 ` aph at gcc dot gnu dot org
  2007-04-10 16:11 ` oliver at linux-kernel dot at
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: aph at gcc dot gnu dot org @ 2007-04-10 15:47 UTC (permalink / raw)
  To: java-prs



------- Comment #8 from aph at gcc dot gnu dot org  2007-04-10 16:47 -------
I don't have an Alpha to test, but I can see read_barrier() in HEAD:

inline static void
read_barrier()
{
  __asm__ __volatile__("mb" : : : "memory");
}


-- 


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
                   ` (8 preceding siblings ...)
  2007-04-10 15:47 ` aph at gcc dot gnu dot org
@ 2007-04-10 16:11 ` oliver at linux-kernel dot at
  2007-04-10 16:14 ` aph at gcc dot gnu dot org
  2007-04-10 16:23 ` oliver at linux-kernel dot at
  11 siblings, 0 replies; 13+ messages in thread
From: oliver at linux-kernel dot at @ 2007-04-10 16:11 UTC (permalink / raw)
  To: java-prs



------- Comment #9 from oliver at linux-kernel dot at  2007-04-10 17:11 -------
(In reply to comment #8)
> I don't have an Alpha to test, but I can see read_barrier() in HEAD:
> 
> inline static void
> read_barrier()
> {
>   __asm__ __volatile__("mb" : : : "memory");
> }
> 

OK and write_barrier() still is
inline static void
write_barrier()
{
  __asm__ __volatile__("wmb" : : : "memory");
}

Sorry for asking, but I don't want to do the big checkout now :-)


-- 


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
                   ` (9 preceding siblings ...)
  2007-04-10 16:11 ` oliver at linux-kernel dot at
@ 2007-04-10 16:14 ` aph at gcc dot gnu dot org
  2007-04-10 16:23 ` oliver at linux-kernel dot at
  11 siblings, 0 replies; 13+ messages in thread
From: aph at gcc dot gnu dot org @ 2007-04-10 16:14 UTC (permalink / raw)
  To: java-prs



------- Comment #10 from aph at gcc dot gnu dot org  2007-04-10 17:14 -------
I don't know what you're asking.  It's fixed in HEAD, and it's fixed in Fedora
development.


-- 


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


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

* [Bug libgcj/30424] [4.3 regression] revision 120632 failed to build on ia64
  2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
                   ` (10 preceding siblings ...)
  2007-04-10 16:14 ` aph at gcc dot gnu dot org
@ 2007-04-10 16:23 ` oliver at linux-kernel dot at
  11 siblings, 0 replies; 13+ messages in thread
From: oliver at linux-kernel dot at @ 2007-04-10 16:23 UTC (permalink / raw)
  To: java-prs



------- Comment #11 from oliver at linux-kernel dot at  2007-04-10 17:23 -------
Andrew. It's OK. write_barrier() is fine in Fedora Development. But
read_barrier() is missing in libjava/sysdep/alpha/lock.h. Just forget it :-)
Thx!


-- 


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


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

end of thread, other threads:[~2007-04-10 16:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-10 13:23 [Bug libgcj/30424] New: [4.3 regression] revision 120632 failed to build on ia64 hjl at lucon dot org
2007-01-10 14:55 ` [Bug libgcj/30424] " hjl at lucon dot org
2007-01-10 15:37 ` tromey at gcc dot gnu dot org
2007-01-10 15:48 ` hjl at lucon dot org
2007-01-10 16:51 ` aph at gcc dot gnu dot org
2007-01-10 17:51 ` hjl at lucon dot org
2007-01-10 17:51 ` hjl at gcc dot gnu dot org
2007-01-10 18:57 ` pinskia at gcc dot gnu dot org
2007-04-10 14:44 ` oliver at linux-kernel dot at
2007-04-10 15:47 ` aph at gcc dot gnu dot org
2007-04-10 16:11 ` oliver at linux-kernel dot at
2007-04-10 16:14 ` aph at gcc dot gnu dot org
2007-04-10 16:23 ` oliver at linux-kernel dot at

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).