From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id B975E3858D20 for ; Fri, 4 Feb 2022 10:37:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B975E3858D20 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-529-17s2SSGVOayCw7wVqby09w-1; Fri, 04 Feb 2022 05:37:55 -0500 X-MC-Unique: 17s2SSGVOayCw7wVqby09w-1 Received: by mail-wm1-f72.google.com with SMTP id t2-20020a7bc3c2000000b003528fe59cb9so2210524wmj.5 for ; Fri, 04 Feb 2022 02:37:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=2BLYLfo9tWKE7B37D+5pRvodaY+4eRGX3Ac9pSDr/dw=; b=WLuTe+l6eNLWqMXqy7axsVrDFEnedHAABWfcOsLNZ8YH1XCqDtN59+vjySjqFXJOL4 cmx9RPda4qhnYKpB0Y2zl+iy8A1dF86oFFYK/wqIJNlzjMBVM0PER/qCuy+f62iPJ3XU jFR36eg2/ikuqjRw5lqZZlSeVf84M8w0PE4blpCDbccz/bIOoPhsweO0VXWy9oBFvn3a TNg0ihF59euMkdW+SXp6eecmcIYvPclVAB2Si2n+I8+Vx++Jts15iG+P/ZK5xeb0gxTq c5KiX1vaLgtmicAspGcvgT9igbCsJkAbyJZJKQLOph2CdtijQ4xXv/JDGGdwiLWNUJ35 jjLg== X-Gm-Message-State: AOAM532e9v+4MMGC7Zu+PFNIqYPifbkl+DTEU3Fs2calI8miqtcoelS9 aH9sZ5/WzJfK8assX6DjNo3/jEKBgiBNOSGbST74s6O+Sja2+7ZWV3iuShlS4b3ZP6jeq/gE8o9 32Ktb1r+9zKMDYazdCsmAXlJuXOrAKPdGUgtWav1A16oCSqt/qoIZUczplbM= X-Received: by 2002:adf:f44a:: with SMTP id f10mr1861822wrp.653.1643971073846; Fri, 04 Feb 2022 02:37:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJzqjn4gESjZ1t+hgz2CcjFSsWzNZ9EHkPkF9129tujF6CkWCyjWStFR1L9n1WdWFPaYLEBJ2g== X-Received: by 2002:adf:f44a:: with SMTP id f10mr1861807wrp.653.1643971073579; Fri, 04 Feb 2022 02:37:53 -0800 (PST) Received: from [10.0.0.8] (cpc108959-cmbg20-2-0-cust731.5-4.cable.virginm.net. [80.0.22.220]) by smtp.gmail.com with ESMTPSA id y7sm1441773wrr.74.2022.02.04.02.37.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Feb 2022 02:37:53 -0800 (PST) Message-ID: Date: Fri, 4 Feb 2022 10:37:52 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: Incorrect unwind when throwing exceptions - possible cause? To: gcc-help@gcc.gnu.org References: <875ypwuql7.fsf@oldenburg.str.redhat.com> <87wnict9uz.fsf@oldenburg.str.redhat.com> From: Andrew Haley In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2022 10:38:00 -0000 On 2/3/22 15:38, Juraj Oršulić wrote: > Just to confirm, the problem was solved by adjusting the 3rdparty library > guilty for pulling in libunwind (in our case, Google glog, which has it as > an optional dependency) and evicting libunwind from the link list > (and using gcc's builtin unwinder instead). > > It looks like that an up-to-date libunwind on Arch as of today doesn't have > this bug, but it's certainly present on Ubuntu 20.04. > > Thanks again Florian! Yes, I agree, that was a great catch. -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671