X-Recipient: archive-cygwin@delorie.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:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=XCoGbNJMlZU3Lnn1wj9i6fImQIRNFxaXfZ0W3IwUKsT
	L2eox6BYWOaUGgXgw5LPyWt3LTdKMadHAN+4vMORXz30D3tltg80aPxJBWwxhhlt
	yq0Jn8YKsCkO413Ewk9HYX5x66aDnQNaBCYfrRP4N2ZASTddvXcoN0aouTmnlDzk
	=
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:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=SHsdFinBNO+dS6Yj7+B0E8CKidQ=; b=rs/R0URyQUIWU6Ov+
	4eeE4kFUyeAhDqRoOj3lXNXkJ5erUQTTUIK/R0C0b/VnssUJeSNZDvZ2uuj8h2ds
	HLSv54834HkbBMC4m2SmFlOjBKNp7NtpObIrLGVnrKebmlcQwOAMYIzTJOO9hqjm
	N0aP0d0kA+YO99/qAtWtbOdnNk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <54DF4884.5050200@cornell.edu>
Date: Sat, 14 Feb 2015 08:07:16 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: -pthread in gcc
References: <005201d0405a$d5ec93b0$81c5bb10$%fedin@samsung.com> <54D20B95.1020507@gmail.com> <001801d041e7$369a0a20$a3ce1e60$%fedin@samsung.com> <54D48929.5010904@gmail.com>
In-Reply-To: <54D48929.5010904@gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 2/6/2015 4:28 AM, JonY wrote:
> On 2/6/2015 16:30, Pavel Fedin wrote:
>>   Hello!
>>
>>> use -2 version
>>>
>>> https://cygwin.com/ml/cygwin-announce/2015-02/msg00006.html
>>
>>   I have just checked, i have it installed. I even tried to reinstall it, but
>> the problem is still there:
>
> Confirmed, looks like the original patch no longer works, I'll need to
> find out how to fix this.

Any progress on this issue?  It's preventing me from rebuilding texlive.  I'm 
trying to find a workaround, but so far I haven't even been able to figure out 
why -pthread is showing up on the link command line.  It happens for only three 
of the executables, and only on 32-bit Cygwin.  For example:

libtool: link: gcc -Wimplicit -Wreturn-type -Wdeclaration-after-statement 
-Wno-unknown-pragmas -ggdb -O2 -pipe -Wimplicit-function-declaration 
-fdebug-prefix-map=/home/kbrown/src/cygtexlive/texlive/texlive-20140523-2.i686/build=/usr/src/debug/texlive-20140523-2 
-fdebug-prefix-map=/home/kbrown/src/cygtexlive/texlive/texlive-20140523-2.i686/src/texlive-20140523-source=/usr/src/debug/texlive-20140523-2 
-o .libs/mpost.exe mpost-mpost.o mpost-mpxout.o  libmplib.a 
/home/kbrown/src/cygtexlive/texlive/texlive-20140523-2.i686/build/texk/kpathsea/.libs/libkpathsea.dll.a 
-lcairo -lgobject-2.0 -lffi -lglib-2.0 /usr/lib/libintl.dll.a 
/usr/lib/libiconv.dll.a /usr/lib/libpcre.dll.a /usr/lib/libfontconfig.dll.a 
/usr/lib/libexpat.dll.a /usr/lib/libfreetype.dll.a -lbz2 -lEGL -lGL -lpthread 
/usr/lib/libXdamage.dll.a /usr/lib/libXfixes.dll.a /usr/lib/libX11-xcb.dll.a 
/usr/lib/libxcb-glx.dll.a /usr/lib/libxcb-shm.dll.a /usr/lib/libxcb-render.dll.a 
/usr/lib/libXrender.dll.a /usr/lib/libXext.dll.a /usr/lib/libX11.dll.a 
/usr/lib/libxcb.dll.a /usr/lib/libXau.dll.a /usr/lib/libXdmcp.dll.a 
/usr/lib/libpixman-1.dll.a /usr/lib/libpng16.dll.a -lz -pthread
gcc: error: unrecognized command line option '-pthread'
Makefile:4664: recipe for target 'mpost.exe' failed

Ken

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

