delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/14/09:56:26

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:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=YD4t0ljGGPVTlazcxktUeQNR2t1ie1tScu8e6blker4
xR2kjK2TddSspM1lGqAowYrXW9kh/PDGQBHw4kWz8An1BTW4xxzWpGFce1z4Jxiu
LwZCPGJIcyzhTQXUTWlmsZ/1NkDiXSDs1TGHwylvLojhmb5RJjDC4QCXLVMsKJ4U
=
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=fRruXSqcnEuAYfMRR6SP6zvZyzU=; b=xfs+jyOXDif8XO/Sk
bW9uf5qJgHrVK/D9YGVqvTEOrtNhSyY5WJP8G9GP3TalwXmLt+knoO9EdJV0/iX8
sCdhvf3mPc3ljQxrxkVGL3bZjI4p+d6ms8bRXYlBKFucYhsxBZLAjZ5iewuW5dRc
9NGTCugNZmvkziosINh3SNDxEc=
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=-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: <54DF6202.6030606@cornell.edu>
Date: Sat, 14 Feb 2015 09:56:02 -0500
From: Ken Brown <kbrown AT cornell DOT 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 AT cygwin DOT com
Subject: Re: -pthread in gcc
References: <005201d0405a$d5ec93b0$81c5bb10$%fedin AT samsung DOT com> <54D20B95 DOT 1020507 AT gmail DOT com> <001801d041e7$369a0a20$a3ce1e60$%fedin AT samsung DOT com> <54D48929 DOT 5010904 AT gmail DOT com> <54DF4884 DOT 5050200 AT cornell DOT edu> <54DF5B48 DOT 8020501 AT gmail DOT com>
In-Reply-To: <54DF5B48.8020501@gmail.com>
X-IsSubscribed: yes

On 2/14/2015 9:27 AM, Marco Atzeri wrote:
>
> On 2/14/2015 2:07 PM, Ken Brown wrote:
>> On 2/6/2015 4:28 AM, JonY wrote:
>>> On 2/6/2015 16:30, Pavel Fedin wrote:
>>>>   Hello!
>
>>
>> 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
>>
>
> Ken,
> as workaround
>
> check if the "-pthread" is reported in a /usr/lib/*.la file
> or in a "/usr/lib/pkgconfig/*.pc" and zap it

Thanks, Marco.  The culprit was /usr/lib/libpixman-1.la, which exists in the 
32-bit distro only.

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

- Raw text -


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