From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660131.outbound.protection.outlook.com [40.107.66.131]) by sourceware.org (Postfix) with ESMTPS id E83523870854 for ; Thu, 28 May 2020 14:40:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E83523870854 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=uleth.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nicolc@uleth.ca ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SBdHR9qNwQvR9t1Bzikojkywlp5wjZPyIzKgJAe26eWNLYviEbeowGC3H8whgRByRBriw6cr7Pl6l8c6i5dEqmFxNJpVOsjRaeWdOgpL4SW2654LjgMDAN/b3mDFNGOVWUAeMBX7MNou4/ffaY7KL5ISR4OPwSs/6JvVUP9/hPeFkaF45ctFVi5e/1LWUsyjl2t5SwP7jT02XMM3OkQ6NtWLVQw01uGQW5xCPqzB9UyyGUnfzLR+gwLAvpRzcgg8zB8rlaCpJ2UuoGRxzznQIAKI1Jck4P6QhJ+h9SeECG59QgtgHaN9fqlkFwQ56vb4tVdv98wTBGuccxTnaYWjsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E+NODepQwxUUP7yy8px6lvzlqjvmHTXbaXuNs3aPu7w=; b=lv9au8EvszA3bD/+eWGhMd5e1JYLbCEkzjDvj0/ss39cU70dKya7Hdb0SppKCVrd0c+xuRiKL1NwJ35N8vF6L7OxP0zFj3/RUfh05uiytcBjVJHLOSTNHWQIQxStfiiHC9Bzs3ObTZkl5EOcr9ShBw+keXaTKYrwoifZbCmEanEy1RtFDVZqJjpmW0J5jGyeyGH5tKuyougaEpxZ87GCF1JqAOHBk3pEKqH9pAxRUY++I5yHkeNVMVjJzkw8haz1E+f8WqGNxfiV4PA9Rgy6bcnfyklQhx34Dw3Fd26w9dbSBE6IB+QM4dmU1HZhtsYE4go3eL4SxzyFLXe+XYhuwg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uleth.ca; dmarc=pass action=none header.from=uleth.ca; dkim=pass header.d=uleth.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uleth.onmicrosoft.com; s=selector2-uleth-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E+NODepQwxUUP7yy8px6lvzlqjvmHTXbaXuNs3aPu7w=; b=lcdoZxB35OVFy7BY0QkrHP+9Ba9k/w/583bG/KxaDkf+tqDUyQEAWhQzThed1HJre0mvJrHDMqgcSSNtwMEe/KLopfW8RJ1q/v+MW0WQ5gbtaSmGGrH6k4Z7gkIOOdUj9xswBVAcEMGxkP6xqW5sXZKYXKc6N9Z6WA+KtvWHnew= Authentication-Results: sourceware.org; dkim=none (message not signed) header.d=none;sourceware.org; dmarc=none action=none header.from=uleth.ca; Received: from YQBPR0101MB2228.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:12::16) by YQBPR0101MB0915.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.27; Thu, 28 May 2020 14:40:07 +0000 Received: from YQBPR0101MB2228.CANPRD01.PROD.OUTLOOK.COM ([fe80::8492:5f7d:52dd:ad46]) by YQBPR0101MB2228.CANPRD01.PROD.OUTLOOK.COM ([fe80::8492:5f7d:52dd:ad46%2]) with mapi id 15.20.3045.018; Thu, 28 May 2020 14:40:07 +0000 Subject: Re: gdb 8.3: "handler for the OSI ABI "FreeBSD" is not built into this configuration" To: Martin Simmons Cc: simark@simark.ca, 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> <46566349-c023-6a75-7006-268aad4913c6@uleth.ca> From: Chris Nicol Message-ID: <705eb7bb-78e8-550f-9a21-d56180cebaf5@uleth.ca> Date: Thu, 28 May 2020 08:40:03 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MWHPR15CA0038.namprd15.prod.outlook.com (2603:10b6:300:ad::24) To YQBPR0101MB2228.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:12::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.11] (70.75.207.33) by MWHPR15CA0038.namprd15.prod.outlook.com (2603:10b6:300:ad::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17 via Frontend Transport; Thu, 28 May 2020 14:40:07 +0000 X-Originating-IP: [70.75.207.33] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f9a43c9a-84ba-4c15-2da5-08d803150465 X-MS-TrafficTypeDiagnostic: YQBPR0101MB0915: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-Forefront-PRVS: 0417A3FFD2 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lWlUf+TSugpcG3UPwkR7HhqsSY+kZkLX9miVYSoGUcKmQAQf2soBh0xV+mcguzfRBv7ccfkENDvoO1Juzrd2E3T+UB4YQmmoDcdBKJB81D/pd5iAh6+oyPrICFb/KH66xDi5pwfUDVGy/8cTYafmOMvv6AeRbuKjQn3EDws541pSemc9f5HdZPeQebq3NF3bUkUVjkV9Jq7cYyOFKpgxsOGtmzQzGc7wmJi8sFRCadjBBDpeOWAMroJtpkPfuS0z+zYW82qdqJ3CugCzt7auaWBHMZS1veik3CMDRUXflJe7AaJhUQAt+rfuJ0jjAiQuULdRCvdwukKPbClRl+EWDGaNJxq0yXaTWqBSmDpfWVSPYMmWysYd9MCeTYhEAX+oEH4VTYmcj89ztiQxBvZmYEB7ypZMqOgBuOXmL7IMsKfqPO6HuSH8bZ36Ex/zX0zt4JlslrX5cJlrzJJhKsNuYrOh031uaLcjlnfXWaUUiQo= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YQBPR0101MB2228.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(346002)(376002)(396003)(39860400002)(366004)(136003)(2906002)(6916009)(6486002)(52116002)(786003)(316002)(478600001)(16576012)(966005)(83380400001)(86362001)(26005)(8676002)(8936002)(53546011)(186003)(66946007)(4326008)(66476007)(956004)(2616005)(66556008)(31686004)(5660300002)(6666004)(36756003)(31696002)(16526019)(2004002)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: /Nq5G87qXt1ne9CxyRkcVDzVdNaBITCxWOLVymwCi4FB77VWIbehWqNuYi9I9V9U/jNyxWdb4Tn+adnRXD9yGbyiV/pFx4nd0zs+062z4IUAI4p/UKqK3j75xapCtA2Rl0xTR1HFzWsUs1IfUt7MBkh3+qMdhG0rp7+j8VvrxGSPXM2doO1BkzN4Npqu9DIjsGGab2DC+UU96fwxjZ+Hdb6ZtVIsg78VzWxyIKoSYrUdnc6QJmQ3Z96kgmGIXtKOMz6gE4R0rSQSU95M3zr656R243FyiihAsHuEkRIXfewdA8RhbQhNx62o/7vGXQJqLVPGMTW7bpu4xK6F2FegxjEaSGuCe9w5DdJpLfovgTp5sPBCanOXFINJqlh8yxqd5Z/XEdGA3z1XOaZZeRyHkPwSgG7BlUb2Bq5bKvtRRG1Ydgot3ZT6rNzeOKZZm4yYPX7iVfokGynOS9E2622mayt/hEZH+9Ml1SbkTr9n/U4= X-OriginatorOrg: uleth.ca X-MS-Exchange-CrossTenant-Network-Message-Id: f9a43c9a-84ba-4c15-2da5-08d803150465 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2020 14:40:07.7987 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8cd360c2-068b-4e36-8db5-27b35792f53f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uswCjHFyZlK6g56cVQzUVBJFqq1nJmB+hwcqvFnU4aTdfo4vNHyOAjTjFH3xWYdP X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB0915 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, KAM_LOTSOFHASH, KAM_SHORT, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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: Thu, 28 May 2020 14:40:11 -0000 Thanks, Martin. Here is the log from /usr/local/bin/gdb ./llvm-tblgen llvm-tblgen.core: nicolc@phonix:~/llvm/llvm-9.0.1.src/Mybuilddir/bin % /usr/local/bin/gdb ./llvm-tblgen llvm-tblgen.core /usr/local/bin/gdb: warning: A handler for the OS ABI "FreeBSD" is not built into this configuration of GDB. Attempting to continue with the default sparc settings. GNU gdb (GDB) 9.1 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "sparc64-unknown-freebsd12.1". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./llvm-tblgen... [New LWP 100161] Core was generated by `./llvm-tblgen -version'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000000000000000 in ?? () (gdb) info all g0 0x0 0 g1 0x0 0 g2 0x417bfddc 1098644956 g3 0x80000000 2147483648 g4 0x4090c000 1083228160 g5 0x408a6688 1082812040 g6 0x0 0 g7 0x408ad910 1082841360 o0 0x408a6698 1082812056 o1 0x2 2 o2 0x10 16 o3 0xf4 244 o4 0x106838 1075256 o5 0x7fffffff 2147483647 sp 0x7fdffffd5e1 0x7fdffffd5e1 o7 0x41017944 1090615620 l0 0x0 0 l1 0x4090c000 1083228160 l2 0x1 1 l3 0x0 0 l4 0x0 0 l5 0x0 0 l6 0x0 0 l7 0x41238000 1092845568 i0 0x884c80 8932480 i1 0x3 3 i2 0x0 0 i3 0x0 0 i4 0x0 0 i5 0x0 0 fp 0x7fdffffd691 0x7fdffffd691 i7 0x409addf0 1083891184 f0 0 (raw 0x00000000) f1 0 (raw 0x00000000) f2 0 (raw 0x00000000) f3 0 (raw 0x00000000) f4 0 (raw 0x00000000) f5 0 (raw 0x00000000) f6 0 (raw 0x00000000) f7 0 (raw 0x00000000) f8 0.00999999978 (raw 0x3c23d70a) f9 0 (raw 0x00000000) f10 2 (raw 0x40000000) f11 0 (raw 0x00000000) --Type for more, q to quit, c to continue without paging-- f12 0 (raw 0x00000000) f13 0 (raw 0x00000000) f14 0 (raw 0x00000000) f15 0 (raw 0x00000000) f16 0 (raw 0x00000000) f17 0 (raw 0x00000000) f18 0 (raw 0x00000000) f19 0 (raw 0x00000000) f20 0 (raw 0x00000000) f21 0 (raw 0x00000000) f22 0 (raw 0x00000000) f23 0 (raw 0x00000000) f24 0 (raw 0x00000000) f25 0 (raw 0x00000000) f26 0 (raw 0x00000000) f27 0 (raw 0x00000000) f28 0 (raw 0x00000000) f29 0 (raw 0x00000000) f30 0 (raw 0x00000000) f31 0 (raw 0x00000000) f32 0 (raw 0x0000000000000000) f34 0 (raw 0x0000000000000000) f36 0 (raw 0x0000000000000000) f38 0 (raw 0x0000000000000000) f40 0 (raw 0x0000000000000000) f42 0 (raw 0x0000000000000000) f44 0 (raw 0x0000000000000000) f46 0 (raw 0x0000000000000000) f48 0 (raw 0x0000000000000000) f50 0 (raw 0x0000000000000000) f52 0 (raw 0x0000000000000000) f54 0 (raw 0x0000000000000000) f56 0 (raw 0x0000000000000000) f58 0 (raw 0x0000000000000000) f60 0 (raw 0x0000000000000000) f62 0 (raw 0x0000000000000000) pc 0x0 0x0 npc 0x4 0x4 state 0x4400001205 292057780741 fsr 0x0 [ ] fprs 0x3 [ DL DU ] y 0x0 0 cwp 0x5 5 pstate 0x12 [ IE PEF ] --Type for more, q to quit, c to continue without paging-- asi 0x0 0 ccr 0x44 [ icc.z xcc.z ] d0 0 (raw 0x0000000000000000) d2 0 (raw 0x0000000000000000) d4 0 (raw 0x0000000000000000) d6 0 (raw 0x0000000000000000) d8 5.3776417829113669e-19 (raw 0x3c23d70a00000000) d10 2 (raw 0x4000000000000000) d12 0 (raw 0x0000000000000000) d14 0 (raw 0x0000000000000000) d16 0 (raw 0x0000000000000000) d18 0 (raw 0x0000000000000000) d20 0 (raw 0x0000000000000000) d22 0 (raw 0x0000000000000000) d24 0 (raw 0x0000000000000000) d26 0 (raw 0x0000000000000000) d28 0 (raw 0x0000000000000000) d30 0 (raw 0x0000000000000000) d32 0 (raw 0x0000000000000000) d34 0 (raw 0x0000000000000000) d36 0 (raw 0x0000000000000000) d38 0 (raw 0x0000000000000000) d40 0 (raw 0x0000000000000000) d42 0 (raw 0x0000000000000000) d44 0 (raw 0x0000000000000000) d46 0 (raw 0x0000000000000000) d48 0 (raw 0x0000000000000000) d50 0 (raw 0x0000000000000000) d52 0 (raw 0x0000000000000000) d54 0 (raw 0x0000000000000000) d56 0 (raw 0x0000000000000000) d58 0 (raw 0x0000000000000000) d60 0 (raw 0x0000000000000000) d62 0 (raw 0x0000000000000000) q0 0 (raw 0x00000000000000000000000000000000) q4 0 (raw 0x00000000000000000000000000000000) q8 7.03365791880182537906194915943984275e-298 (raw 0x3c23d70a000000004000000000000000) q12 0 (raw 0x00000000000000000000000000000000) q16 0 (raw 0x00000000000000000000000000000000) q20 0 (raw 0x00000000000000000000000000000000) q24 0 (raw 0x00000000000000000000000000000000) q28 0 (raw 0x00000000000000000000000000000000) q32 0 (raw 0x00000000000000000000000000000000) q36 0 (raw 0x00000000000000000000000000000000) --Type for more, q to quit, c to continue without paging-- q40 0 (raw 0x00000000000000000000000000000000) q44 0 (raw 0x00000000000000000000000000000000) q48 0 (raw 0x00000000000000000000000000000000) q52 0 (raw 0x00000000000000000000000000000000) q56 0 (raw 0x00000000000000000000000000000000) q60 0 (raw 0x00000000000000000000000000000000) (gdb) where #0 0x0000000000000000 in ?? () #1 0x000000004101794c in __once_proxy () from /usr/local/lib/gcc9/libstdc++.so.6 #2 0x00000000409addf8 in pthread_once () from /lib/libthr.so.3 #3 0x000000000059ca94 in __gthread_once (__once=0x884c80 , __func=0x41017920 <__once_proxy>) at /usr/local/lib/gcc9/include/c++/sparc64-portbld-freebsd12.1/bits/gthr-default.h:700 #4 0x000000000059ceb0 in std::call_once (__once=..., __f=@0x59c494: {void (void)} 0x59c494 ) at /usr/local/lib/gcc9/include/c++/mutex:683 #5 0x000000000059cc14 in llvm::call_once (flag=..., F=@0x59c494: {void (void)} 0x59c494 ) at /home/nicolc/llvm/llvm-9.0.1.src/include/llvm/Support/Threading.h:104 #6 0x000000000059c52c in getManagedStaticMutex () at /home/nicolc/llvm/llvm-9.0.1.src/lib/Support/ManagedStatic.cpp:30 #7 0x000000000059c5d8 in llvm::ManagedStaticBase::RegisterManagedStatic (this=0x884230 , Creator=0x577f08 ::call()>, Deleter=0x577fb0 ::call(void*)>) at /home/nicolc/llvm/llvm-9.0.1.src/lib/Support/ManagedStatic.cpp:38 #8 0x000000000057784c in llvm::ManagedStatic<(anonymous namespace)::CommandLineParser, llvm::object_creator<(anonymous namespace)::CommandLineParser>, llvm::object_deleter<(anonymous namespace)::CommandLineParser> >::operator* (this=0x884230 ) at /home/nicolc/llvm/llvm-9.0.1.src/include/llvm/Support/ManagedStatic.h:89 #9 0x0000000000576cc0 in llvm::ManagedStatic<(anonymous namespace)::CommandLineParser, llvm::object_creator<(anonymous namespace)::CommandLineParser>, llvm::object_deleter<(anonymous namespace)::CommandLineParser> >::operator-> (this=0x884230 ) at /home/nicolc/llvm/llvm-9.0.1.src/include/llvm/Support/ManagedStatic.h:94 #10 0x000000000056921c in llvm::cl::OptionCategory::registerCategory (this=0x883288 ) at /home/nicolc/llvm/llvm-9.0.1.src/lib/Support/CommandLine.cpp:468 #11 0x000000000013e508 in llvm::cl::OptionCategory::OptionCategory (this=0x883288 , Name=..., Description=...) at /home/nicolc/llvm/llvm-9.0.1.src/include/llvm/Support/CommandLine.h:199 #12 0x0000000000139400 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /home/nicolc/llvm/llvm-9.0.1.src/utils/TableGen/AsmMatcherEmitter.cpp:126 #13 0x000000000013951c in _GLOBAL__sub_I_AsmMatcherEmitter.cpp(void) () at /home/nicolc/llvm/llvm-9.0.1.src/utils/TableGen/AsmMatcherEmitter.cpp:3918 #14 0x000000004087f504 in ?? () from /libexec/ld-elf.so.1 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) On 5/28/2020 4:57 AM, Martin Simmons wrote: > Hi Chris, > > I received your email below but it looks like the mailing list rejected > it. For a small amount of output, it is better to just paste the text > into the email rather than attaching an rtf. > > I can see what causes the warning but I think it might be unrelated to > the problem of debugging llvm-tblgen. > > Rather than running gdb inside gdb, please just run: > > /usr/local/bin/gdb ./llvm-tblgen llvm-tblgen.core > > and then use the gdb commands: > > info all > where > > and send the full output. > > __Martin -- ______________________________________________________________________ Dr. Christopher J. Nicol, Phone: (403) 329-2261 University Librarian and FAX: (403) 329-2234 Professor of Economics, The University of Lethbridge, E-Mail: nicolc@uleth.ca Lethbridge, Alberta, T1K 3M4, CANADA. http://people.uleth.ca/~nicolc