public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/12388] New: mingw32 target fails to build libjava
@ 2003-09-24 13:08 brawer at dandelis dot ch
  2003-09-24 13:10 ` [Bug libgcj/12388] " brawer at dandelis dot ch
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: brawer at dandelis dot ch @ 2003-09-24 13:08 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: mingw32 target fails to build libjava
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brawer at dandelis dot ch
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i386-pc-mingw32

gcc 20030924 fails to build for the mingw32 target. The 20030902 version worked
ok; the 20030912 version also fails to build.

$ (checkout gcc from cvs on 2003-09-24)

$ ../gcc/configure --prefix=/opt/cross-mingw32-Sep24 --target=mingw32
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --enable-languages=c,c++,java
--disable-nls --disable-debug --enable-threads=win32 --with-gcc --with-gnu-as
--with-gnu-ld --without-newlib --disable-win32-registry --disable-shared
--enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm
--disable-libgcj-debug --enable-interpreter --enable-hash-synchronization

$ make
[...]
gnu/java/net/natPlainSocketImpl.cc:349: error:
`gnu::java::net::PlainSocketImpl$SocketOutputStream' is not a class-name or
namespace-name
[more errors follow, see attached output]


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

* [Bug libgcj/12388] mingw32 target fails to build libjava
  2003-09-24 13:08 [Bug libgcj/12388] New: mingw32 target fails to build libjava brawer at dandelis dot ch
@ 2003-09-24 13:10 ` brawer at dandelis dot ch
  2003-09-25  5:51 ` bryce at mckinlay dot net dot nz
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: brawer at dandelis dot ch @ 2003-09-24 13:10 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From brawer at dandelis dot ch  2003-09-24 09:40 -------
Created an attachment (id=4810)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4810&action=view)
Gzipped output of "make"


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

* [Bug libgcj/12388] mingw32 target fails to build libjava
  2003-09-24 13:08 [Bug libgcj/12388] New: mingw32 target fails to build libjava brawer at dandelis dot ch
  2003-09-24 13:10 ` [Bug libgcj/12388] " brawer at dandelis dot ch
@ 2003-09-25  5:51 ` bryce at mckinlay dot net dot nz
  2003-09-25  6:26 ` cvs-commit at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bryce at mckinlay dot net dot nz @ 2003-09-25  5:51 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bryce at mckinlay dot net dot nz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From bryce at mckinlay dot net dot nz  2003-09-25 03:02 -------
Sorry about that. My changes to natPlainSocketImplWin32.cc missed a couple of includes. I'm 
checking in the fix below, let me know if it works.

Index: natPlainSocketImplWin32.cc
============================================================
=======
RCS file: /cvs/gcc/gcc/libjava/gnu/java/net/natPlainSocketImplWin32.cc,v
retrieving revision 1.3
diff -u -r1.3 natPlainSocketImplWin32.cc
--- natPlainSocketImplWin32.cc  24 Sep 2003 05:38:36 -0000      1.3
+++ natPlainSocketImplWin32.cc  25 Sep 2003 03:00:51 -0000
@@ -14,6 +14,8 @@
 #undef MIN_PRIORITY
 
 #include <gnu/java/net/PlainSocketImpl.h>
+#include <gnu/java/net/PlainSocketImpl$SocketInputStream.h>
+#include <gnu/java/net/PlainSocketImpl$SocketOutputStream.h>
 #include <java/io/IOException.h>
 #include <java/io/InterruptedIOException.h>
 #include <java/net/BindException.h>


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

* [Bug libgcj/12388] mingw32 target fails to build libjava
  2003-09-24 13:08 [Bug libgcj/12388] New: mingw32 target fails to build libjava brawer at dandelis dot ch
  2003-09-24 13:10 ` [Bug libgcj/12388] " brawer at dandelis dot ch
  2003-09-25  5:51 ` bryce at mckinlay dot net dot nz
@ 2003-09-25  6:26 ` cvs-commit at gcc dot gnu dot org
  2003-09-25  8:35 ` brawer at dandelis dot ch
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-25  6:26 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-25 03:04 -------
Subject: Bug 12388

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bryce@gcc.gnu.org	2003-09-25 03:04:41

Modified files:
	libjava        : ChangeLog 
	libjava/gnu/java/net: natPlainSocketImplWin32.cc 

Log message:
	* gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
	PR libgcj/12388.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.2174&r2=1.2175
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/java/net/natPlainSocketImplWin32.cc.diff?cvsroot=gcc&r1=1.3&r2=1.4


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

* [Bug libgcj/12388] mingw32 target fails to build libjava
  2003-09-24 13:08 [Bug libgcj/12388] New: mingw32 target fails to build libjava brawer at dandelis dot ch
                   ` (2 preceding siblings ...)
  2003-09-25  6:26 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-25  8:35 ` brawer at dandelis dot ch
  2003-09-25 11:35 ` bryce at mckinlay dot net dot nz
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: brawer at dandelis dot ch @ 2003-09-25  8:35 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From brawer at dandelis dot ch  2003-09-25 07:02 -------
Thanks for the quick response! With the cvs version of 20030925, which contains
your patch, gcj now produces an internal compiler error:

