From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11087 invoked from network); 18 Jul 2021 07:20:23 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 18 Jul 2021 07:20:23 -0000 Received: (qmail 24544 invoked by uid 550); 18 Jul 2021 07:20:22 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 24526 invoked from network); 18 Jul 2021 07:20:21 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NrA5Bt8cklrWUyW/iRxZjhEZT5xtv7mznglqzPENShU=; b=saqvx/wbH3A/Ub6ZQi9+ZICLa4+48+eaHxCYzjL1NpXU+KpwFLfJzGg9ma1yHrKNNq 0VHXlCmMUBxhcbof8yMID8V+LB/3LMOv/OWVrljq/DLxQEpWxcSsSWUxuH/OQqNB+Onf MZPJgAJVjo8g7lSR+6/S+P6f/z8xSqTFkXBIa4Ei0Uby8iEjTEh3rnldW8UsSROfbyzx Pa9iO5m7C64xP1J9lctJDZ2yqr1aihmxlBCPOONUGi8EsRE7tBQZKdUnEQ/G3NrapefJ KMJBjGWjNgqoNGyhDXuS/oEsGI1+Z6edubpwxYhvNLMQGND68Nd1MiLNg6MrIvkTNE4D n3aQ== X-Gm-Message-State: AOAM532N/PnmhFEmszYxLSrXBLp9Qz4AG3ZxVYsAaj4Qe9V7GaIDEpJh 05URKDNXpfpe3M9z1A/9tlY= X-Google-Smtp-Source: ABdhPJwJyUItVznN/oyN8OPyJvE0wLANEbW62izGDsHv/VZq8fue8V+pugLmh630LxE7y5fb0IcpIw== X-Received: by 2002:a2e:95cc:: with SMTP id y12mr15068023ljh.387.1626592810566; Sun, 18 Jul 2021 00:20:10 -0700 (PDT) Date: Sun, 18 Jul 2021 10:20:07 +0300 From: Timo Teras To: Rich Felker Cc: Ariadne Conill , musl@lists.openwall.com Message-ID: <20210718102007.0b40e53b@vostro> In-Reply-To: <20210718090922.635b96f8@vostro> References: <20210716121625.38409b91@vostro> <20210716155735.GC13220@brightrain.aerifal.cx> <20210717103338.3085f754@vostro> <20210717132543.GG13220@brightrain.aerifal.cx> <20210717184010.246e7895@vostro> <20210717160936.GH13220@brightrain.aerifal.cx> <7aebea1d-b662-75c4-14cb-b614ff1aac9f@dereferenced.org> <20210717235635.GI13220@brightrain.aerifal.cx> <20210718090922.635b96f8@vostro> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.28; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [musl] option to enable eh_frame On Sun, 18 Jul 2021 09:09:22 +0300 Timo Teras wrote: > I do have some technical reasons why I'd prefer .eh_frame (getting it > on core dumps). Fortunately I need these from development boxes where > I can have custom build for internal use only. So if .debug_frame is > needed for peace, then so be it. I'm trying to implement this currently, and have two observations: 1) musl.so seems to have .eh_frame even with default options currently. GCC insists generating it for the PLT. Though otherwise it's empty. This is on gcc 10.3.1. 2) .debug_frame is 109944 bytes, while .eh_frame_hdr + .eh_frame is 83832. The size difference seems to be because of CIE entries not being merged for .debug_frame. Timo