public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/30419]  New: libjava failed to build
@ 2007-01-10  1:21 hjl at lucon dot org
  2007-01-10  1:43 ` [Bug libgcj/30419] " tromey at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-01-10  1:21 UTC (permalink / raw)
  To: java-prs

With gcc version 4.3.0 20070109 (experimental) [trunk revision 120621], I
got


/creating gcj-dbtool
tmp/ccPLaSUv.o: In function `main':
/tmp/ccDIVwvV.i:11: undefined reference to
`gnu::classpath::tools::rmiregistry::Main::class$$'
collect2: ld returned 1 exit status
make[7]: *** [grmiregistry] Error 1
/tmp/ccgLwfwi.o: In function `main':
/tmp/ccCQr9ud.i:11: undefined reference to
`gnu::classpath::tools::appletviewer::Main::class$$'
collect2: ld returned 1 exit status
make[7]: *** [gappletviewer] Error 1
make[7]: Leaving directory
`/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava'
make[6]: *** [all-recursive] Error 1


-- 
           Summary: libjava failed to build
           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: 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=30419


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

* [Bug libgcj/30419] libjava failed to build
  2007-01-10  1:21 [Bug libgcj/30419] New: libjava failed to build hjl at lucon dot org
@ 2007-01-10  1:43 ` tromey at gcc dot gnu dot org
  2007-01-10  2:22 ` hjl at lucon dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-10  1:43 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from tromey at gcc dot gnu dot org  2007-01-10 01:43 -------
How did you configure?
Did you use 'make -j'?
Is there anything else we should know?
There's not enough info in this report to do anything useful, I'm afraid.


-- 


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


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

