delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.9 required=5.0 tests=AWL,BAYES_20,SARE_MSGID_LONG40 |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Sat, 27 Mar 2010 11:23:15 -0400 |
Message-ID: | <b0ddfae81003270823v2af60a63nf4678c33dc9ba0e7@mail.gmail.com> |
Subject: | how was debate on _GNU_SOURCE resolved? can't find pthread_getattr_np |
From: | mike marchywka <marchywka AT gmail DOT com> |
To: | cygwin <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
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 |
I'm now getting this error and don't seem to be able to find the getattr_np thing by grepping through includes, ../JavaScriptCore/runtime/Collector.cpp:683: error: `pthread_getattr_np' was not declared in this scope ../JavaScriptCore/runtime/Collector.cpp:685: error: `pthread_attr_getstack' was not declared in this scope make[1]: *** [obj/release/Collector.o] Error 1 with _GNU_SOURCE defined, ( presuming someone is including pthread.h LOL) , g++ -c -pipe -Wreturn-type -fno-strict-aliasing -ffunction-sections -fdata-secti ons -O2 -I/usr/include/freetype2 -Wall -W -D_REENTRANT -D_GNU_SOURCE -DQT_SHARED -DBUILDING_QT__=1 -DNDEBUG -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3 _SUPPORT -DQT_MOC_COMPAT -DBUILD_WEBKIT -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_ DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_D OM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_ORIEN TATION_EVENTS=0 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS= 0 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_WML=0 -DENABLE_SHARED_WORKERS=1 -DEN ABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DATAGRID=1 -DENABLE_SVG=1 -DENABLE_SV G_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS _IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_RUBY=1 -DENABLE_VIDEO=0 -DENABLE_DATALIST=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_XSLT=1 -DWTF_USE _JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DBUILDING_QT__ -DBUILDING_JavaScript Core -DBUILDING_WTF -DXP_UNIX -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLIT E_OMIT_COMPLETE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../../mkspecs/cygwin-g++ -I. -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../inclu de/QtXmlPatterns -I../../../../include -Ibridge/qt -Ipage/qt -Iplatform/graphics /qt -Iplatform/network/qt -Iplatform/qt -I../WebKit/qt/WebCoreSupport -I. -Iacce ssibility -Ibindings/js -Ibridge -Ibridge/c -Icss -Idom -Idom/default -Iediting -Ihistory -Ihtml -Ihtml/canvas -Iinspector -Iloader -Iloader/appcache -Iloader/a rchive -Iloader/icon -Inotifications -Ipage -Ipage/animation -Iplatform -Iplatfo rm/animation -Iplatform/graphics -Iplatform/graphics/filters -Iplatform/graphics /transforms -Iplatform/image-decoders -Iplatform/mock -Iplatform/network -Iplatf orm/sql -Iplatform/text -Iplugins -Irendering -Irendering/style -Istorage -Isvg -Isvg/animation -Isvg/graphics -Isvg/graphics/filters -Iwebsockets -Iwml -Iworke rs -Ixml -Igenerated -I../JavaScriptCore -I../../webkit -I../JavaScriptCore/asse mbler -I../JavaScriptCore/bytecode -I../JavaScriptCore/bytecompiler -I../JavaScr iptCore/debugger -I../JavaScriptCore/interpreter -I../JavaScriptCore/jit -I../Ja vaScriptCore/parser -I../JavaScriptCore/profiler -I../JavaScriptCore/runtime -I. ./JavaScriptCore/wrec -I../JavaScriptCore/wtf -I../JavaScriptCore/wtf/unicode -I ../JavaScriptCore/yarr -I../JavaScriptCore/API -I../JavaScriptCore/ForwardingHea ders -Igenerated -I../WebKit/qt/Api -I../../../../include/QtWebKit -I.rcc/releas e-shared -I../JavaScriptCore/pcre -I/cygdrive/c/cygwin/home/marchywka/wk/wkhtmlt opdf.qt/src/3rdparty/webkit/WebKitBuild/Release/JavaScriptCore/tmp -I../../sqlit e -I/usr/X11R6/include -I.moc/release-shared -o obj/release/Collector.o ../JavaS criptCore/runtime/Collector.cpp make[1]: Leaving directory `/cygdrive/c/cygwin/home/marchywka/wk/wkhtmltopdf.qt/ src/3rdparty/webkit/WebCore' and, ok, unless flags are wrong shold beincluding pthread, #if PLATFORM(SOLARIS) #include <thread.h> #else #include <pthread.h> #endif #if HAVE(PTHREAD_NP_H) #include <pthread_np.h> #endif Apparently there was some debate about this circa 2006 with cgf, http://www.cygwin.com/ml/cygwin/2006-01/msg00583.html Grepping through the pthread header however I don't see any indication the things the compiler is complaining about exist. It seems however the _GNU_SOURCE flag comes up in many headers in the include dir. thanks. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |