Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A3F0FC71153 for ; Mon, 4 Sep 2023 02:09:54 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id EA5247F1; Mon, 4 Sep 2023 04:09:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EA5247F1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1693793392; bh=IU3YXOahkcLty7odDQIe+HRClN8FDQfuipvVpQIDzJc=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=oPlawklYwpwwvAFDnO0eQEVdXClGG7S8Ph6zY+28oEHCVmJgf14mAjTRak7GeR2g6 k8KRiMsmljrHDx2SCLMMKgPz/2jLMwIMIdTPidfdBMoJh2EXIuIZCDVnBhuoLZqg1y NRlZhIGSQY/sXvqxFKMrTpiLtZ4nS0/DO927SLPk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 24273F80431; Mon, 4 Sep 2023 04:08:33 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 80A54F8047D; Mon, 4 Sep 2023 04:08:33 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3E08DF8047D; Mon, 4 Sep 2023 04:08:26 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id 33D2EF80141 for ; Mon, 4 Sep 2023 04:08:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 33D2EF80141 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - opened To: alsa-devel@alsa-project.org In-Reply-To: <1693793297749796867-webhooks-bot@alsa-project.org> References: <1693793297749796867-webhooks-bot@alsa-project.org> Subject: Alsa Lib segfaults when built statically Message-Id: <20230904020826.3E08DF8047D@alsa1.perex.cz> Date: Mon, 4 Sep 2023 04:08:26 +0200 (CEST) Message-ID-Hash: KRCLG6V6YP5AENGQJKAIEYP3VNFNMVBV X-Message-ID-Hash: KRCLG6V6YP5AENGQJKAIEYP3VNFNMVBV X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: alsa-project/alsa-lib issue #349 was opened from cybersoulK: I building a game that uses alsa for linux. All of my linux players executables segfault. Alsa Lib is built statically on a ubuntu machine with the following commands: ``` git clone https://github.com/alsa-project/alsa-lib cd alsa-lib apt-get update apt-get install libtool apt-get install make apt install autoconf autoreconf -i ./configure --disable-shared make ``` Then i use libasound.a to build my Rust executable (On my mac machine). I do the same process to build openssl for linux and it works great. So There definitely is an issue when building alsa lib statically. One of my players was able to provide me with a core dump that might be helpful to track the fault: image [coredump.txt](https://github.com/alsa-project/alsa-lib/files/12508784/coredump.txt) Issue URL : https://github.com/alsa-project/alsa-lib/issues/349 Repository URL: https://github.com/alsa-project/alsa-lib