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

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=c7U42pVXWovIm2klUs0PwXY0shbitOy0DLxpCR3+AfM
Q4EJGlhRSjqSP/zzGiKoTmHi0+d8IjavGC9A2zPXap9pvI2YM4TLQk6YRFnls4Ai
zaQ9yYuUEaTTFjj9zXPLYJ+BKlegStSTi+yd6IRxRhio+kd2LFHETevgJmmUiDZA
=
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=0mR60bDQdYfUfc2TrulZBPnSdXI=; b=sWEA1dyGWXihK7lbX
E7+1BuoQgzqPcpW3WDwobcHEWEeYeNwxsqJA/97DRnLFuFpEcTuzCvw+omC7/k0L
IPq3p2mEGUh9vwC5ZWvqTCwiODNxQRncWI+ZDaViKqDzuehK6JYoHznOIxj22uxT
nE793iWTjcBgUgnhfVzmUcoPhQ=
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.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-wg0-f47.google.com
X-Received: by 10.181.13.146 with SMTP id ey18mr27503295wid.84.1423924062799; Sat, 14 Feb 2015 06:27:42 -0800 (PST)
Message-ID: <54DF5B48.8020501@gmail.com>
Date: Sat, 14 Feb 2015 15:27:20 +0100
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
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>
In-Reply-To: <54DF4884.5050200@cornell.edu>
X-IsSubscribed: yes

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

Regards
Marco

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