* [Bug libgcj/30419] libjava failed to build
  2007-01-10  1:21 [Bug libgcj/30419] New: libjava failed to build hjl at lucon dot org
  2007-01-10  1:43 ` [Bug libgcj/30419] " tromey at gcc dot gnu dot org
@ 2007-01-10  2:22 ` hjl at lucon dot org
  2007-01-10  5:12 ` hjl at lucon dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-01-10  2:22 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from hjl at lucon dot org  2007-01-10 02:22 -------
I configured gcc with

                --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld
\
                 \
                --enable-shared \
                --enable-threads=posix \
                --enable-haifa \
                --enable-checking=assert \
                --prefix=/usr/gcc-4.3 \
                --with-local-prefix=/usr/local

I used "make -j4" on 2 x dual core processors.


-- 


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


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

* [Bug libgcj/30419] libjava failed to build
  2007-01-10  1:21 [Bug libgcj/30419] New: libjava failed to build hjl at lucon dot org
  2007-01-10  1:43 ` [Bug libgcj/30419] " tromey at gcc dot gnu dot org
  2007-01-10  2:22 ` hjl at lucon dot org
@ 2007-01-10  5:12 ` hjl at lucon dot org
  2007-01-10 13:31 ` hjl at lucon dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-01-10  5:12 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from hjl at lucon dot org  2007-01-10 05:12 -------
One of failed commands is

/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 -g -O2 -m32 -m32 -o .libs/gappletviewer
--main=gnu.classpath.tools.appletviewer.Main -shared-libgcc 
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libjava/.libs
./.libs/libgcj-tools.so
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libstdc++-v3/src
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs
-L/export/build/gnu/gcc/build-x86_64-linux/./gcc/32 -L/lib/../lib
-L/usr/lib/../lib -L/export/build/gnu/gcc/build-x86_64-linux/./gcc -lgcc_s -lc
-lgcc_s -Wl,--rpath -Wl,/usr/gcc-4.3/lib/../lib

I am not sure how it could work. I also saw
Makefile:450: warning: overriding commands for target `multi-do'
Makefile:383: warning: ignoring old commands for target `multi-do'
Makefile:497: warning: overriding commands for target `multi-clean'
Makefile:430: warning: ignoring old commands for target `multi-clean'
Makefile:450: warning: overriding commands for target `multi-do'
Makefile:383: warning: ignoring old commands for target `multi-do'
Makefile:497: warning: overriding commands for target `multi-clean'
Makefile:430: warning: ignoring old commands for target `multi-clean'
Makefile:612: warning: overriding commands for target `gappletviewer'
Makefile:544: warning: ignoring old commands for target `gappletviewer'
Makefile:615: warning: overriding commands for target `gjar'
Makefile:550: warning: ignoring old commands for target `gjar'
Makefile:618: warning: overriding commands for target `gjarsigner'
Makefile:546: warning: ignoring old commands for target `gjarsigner'
Makefile:621: warning: overriding commands for target `gjavah'
Makefile:566: warning: ignoring old commands for target `gjavah'
Makefile:624: warning: overriding commands for target `gkeytool'
Makefile:548: warning: ignoring old commands for target `gkeytool'
Makefile:627: warning: overriding commands for target `gnative2ascii'
Makefile:552: warning: ignoring old commands for target `gnative2ascii'
Makefile:630: warning: overriding commands for target `gorbd'
Makefile:560: warning: ignoring old commands for target `gorbd'
Makefile:633: warning: overriding commands for target `grmic'
Makefile:564: warning: ignoring old commands for target `grmic'
Makefile:636: warning: overriding commands for target `grmid'
Makefile:562: warning: ignoring old commands for target `grmid'
Makefile:639: warning: overriding commands for target `grmiregistry'
Makefile:556: warning: ignoring old commands for target `grmiregistry'
Makefile:642: warning: overriding commands for target `gserialver'
Makefile:554: warning: ignoring old commands for target `gserialver'
Makefile:645: warning: overriding commands for target `gtnameserv'
Makefile:558: warning: ignoring old commands for target `gtnameserv'
Makefile:612: warning: overriding commands for target `gappletviewer'
Makefile:544: warning: ignoring old commands for target `gappletviewer'
Makefile:615: warning: overriding commands for target `gjar'
Makefile:550: warning: ignoring old commands for target `gjar'
Makefile:618: warning: overriding commands for target `gjarsigner'
Makefile:546: warning: ignoring old commands for target `gjarsigner'
Makefile:621: warning: overriding commands for target `gjavah'
Makefile:566: warning: ignoring old commands for target `gjavah'
Makefile:624: warning: overriding commands for target `gkeytool'
Makefile:548: warning: ignoring old commands for target `gkeytool'
Makefile:627: warning: overriding commands for target `gnative2ascii'
Makefile:552: warning: ignoring old commands for target `gnative2ascii'
Makefile:630: warning: overriding commands for target `gorbd'
Makefile:560: warning: ignoring old commands for target `gorbd'
Makefile:633: warning: overriding commands for target `grmic'
Makefile:564: warning: ignoring old commands for target `grmic'
Makefile:636: warning: overriding commands for target `grmid'
Makefile:562: warning: ignoring old commands for target `grmid'
Makefile:639: warning: overriding commands for target `grmiregistry'
Makefile:556: warning: ignoring old commands for target `grmiregistry'
Makefile:642: warning: overriding commands for target `gserialver'
Makefile:554: warning: ignoring old commands for target `gserialver'
Makefile:645: warning: overriding commands for target `gtnameserv'
Makefile:558: warning: ignoring old commands for target `gtnameserv'

They may be related.


-- 


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


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

* [Bug libgcj/30419] libjava failed to build
  2007-01-10  1:21 [Bug libgcj/30419] New: libjava failed to build hjl at lucon dot org
                   ` (2 preceding siblings ...)
  2007-01-10  5:12 ` hjl at lucon dot org
@ 2007-01-10 13:31 ` hjl at lucon dot org
  2007-01-10 23:55 ` tromey at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-01-10 13:31 UTC (permalink / raw)
  To: java-prs



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

This is a patch I am using. My gcc checkout tree is readonly. I use symlink to
create a writable tree. "cp -pR" doesn't work with symlinks. I have to use
"cp -LR" to dereferene symlinks.


-- 


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


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

* [Bug libgcj/30419] libjava failed to build
  2007-01-10  1:21 [Bug libgcj/30419] New: libjava failed to build hjl at lucon dot org
                   ` (3 preceding siblings ...)
  2007-01-10 13:31 ` hjl at lucon dot org
@ 2007-01-10 23:55 ` tromey at gcc dot gnu dot org
  2007-01-11 18:12 ` hjl at lucon dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-10 23:55 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from tromey at gcc dot gnu dot org  2007-01-10 23:55 -------
Hmm... you make a symlink tree instead of just running
configure from the readonly tree?
I thought we supported readonly trees.

Anyway, is cp -L portable?
that's the only question.


-- 

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=30419


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

* [Bug libgcj/30419] libjava failed to build
  2007-01-10  1:21 [Bug libgcj/30419] New: libjava failed to build hjl at lucon dot org
                   ` (4 preceding siblings ...)
  2007-01-10 23:55 ` tromey at gcc dot gnu dot org
@ 2007-01-11 18:12 ` hjl at lucon dot org
  2007-01-14  4:58 ` [Bug libgcj/30419] [4.3 Regression] " pinskia at gcc dot gnu dot org
  2007-02-11 20:22 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-01-11 18:12 UTC (permalink / raw)
  To: java-prs



------- Comment #6 from hjl at lucon dot org  2007-01-11 18:12 -------
Created an attachment (id=12892)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12892&action=view)
An updated patch

"cp -L" may not be portable. This updated patch tries "cp -LpR" before "cp
-pR".


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12880|0                           |1
        is obsolete|                            |


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


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

* [Bug libgcj/30419] [4.3 Regression] libjava failed to build
  2007-01-10  1:21 [Bug libgcj/30419] New: libjava failed to build hjl at lucon dot org
                   ` (5 preceding siblings ...)
  2007-01-11 18:12 ` hjl at lucon dot org
@ 2007-01-14  4:58 ` pinskia at gcc dot gnu dot org
  2007-02-11 20:22 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-14  4:58 UTC (permalink / raw)
  To: java-prs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
            Summary|libjava failed to build     |[4.3 Regression] libjava
                   |                            |failed to build
   Target Milestone|---                         |4.3.0


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


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

* [Bug libgcj/30419] [4.3 Regression] libjava failed to build
  2007-01-10  1:21 [Bug libgcj/30419] New: libjava failed to build hjl at lucon dot org
                   ` (6 preceding siblings ...)
  2007-01-14  4:58 ` [Bug libgcj/30419] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-02-11 20:22 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-11 20:22 UTC (permalink / raw)
  To: java-prs



------- Comment #7 from pinskia at gcc dot gnu dot org  2007-02-11 20:22 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-02-11 20:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-10  1:21 [Bug libgcj/30419] New: libjava failed to build hjl at lucon dot org
2007-01-10  1:43 ` [Bug libgcj/30419] " tromey at gcc dot gnu dot org
2007-01-10  2:22 ` hjl at lucon dot org
2007-01-10  5:12 ` hjl at lucon dot org
2007-01-10 13:31 ` hjl at lucon dot org
2007-01-10 23:55 ` tromey at gcc dot gnu dot org
2007-01-11 18:12 ` hjl at lucon dot org
2007-01-14  4:58 ` [Bug libgcj/30419] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-02-11 20:22 ` pinskia 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).