public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/30632]  New: libgcj failed to build for Linux/ia64
@ 2007-01-29 20:05 hjl at lucon dot org
  2007-01-29 20:08 ` [Bug libgcj/30632] " hjl at lucon dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl at lucon dot org @ 2007-01-29 20:05 UTC (permalink / raw)
  To: java-prs

Libgcj in revision 121297 failed to build for Linux/ia64:

/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc: In function 'jvmtiError
_Jv_JVMTI_SuspendThread(jvmtiEnv*, java::lang::Object*)':
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc:159: error: 'class
java::lang::Object' has no member named 'isAlive'
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc:161: error: invalid
conversion from 'java::lang::Object*' to 'java::lang::Thread*'
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc:161: error:   initializing
argument 1 of '_Jv_Thread_t* _Jv_ThreadGetData(java::lang::Thread*)'
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc: In function 'jvmtiError
_Jv_JVMTI_ResumeThread(jvmtiEnv*, java::lang::Object*)':
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc:173: error: 'class
java::lang::Object' has no member named 'isAlive'
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc:175: error: invalid
conversion from 'java::lang::Object*' to 'java::lang::Thread*'
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc:175: error:   initializing
argument 1 of '_Jv_Thread_t* _Jv_ThreadGetData(java::lang::Thread*)'
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc: In function 'jvmtiError
_Jv_JVMTI_InterruptThread(jvmtiEnv*, java::lang::Object*)':
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc:191: error: 'class
java::lang::Object' has no member named 'isAlive'
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc:192: error: 'class
java::lang::Object' has no member named 'interrupt'
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc: In function 'jvmtiError
_Jv_JVMTI_SetEventNotificationMode(jvmtiEnv*, jvmtiEventMode, jvmtiEvent,
java::lang::Object*, ...)':
/net/gnu-13/export/gnu/src/gcc/gcc/libjava/jvmti.cc:1171: error: 'class
java::lang::Object' has no member named 'isAlive'
make[4]: *** [jvmti.lo] Error 1
make[4]: Leaving directory
`/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libjava'

Revision 121290 is OK:

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

This patch

http://gcc.gnu.org/ml/java-patches/2007-q1/msg00217.html

may be the cause.


-- 
           Summary: libgcj failed to build for Linux/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 target triplet: ia64-linux-gnu


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


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

* [Bug libgcj/30632] libgcj failed to build for Linux/ia64
  2007-01-29 20:05 [Bug libgcj/30632] New: libgcj failed to build for Linux/ia64 hjl at lucon dot org
@ 2007-01-29 20:08 ` hjl at lucon dot org
  2007-01-29 20:16 ` tromey at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl at lucon dot org @ 2007-01-29 20:08 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from hjl at lucon dot org  2007-01-29 20:08 -------
Oops. I meant to say this patch

http://gcc.gnu.org/ml/java-patches/2007-q1/msg00237.html

might be the cause.


-- 


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


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

* [Bug libgcj/30632] libgcj failed to build for Linux/ia64
  2007-01-29 20:05 [Bug libgcj/30632] New: libgcj failed to build for Linux/ia64 hjl at lucon dot org
  2007-01-29 20:08 ` [Bug libgcj/30632] " hjl at lucon dot org
@ 2007-01-29 20:16 ` tromey at gcc dot gnu dot org
  2007-01-29 21:00 ` hjl at lucon dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-29 20:16 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2007-01-29 20:16 -------
This is very weird.  I don't see how it can happen...

The definition is:

static jvmtiError JNICALL
_Jv_JVMTI_SuspendThread (MAYBE_UNUSED jvmtiEnv *env, jthread thread)

and afaics jthread is defined in include/jvmti_md.h:

typedef java::lang::Thread *jthread;

Hmm... perhaps this compilation is picking up some *other* jvmti.h?
One that defines jthread as 'jobject'?  Perhaps -E or the .d file would
help here.


-- 

tromey at gcc dot gnu dot org changed:

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


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


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

* [Bug libgcj/30632] libgcj failed to build for Linux/ia64
  2007-01-29 20:05 [Bug libgcj/30632] New: libgcj failed to build for Linux/ia64 hjl at lucon dot org
  2007-01-29 20:08 ` [Bug libgcj/30632] " hjl at lucon dot org
  2007-01-29 20:16 ` tromey at gcc dot gnu dot org
@ 2007-01-29 21:00 ` hjl at lucon dot org
  2007-01-30 19:47 ` tromey at gcc dot gnu dot org
  2007-07-13 13:26 ` hjl at lucon dot org
  4 siblings, 0 replies; 6+ messages in thread
From: hjl at lucon dot org @ 2007-01-29 21:00 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from hjl at lucon dot org  2007-01-29 21:00 -------
I do have an older gcc 4.3 installed and I am doing "make -j8" on an
ia64 machine with 16 pocessors. Is libjava parallel build safe? 


-- 


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


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

* [Bug libgcj/30632] libgcj failed to build for Linux/ia64
  2007-01-29 20:05 [Bug libgcj/30632] New: libgcj failed to build for Linux/ia64 hjl at lucon dot org
                   ` (2 preceding siblings ...)
  2007-01-29 21:00 ` hjl at lucon dot org
@ 2007-01-30 19:47 ` tromey at gcc dot gnu dot org
  2007-07-13 13:26 ` hjl at lucon dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-30 19:47 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from tromey at gcc dot gnu dot org  2007-01-30 19:47 -------
Yes, as far as we know libjava is parallel build safe.
Could you paste the command line for the failing compilation?
And also run it with -E and see what jvmti*.h files are
actually being used?
Perhaps we have a wrong -I or something like that.


-- 


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


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

* [Bug libgcj/30632] libgcj failed to build for Linux/ia64
  2007-01-29 20:05 [Bug libgcj/30632] New: libgcj failed to build for Linux/ia64 hjl at lucon dot org
                   ` (3 preceding siblings ...)
  2007-01-30 19:47 ` tromey at gcc dot gnu dot org
@ 2007-07-13 13:26 ` hjl at lucon dot org
  4 siblings, 0 replies; 6+ messages in thread
From: hjl at lucon dot org @ 2007-07-13 13:26 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from hjl at lucon dot org  2007-07-13 13:26 -------
Seems to work now.


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


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


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

end of thread, other threads:[~2007-07-13 13:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-29 20:05 [Bug libgcj/30632] New: libgcj failed to build for Linux/ia64 hjl at lucon dot org
2007-01-29 20:08 ` [Bug libgcj/30632] " hjl at lucon dot org
2007-01-29 20:16 ` tromey at gcc dot gnu dot org
2007-01-29 21:00 ` hjl at lucon dot org
2007-01-30 19:47 ` tromey at gcc dot gnu dot org
2007-07-13 13:26 ` hjl at lucon 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).