This is the mail archive of the
mailing list for the Cygwin project.
Re: gcc-4.9.2 crashes Xt and gcc-4.8.4 ada build problems
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 08 Jun 2015 03:20:43 -0500
- Subject: Re: gcc-4.9.2 crashes Xt and gcc-4.8.4 ada build problems
- Authentication-results: sourceware.org; auth=none
- References: <BLU437-SMTP4798044DCDEFEF4A68FFF8BCB00 at phx dot gbl>
On Sun, 2015-06-07 at 14:58 -0700, Emil Lambrache wrote:
> After I have allowed the setup to update my cygwin tree, I discovered to
> my dismay
> that the latest gcc 4.9.2 has dropped support for varargs.h.
> With that all my Xt-X11 based cygwin apps were broken as well:
> spice3, ngspice-26, xgraph, but moreover even tcl-tk-8.5 based apps were
> Motif headers were broken as well, because Motif is built on top of Xt-X11.
Incorrect. The Tcl/Tk, Xt, and Motif headers all use <stdarg.h>, and in
fact I just updated Tcl/Tk a few weeks ago with GCC 4.9.
> I suppose eventually XtVaGetValues and XtVaSetValues will be removed
> from the
> X11 distribution and all the Xt-based software out there will be
> re-written, but in the meantime
> I still need a compatible gcc version.
Incorrect. The versions of gcc currently in the distribution work just
> Since the cygwin setup.exe does not allow me to downgrade my gcc from
> 4.9.2 back to 4.8.3,
> I have downloaded the gcc-4.8.4 sources and tried to build it locally.
> I found more bugs with the gcc-4.8.4 build:
Our gcc builds already include patches for these and many other issues.
We do not recommend attempting to build gcc without our patchset.
> I have cygwin version 1.7.17-1
Your system is at least two years out of date. Note that only the
latest builds on cygwin.com are supported. If you are having issues
compiling something, please update ALL packages on your system and try
again. If you still have issues with varargs.h usage, it is the code
that needs to be fixed, not the compiler.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple