public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: [ANNOUNCEMENT] Updated: [experimental] cygwin-1.5.25-7
@ 2007-12-15  9:57 Angelo Graziosi
  2007-12-15 11:22 ` Greg Chicares
  0 siblings, 1 reply; 3+ messages in thread
From: Angelo Graziosi @ 2007-12-15  9:57 UTC (permalink / raw)
  To: cygwin


It seems that the 1.5.25-* versions of Cygwin are built with a
NON-recent-CVS newlib at which are applied a few patches (mainly in math
libs).

Why not using a fresh newlib CVS?

I have rebuild 1.5.25-7 with a fresh newlib CVS (20071215).

To do this I have applied only these patches (realized comparing with
Cygwin snapshot):

assert.cc.patch
--------------------------------------------------------------------------
--- assert.cc.orig	2002-09-19 17:12:48.000000000 +0200
+++ assert.cc	2007-11-04 11:41:36.093750000 +0100
@@ -1,6 +1,6 @@
 /* assert.cc: Handle the assert macro for WIN32.

-   Copyright 1997, 1998, 2000, 2001 Red Hat, Inc.
+   Copyright 1997, 1998, 2000, 2001, 2007 Red Hat, Inc.

 This file is part of Cygwin.

@@ -23,33 +23,42 @@
 extern "C" void
 __assert (const char *file, int line, const char *failedexpr)
 {
+  __assert_func (file, line, NULL, failedexpr);
+}
+
+extern "C" void
+__assert_func (const char *file, int line, const char *func,
+               const char *failedexpr)
+{
   HANDLE h;

   /* If we don't have a console in a Windows program, then bring up a
      message box for the assertion failure.  */

   h = CreateFile ("CONOUT$", GENERIC_WRITE, FILE_SHARE_WRITE,
&sec_none_nih,
-		  OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
+                  OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
   if (h == INVALID_HANDLE_VALUE)
     {
       char *buf;

       buf = (char *) alloca (100 + strlen (failedexpr));
-      __small_sprintf (buf, "Failed assertion\n\t%s\nat line %d of file
%s",
-		failedexpr, line, file);
+      __small_sprintf (buf, "Failed assertion\n\t%s\nat line %d of file
%s%s%s",
+                       failedexpr, line, file,
+                       func ? "\nin function " : "", func ? func : "");
       MessageBox (NULL, buf, NULL, MB_OK | MB_ICONERROR | MB_TASKMODAL);
     }
   else
     {
       CloseHandle (h);
-      small_printf ("assertion \"%s\" failed: file \"%s\", line %d\n",
-		    failedexpr, file, line);
+      small_printf ("assertion \"%s\" failed: file \"%s\", line
%d%s%s\n",
+                    failedexpr, file, line,
+                    func ? ", function: " : "", func ? func : "");
     }

 #ifdef DEBUGGING
   try_to_debug ();
 #endif
-  abort ();	// FIXME: Someday this should work.
+  abort ();     // FIXME: Someday this should work.

   /* NOTREACHED */
 }
--------------------------------------------------------------------------


cygwin.din.patch
--------------------------------------------------------------------------
--- cygwin.din.orig	2006-07-05 18:06:50.000000000 +0200
+++ cygwin.din	2007-11-04 11:54:03.375000000 +0100
@@ -115,6 +115,7 @@
 asprintf_r = _asprintf_r SIGFE
 _asprintf_r SIGFE
 __assert SIGFE
+__assert_func SIGFE
 __assertfail SIGFE
 atan NOSIGFE
 _atan = atan NOSIGFE
--------------------------------------------------------------------------

The result seems to works fine.


In the build log I have found the following error messages that DO NOT
stop the build process:

[1]
checking for gawk... (cached) gawk
checking for .preinit_array/.init_array/.fini_array support... readelf:
Error: Input file 'conftest' is not readable.
no
checking for array aliasing support... yes

[2]
Error: Version info is older than DLL API!



[1] appears also in the 'pure' rebuild of 1.5.25-7, while [2] appears 3
times.

So the question is: What is wrong in the above? What have I missed?



Thanks... and sorry for the noise,

  Angelo.

---
Facesti come quei che va di notte,
che porta il lume dietro e se' non giova,
ma dopo se' fa le persone dotte.

                  DANTE, Purgatorio, xxii 67-69

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: [ANNOUNCEMENT] Updated: [experimental] cygwin-1.5.25-7
  2007-12-15  9:57 [ANNOUNCEMENT] Updated: [experimental] cygwin-1.5.25-7 Angelo Graziosi
@ 2007-12-15 11:22 ` Greg Chicares
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Chicares @ 2007-12-15 11:22 UTC (permalink / raw)
  To: cygwin

On 2007-12-15 09:57Z, Angelo Graziosi wrote:
> It seems that the 1.5.25-* versions of Cygwin are built with a
> NON-recent-CVS newlib at which are applied a few patches (mainly in math
> libs).

http://cygwin.com/ml/cygwin/2007-12/threads.html#00201

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* [ANNOUNCEMENT] Updated: [experimental] cygwin-1.5.25-7
@ 2007-12-14 21:41 Corinna Vinschen
  0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2007-12-14 21:41 UTC (permalink / raw)
  To: cygwin

I've uploaded another test version of the Cygwin DLL and its utilities,
version 1.5.25-7.  It contains all fixes related to what cropped up
since the release of 1.5.25-5 on Sunday.

Changes since test version 1.5.25-6:

- Fix return value of poll().

- Fix file position in append mode for non-Cygwin processes.

- Fix missing definition of struct iovec when including sys/socket.h.

Changes since version 1.5.25-5:

- tzset is now thread safe.

- Fix a problem with spurious memory allocation failure.

- Fix permission settings for directories on non-NTFS file systems.

- Fix NaN and +-inf handling in various math functions.

- Fix a problem with potentially wrong results in tgammaf().

Please test.


To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Save it and run setup, answer the questions, then look for
'cygwin' in the 'Base' category (it should already be selected).  You
will need to use the 'Exp' radio button to get the test version.

If you have questions or comments, please send them to the Cygwin
mailing list.  See http://cygwin.com/lists.html for details.

              *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

Corinna Vinschen
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-15  9:57 [ANNOUNCEMENT] Updated: [experimental] cygwin-1.5.25-7 Angelo Graziosi
2007-12-15 11:22 ` Greg Chicares
  -- strict thread matches above, loose matches on Subject: below --
2007-12-14 21:41 Corinna Vinschen

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