www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/27/17:51:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-50.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_GC
X-Spam-Check-By: sourceware.org
Subject: Re: gcc: stable 4.5 soon?
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
To: cygwin <cygwin AT cygwin DOT com>
In-Reply-To: <1286475634.5420.59.camel@YAAKOV04>
References: <1286475634 DOT 5420 DOT 59 DOT camel AT YAAKOV04>
Date: Wed, 27 Oct 2010 16:51:39 -0500
Message-ID: <1288216299.4852.303.camel@YAAKOV04>
Mime-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--=-e+F5Tn3H/PCys/UWtHlY
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

On Thu, 2010-10-07 at 13:20 -0500, Yaakov (Cygwin/X) wrote:
> Dave,
> 
> I have been using a gcc-4.5.1 built with your 4.5.0 patchset for some
> time.  Besides the issues I noted back in August[1], I have been pleased
> with its performance.  Any chance we can get a stable 4.5.1 soon with at
> least the easier issues noted therein fixed?
> 
> [1] http://cygwin.com/ml/cygwin/2010-08/msg00412.html

I finally managed to fix the GCJ tools; what I didn't realize is that
libgcj uses its own NIO code instead of GNU Classpath's.  Patch
attached; this *replaces* classpath-0.98-FIONREAD.patch.

Could we get a timeframe on a stable 4.5.1 including this patch?


Yaakov


--=-e+F5Tn3H/PCys/UWtHlY
Content-Disposition: attachment; filename="gcc45-java-FIONREAD.diff"
Content-Type: text/x-patch; name="gcc45-java-FIONREAD.diff"; charset="UTF-8"
Content-Transfer-Encoding: 7bit

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

--- origsrc/gcc-4.5.1/libjava/gnu/java/nio/channels/natFileChannelPosix.cc	2007-04-02 20:05:50.000000000 -0500
+++ src/gcc-4.5.1/libjava/gnu/java/nio/channels/natFileChannelPosix.cc	2010-10-27 13:39:34.044718100 -0500
@@ -386,7 +386,7 @@ FileChannelImpl::available (void)
 
 #if defined (FIONREAD)
   r = ::ioctl (fd, FIONREAD, &num);
-  if (r == -1 && errno == ENOTTY)
+  if (r == -1 && (errno == ENOTTY || errno == EINVAL))
     {
       // If the ioctl doesn't work, we don't care.
       r = 0;


--=-e+F5Tn3H/PCys/UWtHlY
Content-Type: text/plain; charset=us-ascii

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
--=-e+F5Tn3H/PCys/UWtHlY--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019