From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.devel Subject: Re: [w32] Build failure on master (pthread_sigmask.h) Date: Thu, 30 May 2019 20:39:30 +0100 Message-ID: References: <837ea8xc88.fsf@gnu.org> <8336kvye8e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000181645058a2010a2" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="251292"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Emacs Development To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 30 21:40:50 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWQut-0013Gr-Su for ged-emacs-devel@m.gmane.org; Thu, 30 May 2019 21:40:48 +0200 Original-Received: from localhost ([127.0.0.1]:58366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWQus-0001S6-TN for ged-emacs-devel@m.gmane.org; Thu, 30 May 2019 15:40:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWQu9-0001N0-Jc for emacs-devel@gnu.org; Thu, 30 May 2019 15:40:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWQu8-0002eQ-L5 for emacs-devel@gnu.org; Thu, 30 May 2019 15:40:01 -0400 Original-Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]:43591) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWQu7-0002cE-3M; Thu, 30 May 2019 15:39:59 -0400 Original-Received: by mail-oi1-x22a.google.com with SMTP id t187so5866501oie.10; Thu, 30 May 2019 12:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Qrtj4CD2ghWSbE0+wIwYO8jls/sG71PO9rk7qWCePrM=; b=JT8F22NQkQ5YU9akTlu6o6GwhXncCqgjxBzIVoX8tA8x7iSMV4bn8w3xi8M4vKsAS/ k/wA3zxRxrQXM98fC+4wXqEk5jXTr1+0k3cX9uCD1A5Kk4Rw90p79WuhkMxkRxfiyaN2 fIGesqIupBqDVZrduRe3fhOFi9YMeqyLyP+uibADyrjI1mn+r5f2SLVTVyzJwNa75F9s KRaIG3RJXbv4w0adshcn1ZMuZJonlsubmwFN3FRo0NMQho1FPvLv59DYLJzEBunvRf9P O5BZ5OEQn0VYgxvd0/nCzYpk3+czzAfrSdVDNuGhMmDwp6Ef+7fHQDubd2s8hGQO8X4s w1wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Qrtj4CD2ghWSbE0+wIwYO8jls/sG71PO9rk7qWCePrM=; b=dGsA9KDAXXmjMLv9oZGZDS9I4WXJEJqeQ8rZlTCDCbUxazOZx9JfZvjKqU9HVFKxTE cjDah4Jy2geUkHwmZARlmtdBcxrTSyY3w2gWhKA+L2Ievkk4ROZXVU5hkVWv9BlDs4Wz RueLkL+/MqQJXwIi5f3T0tnT/cYCJIScDm6e8Xswp251AR6OX5HVdEnGaJbucFJPl3Qh 95Ic50s/0iOxf08Hf8LwKEx6pj28Oo/BBtO3MlKcs7MePWk9OZQDkw24ThxZQxpKX7LN cj5o4YRrPV3bYHeSAGorfh7AML8cM1jzAiR4aQveJxPhEWy9xsl88KbXB3cx7BWnhVQE etXg== X-Gm-Message-State: APjAAAVRah8XyoStiExoVt949q0xaJJACvGKurpLu/JZ8ARgB0EPzvAn z6tqJJVlx2q8MMlfICKMQlPuif4LGOX4heK9bV2FKT97rnU= X-Google-Smtp-Source: APXvYqx91EVXlL/7/6vC2D1l6KIscr2ByniHYUaSAZ86zWhLFpyxPelNID/KeNe2wgMf7xyBo3oujGjvlJuqzjOXmKU= X-Received: by 2002:aca:3906:: with SMTP id g6mr3431641oia.106.1559245197152; Thu, 30 May 2019 12:39:57 -0700 (PDT) In-Reply-To: <8336kvye8e.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237173 Archived-At: --000000000000181645058a2010a2 Content-Type: text/plain; charset="UTF-8" On Thu, 30 May 2019 at 19:43, Eli Zaretskii wrote: We need to augment nt/mingw-cfg.site to bypass pthread_sigmask, there are already some settings there to that effect, we need to adapt them to this Gnulib change. Maybe try adding this line to mingw-cfg.site: gl_cv_func_pthread_sigmask_macro=no Yes, that works. (The build succeeds and no pthread_sigmask.o is generated.) I'm impressed, thanks. If that doesn't help, please show the relevant parts of your config.log. Anything that matches "pthread". (On my box the problem doesn't happen because I don't have the pthread.h header polluting my system.) One package's pollution is another's prerequisite. Easily eradicated: pacman -R ${MINGW_PACKAGE_PREFIX}-libwinpthread-git --000000000000181645058a2010a2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, 30 May 2019 at 19:43, Eli Zaretskii <eliz@gnu.org> wrote:

=C2=A0 =C2=A0 We n= eed to augment nt/mingw-cfg.site to bypass pthread_sigmask, there
=C2=A0= =C2=A0 are already some settings there to that effect, we need to adapt th= em
=C2=A0 =C2=A0 to this Gnulib change.=C2=A0 Maybe try adding this line= to mingw-cfg.site:

=C2=A0 =C2=A0 =C2=A0 gl_cv_func_pthread_sigmask_= macro=3Dno

Yes, that works. (The build succeeds and no pthread_sigma= sk.o is generated.)
I'm impressed, thanks.

=C2=A0 =C2=A0 If t= hat doesn't help, please show the relevant parts of your
=C2=A0 =C2= =A0 config.log.=C2=A0 Anything that matches "pthread".

=C2= =A0 =C2=A0 (On my box the problem doesn't happen because I don't ha= ve the
=C2=A0 =C2=A0 pthread.h header polluting my system.)

One p= ackage's pollution is another's prerequisite. Easily eradicated:
pacman -R ${MINGW_PACKAGE_PREFIX}-libwinpthread-git
--000000000000181645058a2010a2--