From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 2A9B63870872 for ; Sun, 24 May 2020 14:05:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2A9B63870872 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark@simark.ca Received: from [10.0.0.11] (173-246-6-90.qc.cable.ebox.net [173.246.6.90]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id ED13F1E792; Sun, 24 May 2020 10:05:38 -0400 (EDT) Subject: Re: gdb 8.3: "handler for the OSI ABI "FreeBSD" is not built into this configuration" To: Chris Nicol , Martin Simmons Cc: gdb@sourceware.org References: <052613da-fdbe-707b-3a52-da7ce437d424@uleth.ca> <1b20f6d8-9736-02d8-73dc-bc4843e36ed3@simark.ca> <198ff4bc-8195-750e-84f5-e3d76974a223@uleth.ca> <88abec76-ad36-1562-d93b-d1159430bf2d@uleth.ca> <04509e3f-e5d9-72fb-1b1a-6d58a08482a2@simark.ca> <359bdbb1-c4ab-b89c-6d0a-f18025c64da8@simark.ca> From: Simon Marchi Message-ID: <9ecd48ee-fc46-5045-703a-36c3241c3aba@simark.ca> Date: Sun, 24 May 2020 10:05:38 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2020 14:05:41 -0000 On 2020-05-23 9:55 p.m., Chris Nicol wrote: > Thanks, Martin. Yes, when the gdb_6.1.1 did not work, I first had a look > to build the 9.1 in /usr/ports/devel/gdb, but the Makefile indicates > NOT_FOR_ARCHS= sparc64, and a comment above it "untested on sparc64, > might work". Not encouraged, I went on to build the 9.1 from the gnu > source. Maybe I will try the /usr/ports version if I comment out the > NOT_FOR_ARCHS, since there might be some tweaks in there that is > specific to FreeBSD. > > I will also try what you are suggesting below. Hard to track down the > llvm-tblgen problem when I can't debug why it is seg. faulting... and > getting some help on the llvm list has been pretty fruitless. > > Chris. For the moment, since you don't have a working GDB, it might be easier to just add printfs to understand why function `can_run_code_for` does not return true when it gets at the FreeBSD/sparc64 one. Simon