delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/08/04:21:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:subject:from:to:date:in-reply-to
:references:content-type:mime-version:content-transfer-encoding;
q=dns; s=default; b=fd30tTPTeieICJkf2zQFo21Qc5xLcba1wwwnRyFX5XV
awy0mRDm7RLzY/GpCYz9Xn+xkO52H6luDCNxCQ8abB0PP1EsateDlN7+XViMWC82
eFwAboxDvrnR3tKc5WaTfFmiw6JYe6+1E6+Z+fX94sWq+7SbekYBrqSaomqAyK1Y
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:subject:from:to:date:in-reply-to
:references:content-type:mime-version:content-transfer-encoding;
s=default; bh=Dq+vUBEiuAqyiyh7PMsHIKSJMOw=; b=eNWbiTiUKn/zQNkxE
tn41uejv8Z09qFSWlrwZ50U1Z1LG7hyHE4k6EDJps9jo1/2PbtK8tcdiZ8+9rQyu
LZbveNeypIm8XLn6ylsnXjdnJKp6CtFjpvdM8FaowZhJBWJvLlGVycZZFkaAzkQZ
Of2SBBkyEnCpI5eSH1av46BHPA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2
X-HELO: mx1.redhat.com
Message-ID: <1433751643.2881.17.camel@cygwin.com>
Subject: 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
In-Reply-To: <BLU437-SMTP4798044DCDEFEF4A68FFF8BCB00@phx.gbl>
References: <BLU437-SMTP4798044DCDEFEF4A68FFF8BCB00 AT phx DOT gbl>
Mime-Version: 1.0
X-IsSubscribed: yes

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.

http://en.wikipedia.org/wiki/Stdarg.h#varargs.h
http://stackoverflow.com/a/24950684/580360

> 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 
> broken.
> 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
fine.

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

--
Yaakov



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

- Raw text -


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