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 AF7EBEB64DD for ; Thu, 29 Jun 2023 21:21: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 89E8A826; Thu, 29 Jun 2023 23:21:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 89E8A826 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1688073711; bh=Hh22/kvpJj3tvczt2QD8hWbD6WP9clTWrGtEAE/s0x4=; 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=nGg8okfh5kKZj2dIoXpo2Ve6bSp2gkkkPdW+/EHWoSAoGeTNhUAj6SU+xX01prHuA soYlozwOl+YIRA4BZIk8WjWAcmi7TuH1vclLnmo/OOU5yS8m4LOJAo5AcnqpKtooA7 543SMSlRUOgrqLhaepW47rl9EyGLwyjE7ro23iy4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id D5DA1F80535; Thu, 29 Jun 2023 23:20:36 +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 4DB47F80246; Thu, 29 Jun 2023 23:20:36 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6E998F80246; Thu, 29 Jun 2023 23:20:32 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id C5EEFF800E3 for ; Thu, 29 Jun 2023 23:20:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C5EEFF800E3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub pull_request - opened To: alsa-devel@alsa-project.org In-Reply-To: <1688073618816920757-webhooks-bot@alsa-project.org> References: <1688073618816920757-webhooks-bot@alsa-project.org> Subject: configure: Add large file support via CFLAGS Message-Id: <20230629212032.6E998F80246@alsa1.perex.cz> Date: Thu, 29 Jun 2023 23:20:32 +0200 (CEST) Message-ID-Hash: GGC6TWDBK2IQHCD3CZALR4GJFNSOMKGT X-Message-ID-Hash: GGC6TWDBK2IQHCD3CZALR4GJFNSOMKGT 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-utils pull request #223 was opened from kendase3: Currently scanelf (pax-utils) detects missing LFS support in the following files/calls: __open_2,fstat,mmap,open,scandir,stat,alphasort,lstat /usr/sbin/alsactl fopen /usr/lib/alsa-topology/libalsatplg_module_nhlt.so fopen /usr/bin/alsaucm fopen /usr/bin/aplaymidi __open_2,open /usr/bin/alsatplg fstat,open,__open_2 /usr/bin/axfer fopen /usr/bin/arecordmidi fopen,__open_2 /usr/bin/speaker-test creat,__open_2,lseek /usr/bin/amidi Note that this may cause problems on systems with a 32-bit kernel, but I've tested playing audio on a more recent 32-bit system with a 64-bit kernel. Let me know if you'd prefer a different approach! Notably the existing AC_SYS_LARGEFILE in configure.ac was not having any effect in my environment. I'm building on a 64-bit host for a 32-bit target. Request URL : https://github.com/alsa-project/alsa-utils/pull/223 Patch URL : https://github.com/alsa-project/alsa-utils/pull/223.patch Repository URL: https://github.com/alsa-project/alsa-utils