From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 49646 invoked by alias); 3 May 2018 14:48:41 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 49513 invoked by uid 89); 3 May 2018 14:48:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:Sendmail, 16-17, H*RU:Sendmail, 1617 X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 03 May 2018 14:48:22 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id w43Elx47002425 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 3 May 2018 10:48:04 -0400 Received: by simark.ca (Postfix, from userid 112) id D9C781F213; Thu, 3 May 2018 10:47:59 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id 922121E17E; Thu, 3 May 2018 10:47:58 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 03 May 2018 14:48:00 -0000 From: Simon Marchi To: Ulrich Weigand Cc: jreiser@bitwagon.com, gdb-patches@sourceware.org Subject: Re: Build failure with flex 2.5.4 (Re: [PATCH] fix race when building ada-lex.c) In-Reply-To: <20180503143759.39EC0D8050A@oc3748833570.ibm.com> References: <20180503143759.39EC0D8050A@oc3748833570.ibm.com> Message-ID: <3a09991ea56b6936f3f90f3d11f2af93@polymtl.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.3.6 X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Thu, 3 May 2018 14:48:00 +0000 X-IsSubscribed: yes X-SW-Source: 2018-05/txt/msg00043.txt.bz2 On 2018-05-03 10:37, Ulrich Weigand wrote: > John Reiser wrote: > >> gdb/ChangeLog: >> * gdb/Makefile.in: (.c:.l, .c:.y): Write the target only in >> the >> last step, and do it atomically. > >> + $(FLEX) --stdout $< \ > > This causes a build failure on my RHEL 5 based Cell/B.E. dailybuild, > since flex 2.5.4 does not yet support the long option --stdout. > > Is there any reason not to use the equivalent short option -t instead? > > Bye, > Ulrich Huh, I also wondered whether --stdout was a widely available option. I found it was added by this commit in flex: https://github.com/westes/flex/commit/16fe6f3 and since it is 16-17 years old, I didn't raise a flag. But we can certainly use -t. Can you confirm it works as intended on that system? Simon