From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34825 invoked by alias); 16 Oct 2017 07:12:55 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 34816 invoked by uid 89); 16 Oct 2017 07:12:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=gear, Hx-languages-length:1739 X-HELO: mail-oi0-f68.google.com Received: from mail-oi0-f68.google.com (HELO mail-oi0-f68.google.com) (209.85.218.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 16 Oct 2017 07:12:44 +0000 Received: by mail-oi0-f68.google.com with SMTP id 82so6276394oid.4 for ; Mon, 16 Oct 2017 00:12:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to:content-transfer-encoding; bh=x9wikmWybsiR+1svHqvaGkAs0TvXnSqIfEfNSWjZTxs=; b=oL/d/vKfE0hmZ7GXLbEuWQiDGmcIA0boxrP134vMc7ic/2rbH60R/j+k0WsGWrq0JD Q6xDlZd7ni4Cwhrl2It2D+Bt9kMpLhVms9LMh0vQDovW8Hsu5dncgAJEryB84LMW3yIo TT93+KdMInuX03BBWCHbdgNY4suM+WKUi6x5/jrxlUQQIllGGhoic81KZqUjEN29+eyz 87KtskdwYVDkFLEz3EElLIXNfBZy1lY6FtL0Fk2NR6Ik8JAQCDEaFGmqgDH7vx6zYSxc foc/9z30oJDOatk06z0aqlN38r8okTQh4mnixYcqo1IsNkX16AQZGtxsWbJWID/uUtQU kiCQ== X-Gm-Message-State: AMCzsaUpAAM0fAMtgshMQUOKU0UoOlFgNdkaa+wuZ8Px0iyR6Q+a9LLD 8x6A26MghEoQcsWrZ/NuN5wOPSA+1UkzoY7Nwx1TdICp X-Google-Smtp-Source: AOwi7QAdNyy7pTrtTDyi+3nV86KPb3HTRiPm/FZdXlnJFEczIwWDJJ1cqkkWrteirFNPicCvEcvngL0Wke4HmoU4veg= X-Received: by 10.157.0.37 with SMTP id 34mr5490884ota.468.1508137963030; Mon, 16 Oct 2017 00:12:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.19.87 with HTTP; Mon, 16 Oct 2017 00:12:42 -0700 (PDT) Reply-To: noloader@gmail.com From: Jeffrey Walton Date: Mon, 16 Oct 2017 07:12:00 -0000 Message-ID: Subject: =?UTF-8?B?RXJyb3I6IHVua25vd24gdHlwZSBuYW1lIOKAmHB0aHJlYWRfYXR0cl904oCZIGluIHNpZw==?= =?UTF-8?B?bmFsLmg=?= To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2017-10/txt/msg00137.txt.bz2 Hi Everyone, I'm trying to build Emacs on Cygwin. I use the platform as a test bed because of Newlib. Emacs is failing with: gcc -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src -I/usr/local/include -DNDEBUG -pthread -D_XOPEN_SOURCE=3D600 -m64 -MT close-stream.o -MD -MP -MF .deps/close-stream.Tpo -c -o close-stream.o close-stream.c In file included from /usr/include/sys/signal.h:22:0, from /usr/include/signal.h:6, from ./signal.h:52, from ./sys/select.h:107, from /usr/include/sys/time.h:47, from ./sys/time.h:39, from ./sys/select.h:86, from /usr/include/sys/types.h:68, from ./sys/types.h:28, from ./fcntl.h:50, from binary-io.h:23, from binary-io.c:3: /usr/include/cygwin/signal.h:175:3: error: unknown type name =E2=80=98pthre= ad_attr_t=E2=80=99 pthread_attr_t *sigev_notify_attributes; /* notification attributes */ ^~~~~~~~~~~~~~ Examining /usr/include/cygwin/signal.h around 175, I see: typedef struct sigevent { sigval_t sigev_value; /* signal value */ int sigev_signo; /* signal number */ int sigev_notify; /* notification type */ void (*sigev_notify_function) (sigval_t); /* notification function */ pthread_attr_t *sigev_notify_attributes; /* notification attributes */ } sigevent_t; But I don't see an include for the pthread gear in the signal.h header file. I found one past message that's similar (https://cygwin.com/ml/cygwin/2016-06/msg00458.html), but its reported as an upstream bug. I don't think it applies here since the pthread data structure is used without an apparent declaration. Can anyone confirm things are (not?) working as expected? If things are working as expected, then hints to work around the failure would be appreciated. Thanks in advance, Jeff -- 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