From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id zjlDNlf3RmP1NgsAWB0awg (envelope-from ) for ; Wed, 12 Oct 2022 13:20:23 -0400 Received: by simark.ca (Postfix, from userid 112) id CE6011E112; Wed, 12 Oct 2022 13:20:23 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=V/svsU05; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 80FFF1E0D3 for ; Wed, 12 Oct 2022 13:20:23 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 018033857364 for ; Wed, 12 Oct 2022 17:20:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 018033857364 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665595223; bh=MMPhLEVcYB1gRLL+rw0yycKTIG/xp/kf8HavufLp+vk=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=V/svsU05VHfhEvIB9nVMIHQCMu9d7eSdL+d8K62eem4lof2XG4KrTv+C3WlGWmV8y eMLzSVh2DZkJ3uDxeUt/ZenMN+Vkja94wMoEZmyqiKoQt21+FlP4fc4nV54IzD5Whh y08fipUPzv2HaBDiwawA559uhU4dzZCU85WI8ocs= Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 663973858D38 for ; Wed, 12 Oct 2022 17:20:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 663973858D38 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 51D5821BC2; Wed, 12 Oct 2022 17:20:03 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2016413A5C; Wed, 12 Oct 2022 17:20:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id WE22BUP3RmPHfwAAMHmgww (envelope-from ); Wed, 12 Oct 2022 17:20:03 +0000 Message-ID: <2e17b10a-1acb-79c3-26c9-2faeca6286c6@suse.de> Date: Wed, 12 Oct 2022 19:20:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v3 4/5] sim: Check known getopt definition existence Content-Language: en-US To: Tsukasa OI References: <7b235ccb-ab2e-cba0-3015-2eae5fe6a8a4@suse.de> <527a756e-2b1f-1509-5a6f-e4344fbee404@irq.a4lg.com> <57dbc444-6271-dfc2-8534-387187088f47@suse.de> In-Reply-To: <57dbc444-6271-dfc2-8534-387187088f47@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom de Vries via Gdb-patches Reply-To: Tom de Vries Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 10/12/22 19:08, Tom de Vries wrote: > On 10/12/22 19:03, Tsukasa OI wrote: >> Adding >> #include >> after >> #include >> might change something but I cannot guarantee whether this change would >> fix the issue. > > Ack, I'll try attached patch on the try-buildbot. > I've tried it out, and it still fails the same: ... /srv/buildbot/worker/gdb-try-centos-x86_64/gdb-build/sim/../../binutils-gdb/sim/m32c/main.c: In function ‘main’: /srv/buildbot/worker/gdb-try-centos-x86_64/gdb-build/sim/../../binutils-gdb/sim/m32c/main.c:144:3: error: implicit declaration of function ‘getopt’ [-Werror=implicit-function-declaration] while ((o = getopt (argc, argv, "tc:vdm:C")) != -1) ^ cc1: all warnings being treated as errors make[3]: *** [main.o] Error 1 make[3]: Leaving directory `/srv/buildbot/worker/gdb-try-centos-x86_64/gdb-build/sim/m32c' ... Thanks, - Tom