Re: [LAU] everything stops after 2.1GB

From: Ralf Mardorf <ralf.mardorf@email-addr-hidden-dsl.net>
Date: Thu Nov 10 2016 - 16:07:02 EET

On Thu, 10 Nov 2016 13:09:48 +0100, Kjetil Matheussen wrote:
>My guess is that libsndfile on 32 bit arch is not compiled
>with _FILE_OFFSET_BITS set to 64, for some reason.

Is this related to default compiler flags?

"You could also use the ā€˜-Dā€™ option to GCC" -
http://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html

*?*

I don't have knowledge about this domain.

If so

https://git.archlinux.org/svntogit/packages.git/tree/trunk/makepkg.conf?h=packages/pacman

resp.

[rocketmouse@archlinux ~]$ egrep -v '^$|^#' /var/abs/core/pacman/makepkg.conf
DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')
VCSCLIENTS=('bzr::bzr'
            'git::git'
            'hg::mercurial'
            'svn::subversion')
CARCH="@CARCH@"
CHOST="@CHOST@"
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="@CARCHFLAGS@ -mtune=generic -O2 -pipe -fstack-protector-strong"
CXXFLAGS="@CARCHFLAGS@ -mtune=generic -O2 -pipe -fstack-protector-strong"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
BUILDENV=(!distcc color !ccache check !sign)
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !optipng !upx !debug)
INTEGRITY_CHECK=(md5)
STRIP_BINARIES="--strip-all"
STRIP_SHARED="--strip-unneeded"
STRIP_STATIC="--strip-debug"
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'

Which doesn't mean that the package maintainer necessarily did use
those defaults.

However, Jeanette could rebuild the package.

The PKGBUILD is available by ABS [1] and it could be downloaded from

https://git.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/libsndfile ,
too.

The makepkg config is located in

  /etc/makepkg.conf

Would strace or gdb or something else show what's going on?

FWIW for gdb usage packages need to be build with
options=(debug !strip).

"These settings will force compilation with debugging information and
will disable the stripping of debug symbols from executables. To apply
this setting to a single package, modify the PKGBUILD:

options=(debug !strip)" -
https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces

Regards,
Ralf

[1]
https://wiki.archlinux.org/index.php/Arch_Build_System
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Nov 10 16:15:02 2016

This archive was generated by hypermail 2.1.8 : Thu Nov 10 2016 - 16:15:02 EET