From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) by sourceware.org (Postfix) with ESMTPS id 6B9913858C5E for ; Tue, 14 Mar 2023 18:47:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6B9913858C5E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-17aa62d0a4aso3461010fac.4 for ; Tue, 14 Mar 2023 11:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678819634; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=zgAsX9NZpkM9eEBkH1Wa0C7bH4y938zqrMx7ADWz+BU=; b=MgIdYo+Kp3k8cVTWEzFiTT17wL6m5P75pff+3mCg0PcTo7HtMf1YmMNW+x+GZvU+HR bd30IeJQFl4Ve9J9DLGSzEkYMbdAygrE933wJ0tsgMVnHwuMFrzktsHEvsrt7eE4uw/K wf0Z1wfrnyPjj8LMFpxwTLc3WdLbpR4C0WVzGw7kbtC31tYNJCtl/CqUQhEE63BRtgHb mM85A2ve+zcmAGoxCFvDokDgASu29I7kvBVVtYR5UO9xAmX71wbzX1q5RlyO6Xcp7sbU 4EqVrJnQsc9y+ibn6kS1ggJeUskqzKD25ypijNXtBfi4Iy7JE04r3w5lQBYy+8h75QFf gK3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678819634; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zgAsX9NZpkM9eEBkH1Wa0C7bH4y938zqrMx7ADWz+BU=; b=4j5foc+5ITGn9DnRVHxVeWFioGGk1aE55MNyqbk4S3YVlcaO5NPFY4oV8t9hoQ3xO3 wsj0e4q8y9IbXMSwUyKBzyRa/E2d0/lmp4gatfxO/0/dR7TuAyMe+Gl89IfdTBVMCmCN 22f7hm3wOlp9GVieRwN8t1zq7u26ql1VFsTMR8nUw3UaVeOUsnU9uhAA6ggfyJnvj1Lg 0VyFB5EkLnX2pMDXvMHxa0lwWDT+8UWmpP83S+kaSO6EGNzKoS9QKs1uU9D9udfHvTHW HynfaA4Vy7qVBDCCdlgH2jZyz3Mx5NqT0OvwozY6nVx5zbD668BoUa0XJXJ5xeQQrZlW 7LDg== X-Gm-Message-State: AO0yUKXa59qQrA2cICadoFozzRr+CRRkauFob5cdEgFYo/gwMzsQ4gjD N1zIQs59asCI95EIyRg2Po1UTg== X-Google-Smtp-Source: AK7set+KFBs6RDWEkD1JsM6Jo8KGaWIzg1yc5PqfHC6V4gOIBMgH4RfMmHjiVAE8E/RrIA+kXqiqjw== X-Received: by 2002:a05:6870:e0cd:b0:177:b55a:76b4 with SMTP id a13-20020a056870e0cd00b00177b55a76b4mr4910468oab.36.1678819632280; Tue, 14 Mar 2023 11:47:12 -0700 (PDT) Received: from ?IPV6:2804:1b3:a7c0:544b:8d01:8008:2c0e:dce7? ([2804:1b3:a7c0:544b:8d01:8008:2c0e:dce7]) by smtp.gmail.com with ESMTPSA id kz5-20020a056871408500b00177ba198612sm1370989oab.53.2023.03.14.11.47.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Mar 2023 11:47:11 -0700 (PDT) Message-ID: <6c8e0fc6-9e86-6fc7-433f-cf5df16a6b03@linaro.org> Date: Tue, 14 Mar 2023 15:47:09 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: compiling glibc using -fasynchronous-unwind-tables for arm Content-Language: en-US To: Abhijit Ray Chaudhury , libc-help References: From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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 09/03/23 07:04, Abhijit Ray Chaudhury via Libc-help wrote: > Hi , > > I am trying to compile glibc-2.25 with -fasynchronous-unwind-tables flag > for correctly generating backtrace . But during configure, it conflicts > with -fno-unwind-tables passed by sysdeps/arm/preconfigure and generates > link error during conftest. > > My gcc does not enable -fasynchronous-unwind-tables by default. How do I > compile entire libc using unwind-tables ? > > Thanks in Advance, > -Abhijit I don't see any build issue on master with: CC="arm-glibc-linux-gnueabihf-gcc -fasynchronous-unwind-tables" \ CXX="arm-glibc-linux-gnueabihf-g++ -fasynchronous-unwind-tables" \ configure --prefix=/usr With gcc 11.3.1. I am not sure about 2.25, this is a quite old version; but I also don't see anything on git history that might affect it.