From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by sourceware.org (Postfix) with ESMTPS id 3FA873858D28 for ; Mon, 27 May 2024 07:13:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3FA873858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3FA873858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::530 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716793988; cv=none; b=SLMoD/lORTqki3QrkS9fm21Q3VB5e2jq4omJ6NCNXINzzRHt66MDeo3KYNb+XLAT2E84/1aHG3Y7ZNWTuqCW7PLcCNW+pMpMLjPWEV5mJJmA1Jkov3DKdfJEXvLzPEbgAKHwhRY15Pu/4T2SF7c6PapAlffdBVd6CDW6kl6NWZs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716793988; c=relaxed/simple; bh=OOjjmjAqf+7ZcII/ok6PfAcMw+iNs/16M7fGpR4pYlU=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=Qt6IX7Uk73Yy9KuX/nu4ykg8v5CxETytBN09fHMuL/GJ54kDPnHGefAonh8x/xhb2wqP4pS8rAhO2njRMoxKIes0R3TAbnbQntPwjIY9cDeVJSryRrXU2bHqHu3Pxxvpq/rWuBvgjUVAT0T+/uUKKj/3sngdepQn9Chl0K8nv4E= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-663d2e6a3d7so3580848a12.0 for ; Mon, 27 May 2024 00:13:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716793985; x=1717398785; darn=gcc.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=sq3SgFdAk6QAGq7VeW11oAKOMZzwP1NeHf15gJUU8lw=; b=dynz6nUeaqTC5JCigK7SzP17sEXhFKd0I/5EZ85wmySHTvAw5ecnb1n2DXQQWSnhbT Sd9JE4h+iJRpy1kPPzbspiNn4sPYBuTJ6FH3oZ2emlRXSy53/jzcU633UyfG9wRwpj6I cMl45fGsQ5BgueXcfaIj5KM1CRRrTfVOqV4frmd9A/jtAAmO6OP37vXCR3xyttWAR7TF YBuuviDUeuJW2xEdb3HNbNwCZPLES0Jy2wiDvp6n1VEaLqVInRoPytJ6Yu0b2xjGIsFe hy1pV2V9OtNAlgMr/B/YYkDbs7GNgqZOCypjhQbtJOej6g2e7chvTfe8Hr+Qg4O3Mfcu ydlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716793985; x=1717398785; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sq3SgFdAk6QAGq7VeW11oAKOMZzwP1NeHf15gJUU8lw=; b=YUmwxW3iBQTonOphIuSZe/+iAonNeMTfjRb1otTJHOVyn79VB/1kovhOzxu+JHdmdD dsOF+Ydquk14EnRfDGmg5/CoLxhX1TDtU+Xknwo+6lJqn7mOwRghIubimncXmEjKvbh7 ksKnsH4g5+BFr4xNC8WfYa4BJFXwU7Q3GbQBdXvesCmygeNmNtuOHPt8i1N6cmlfvGFu /FKyrjuzwPuB0B7u/SkbD/6oH7v4xJjQZepSpWSVeSEHbjY1QWfZdfK5qhdBCxmF/eqO Z5KDvZlNA4PjrhW/T9ZPBELuwZw979qxtV2HhVI1NBwAr6RDYVWPslXos8LAAcSa7wBh aF2g== X-Gm-Message-State: AOJu0Yz3fU63gklZVEehRuog8Ba5bI+fjUtQ/DJDw8gk0PJoLE5Sthak BTT1V1tEupe/j7hKzbhAzu5VT0JZxRUuvpw/5qZ2v0+baIeny7hjvOz9Rpv0EZCnFr65UMMj7Z1 +08HEXmREdqyV0bNxuoiVrDqVQ48nvg== X-Google-Smtp-Source: AGHT+IHHqCdXz9Aoopr+5k6+nS1VliJB63/9XZLarmi9AN66uujgk4X+iAlzFiO42cj+CSVf7KcIrNg0LdOg1zUfXVg= X-Received: by 2002:a17:90a:888:b0:2bd:efc4:a9b with SMTP id 98e67ed59e1d1-2bdefc40ad6mr14031256a91.8.1716793985077; Mon, 27 May 2024 00:13:05 -0700 (PDT) MIME-Version: 1.0 References: <20240527065026.855607-1-jcmvbkbc@gmail.com> In-Reply-To: From: Max Filippov Date: Mon, 27 May 2024 00:12:54 -0700 Message-ID: Subject: Re: [RFC 0/2] libbacktrace: add FDPIC support To: Rainer Orth Cc: gcc-patches@gcc.gnu.org, Ian Lance Taylor Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, May 27, 2024 at 12:01=E2=80=AFAM Rainer Orth wrote: > > This is an RFC series that adds FDPIC ELF target support to > > libbacktrace. > > > > While debugging this I've noticed that there's no unwinding info for th= e > > libstdc++ version of libbacktrace, which made backtraces empty for me, > > both on xtensa-linux-uclibcfdpic and on regular xtensa-linux-uclibc. > > Adding -funwind-tables to the libstdc++ version of libbacktrace fixed > > that. Which makes me wonder how it works for other architectures? > > it doesn't ;-( See PR libstdc++/111641 for details. There's a patch in > there, too. Oh, cool, thanks for the pointer Rainer. So patch 2 of this series can be disregarded. --=20 Thanks. -- Max