Package Details: libxmp 4.5.0-3

Git Clone URL: https://aur.archlinux.org/libxmp.git (read-only, click to copy)
Package Base: libxmp
Description: Library that supports over 90 module formats (Amiga, Atari, ..)
Upstream URL: http://xmp.sourceforge.net/
Licenses: GPL
Submitter: Kant
Maintainer: grimi
Last Packager: grimi
Votes: 43
Popularity: 0.099059
First Submitted: 2013-04-28 04:54
Last Updated: 2021-07-02 04:58

Latest Comments

Ferdi265 commented on 2021-07-01 13:44

@grimi: thanks for adding an attempted fix for the LTO bug.

However, the fix only works if the CFLAGS variable is set inside the build() function.

Setting it outside adds the -flto flag after the -fno-lto flag, which reenables it. Doing it directly in the configure command or before the configure command (see patch) has the same effect.

Patch:

diff --git a/PKGBUILD b/PKGBUILD
index d5c225a..ca8eab4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,10 +12,9 @@ options=(!emptydirs)
 source=("http://download.sourceforge.net/project/xmp/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
 sha256sums=('7847d262112d14e8442f44e5ac6ed9ddbca54c251284720b563c852b31f26e75')

-CFLAGS="$CFLAGS -fno-lto"
-
 build() {
   cd $pkgname-$pkgver
+  CFLAGS="$CFLAGS -fno-lto"
   ./configure --prefix=/usr
   make
 }

Ferdi265 commented on 2021-06-21 14:05

libxmp doesn't compile with LTO due to symbol versioning problems:

/tmp/cc0Gt2nX.s: Error: invalid attempt to declare external version name as default in symbol `xmp_set_player@@XMP_4.4'

PKGBUILD fix:

diff --git a/PKGBUILD b/PKGBUILD
index 0531628..5590079 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ sha256sums=('7847d262112d14e8442f44e5ac6ed9ddbca54c251284720b563c852b31f26e75')

 build() {
   cd $pkgname-$pkgver
-  ./configure --prefix=/usr
+  ./configure --prefix=/usr CFLAGS="$CFLAGS -fno-lto"
   make
 }

Chromaryu commented on 2016-03-06 23:04

4.3.12 is out.
in Sourceforge

Chromaryu commented on 2016-02-28 17:31

4.3.11 out.

and there will be 4.3.12

ssri commented on 2015-06-27 18:20

Github link: https://github.com/cmatsuoka/libxmp

donbex commented on 2013-05-30 09:06

The 'bmp' package doesn't seem to be available anymore, neither in the AUR or in the official repositories.

speps commented on 2013-05-22 12:26

@Kant 4.1.4 is out http://bpaste.net/show/100937/