Skip to contentSkip to conversation

configure: Add large file support via CFLAGS

DISCUSSION GitHub pull_request - opened 1 participant 1 message Jun 29, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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