../../../gcc/libjava/java/io/ObjectInputStream.java: In method
`java.io.ObjectInputStream.readObject()':
../../../gcc/libjava/java/io/ObjectInputStream.java:203: internal compiler
error: in expand_call, at calls.c:3067

See attachment "makeout_2.txt.gz" for details, including configure options.


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

* [Bug libgcj/12388] mingw32 target fails to build libjava
  2003-09-24 13:08 [Bug libgcj/12388] New: mingw32 target fails to build libjava brawer at dandelis dot ch
                   ` (3 preceding siblings ...)
  2003-09-25  8:35 ` brawer at dandelis dot ch
@ 2003-09-25 11:35 ` bryce at mckinlay dot net dot nz
  2003-09-25 12:23 ` brawer at dandelis dot ch
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bryce at mckinlay dot net dot nz @ 2003-09-25 11:35 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bryce at mckinlay dot net dot nz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bryce at mckinlay dot net
                   |                            |dot nz


------- Additional Comments From bryce at mckinlay dot net dot nz  2003-09-25 08:35 -------
I don't know whats causing the latest problem. Do you get this with a linux native build also, or 
just with the mingw target?


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

* [Bug libgcj/12388] mingw32 target fails to build libjava
  2003-09-24 13:08 [Bug libgcj/12388] New: mingw32 target fails to build libjava brawer at dandelis dot ch
                   ` (4 preceding siblings ...)
  2003-09-25 11:35 ` bryce at mckinlay dot net dot nz
@ 2003-09-25 12:23 ` brawer at dandelis dot ch
  2003-09-25 19:43 ` pinskia at gcc dot gnu dot org
  2003-10-17 18:17 ` [Bug libgcj/12388] [3.4 Regression] " pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: brawer at dandelis dot ch @ 2003-09-25 12:23 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From brawer at dandelis dot ch  2003-09-25 09:58 -------
The bug seems specific to mingw32. The same code compiles fine for the
i686-pc-linux-gnu target. See the top of attachment "makeout_2.txt.gz" for how
to reproduce the error on a i686-pc-linux host.


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

* [Bug libgcj/12388] mingw32 target fails to build libjava
  2003-09-24 13:08 [Bug libgcj/12388] New: mingw32 target fails to build libjava brawer at dandelis dot ch
                   ` (5 preceding siblings ...)
  2003-09-25 12:23 ` brawer at dandelis dot ch
@ 2003-09-25 19:43 ` pinskia at gcc dot gnu dot org
  2003-10-17 18:17 ` [Bug libgcj/12388] [3.4 Regression] " pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-25 19:43 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-25 19:27 -------
Closing as the original problem is fixed and the new problem is already filed under bug 12289.


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

* [Bug libgcj/12388] [3.4 Regression] mingw32 target fails to build libjava
  2003-09-24 13:08 [Bug libgcj/12388] New: mingw32 target fails to build libjava brawer at dandelis dot ch
                   ` (6 preceding siblings ...)
  2003-09-25 19:43 ` pinskia at gcc dot gnu dot org
@ 2003-10-17 18:17 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-17 18:17 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|mingw32 target fails to     |[3.4 Regression] mingw32
                   |build libjava               |target fails to build
                   |                            |libjava
   Target Milestone|---                         |3.4


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

end of thread, other threads:[~2003-10-17 18:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-24 13:08 [Bug libgcj/12388] New: mingw32 target fails to build libjava brawer at dandelis dot ch
2003-09-24 13:10 ` [Bug libgcj/12388] " brawer at dandelis dot ch
2003-09-25  5:51 ` bryce at mckinlay dot net dot nz
2003-09-25  6:26 ` cvs-commit at gcc dot gnu dot org
2003-09-25  8:35 ` brawer at dandelis dot ch
2003-09-25 11:35 ` bryce at mckinlay dot net dot nz
2003-09-25 12:23 ` brawer at dandelis dot ch
2003-09-25 19:43 ` pinskia at gcc dot gnu dot org
2003-10-17 18:17 ` [Bug libgcj/12388] [3.4 Regression] " 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).