This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -pthread in gcc

On 2/6/2015 4:28 AM, JonY wrote:
On 2/6/2015 16:30, Pavel Fedin wrote:

use -2 version

  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


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]