Debian Bug report logs -
#790478
FTBFS with GCC 5 on !x86: invalid register name for ‘bestfit’
Reported by: Martin Michlmayr <tbm@hp.com>
Date: Mon, 29 Jun 2015 17:24:01 UTC
Severity: serious
Found in version aseprite/1.0.9+ds-2
Fixed in version aseprite/1.0.9+ds-3
Done: Tobias Hansen <thansen@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#790478; Package aseprite.
(Mon, 29 Jun 2015 17:24:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Michlmayr <tbm@hp.com>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Mon, 29 Jun 2015 17:24:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: aseprite
Version: 1.0.9+ds-2
Severity: serious
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-5
aseprite fails to build on arm64 (and presumably other non-x86 arches)
with GCC 5.
It complains about this line:
#ifdef __GNUC__
register int bestfit asm("%eax");
#else
I believe eax is a x86 register, so I'm surprised this works with GCC 4.9.
In any case, GCC 5 produces an error.
> sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c2n1.hlinux.usa.hp.com
...
> [ 37%] Building CXX object src/raster/CMakeFiles/raster-lib.dir/palette_io.cpp.o
> cd /«BUILDDIR»/aseprite-1.0.9+ds/build/src/raster && /usr/bin/c++ -DALLEGRO_STATICLINK -DENABLE_SAVE -DHAVE_CONFIG_H -DNDEBUG -DPNG_NO_MMX_CODE -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall -Wno-switch -std=gnu++11 -O2 -g -DNDEBUG -I/«BUILDDIR»/aseprite-1.0.9+ds/build/third_party/zlib -I/«BUILDDIR»/aseprite-1.0.9+ds/third_party/libpng -I/«BUILDDIR»/aseprite-1.0.9+ds/src/. -I/«BUILDDIR»/aseprite-1.0.9+ds/src/.. -I/«BUILDDIR»/aseprite-1.0.9+ds/src/../third_party -I/usr/include/pixman-1 -o CMakeFiles/raster-lib.dir/palette_io.cpp.o -c /«BUILDDIR»/aseprite-1.0.9+ds/src/raster/palette_io.cpp
> /«BUILDDIR»/aseprite-1.0.9+ds/src/raster/palette.cpp: In member function 'int raster::Palette::findBestfit(int, int, int, int) const':
> /«BUILDDIR»/aseprite-1.0.9+ds/src/raster/palette.cpp:431:16: error: invalid register name for 'bestfit'
> register int bestfit asm("%eax");
> ^
> /usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/aseprite-1.0.9+ds/build/CMakeFiles
GCC 5:
(sid)359:tbm@m400-c2n1: ..-1.0.9+ds/build/src/raster] /usr/bin/g++-5 -DALLEGRO_STATICLINK -DENABLE_SAVE -DHAVE_CONFIG_H -DNDEBUG -DPNG_NO_MMX_CODE -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall -Wno-switch -std=gnu++11 -O2 -g -DNDEBUG -I/home/tbm/aseprite-1.0.9+ds/build/third_party/zlib -I/home/tbm/aseprite-1.0.9+ds/third_party/libpng -I/home/tbm/aseprite-1.0.9+ds/src/. -I/home/tbm/aseprite-1.0.9+ds/src/.. -I/home/tbm/aseprite-1.0.9+ds/src/../third_party -I/usr/include/pixman-1 -o CMakeFiles/raster-lib.dir/palette.cpp.o -c /home/tbm/aseprite-1.0.9+ds/src/raster/palette.cpp
/home/tbm/aseprite-1.0.9+ds/src/raster/palette.cpp: In member function ‘int raster::Palette::findBestfit(int, int, int, int) const’:
/home/tbm/aseprite-1.0.9+ds/src/raster/palette.cpp:431:16: error: invalid register name for ‘bestfit’
register int bestfit asm("%eax");
^
GCC 4.9:
(sid)360:tbm@m400-c2n1: ..-1.0.9+ds/build/src/raster] /usr/bin/g++-4.9 -DALLEGRO_STATICLINK -DENABLE_SAVE -DHAVE_CONFIG_H -DNDEBUG -DPNG_NO_MMX_CODE -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall -Wno-switch -std=gnu++11 -O2 -g -DNDEBUG -I/home/tbm/aseprite-1.0.9+ds/build/third_party/zlib -I/home/tbm/aseprite-1.0.9+ds/third_party/libpng -I/home/tbm/aseprite-1.0.9+ds/src/. -I/home/tbm/aseprite-1.0.9+ds/src/.. -I/home/tbm/aseprite-1.0.9+ds/src/../third_party -I/usr/include/pixman-1 -o CMakeFiles/raster-lib.dir/palette.cpp.o -c /home/tbm/aseprite-1.0.9+ds/src/raster/palette.cpp
(sid)361:tbm@m400-c2n1: ..-1.0.9+ds/build/src/raster]
--
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard
Reply sent
to Tobias Hansen <thansen@debian.org>:
You have taken responsibility.
(Wed, 15 Jul 2015 13:36:10 GMT) (full text, mbox, link).
Notification sent
to Martin Michlmayr <tbm@hp.com>:
Bug acknowledged by developer.
(Wed, 15 Jul 2015 13:36:10 GMT) (full text, mbox, link).
Message #10 received at 790478-close@bugs.debian.org (full text, mbox, reply):
Source: aseprite
Source-Version: 1.0.9+ds-3
We believe that the bug you reported is fixed in the latest version of
aseprite, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 790478@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Tobias Hansen <thansen@debian.org> (supplier of updated aseprite package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 15 Jul 2015 15:04:27 +0200
Source: aseprite
Binary: aseprite
Architecture: source amd64
Version: 1.0.9+ds-3
Distribution: sid
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Tobias Hansen <thansen@debian.org>
Description:
aseprite - sprite and pixel art editor
Closes: 790478
Changes:
aseprite (1.0.9+ds-3) unstable; urgency=medium
.
* debian/patches/dont_use_x86_assembly.patch:
- Added. Fixes FTBFS with GCC 5. (Closes: #790478)
Checksums-Sha1:
441df1a14cb13796c615828c837c5ea894e93f18 2063 aseprite_1.0.9+ds-3.dsc
0cf2e2648b469a7bb055df7f01d995f3f1637743 20280 aseprite_1.0.9+ds-3.debian.tar.xz
2201387bc6bd884729d9dd78284ed5a41d2d9ad8 900064 aseprite_1.0.9+ds-3_amd64.deb
Checksums-Sha256:
bb16c7441048c3070ef86723aab5386098d6f42ffb2389c7852ec95058567932 2063 aseprite_1.0.9+ds-3.dsc
1ba0bc2de1beca9fe9c3cc23d85c0608c3bb53da253dfe435762678406bd7371 20280 aseprite_1.0.9+ds-3.debian.tar.xz
0de33028f7e639b5b9051b8ce0d0aa6ec402e0e7e8f2640431ea8274942c8487 900064 aseprite_1.0.9+ds-3_amd64.deb
Files:
cdc19f9d23147ba39bb2a01eb45fc731 2063 graphics optional aseprite_1.0.9+ds-3.dsc
ac8037f028c7cece74b252c5736a2804 20280 graphics optional aseprite_1.0.9+ds-3.debian.tar.xz
8f31bdb58ba5ca957d047dfd214a16b9 900064 graphics optional aseprite_1.0.9+ds-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVpl0vAAoJEIyCFp2Ozs0qaeYQAKUCsmWvbXWYNlvNFX5JXwGR
c1CJEBxRA6EZNXNGk9GUa9j61JcpzcuIkThqS/sP1ZKWgwVlwxgNAs+QRUZm4jLj
ahiTCWGiSWZD3F0i6GOTG52zSuQrZ6LMJW88dZp9+UsQCARe0sIsWVwl9Z9fhs90
zD/HmxEFdg9nkin9cCvgNsDB+GtAgMv44FqEmxTR9QHqt0zBwSdEmJ+5H5jj7zdi
YkziqwRAcRBJZfhpEYHPLMHw5D/3WiDCoxxg99KtPuy/1uMFhVTG8VfFqKE7Ub8m
2N3f4WPO1cNMBBkH9gYnW6uLxi4NKbv95uWiuxuIBhGK67YKVvxmEYC5t21d8ibz
RtpwyBdPE2iD4YhJ8Dri1RzAx9ytLH5bVkKkWRlIyKkOyIcPqeunaEu5Dxq8C+ON
QUCOVg7vCACRcEHZunUYvjB7/jkvCY5FImBhcoboMaY7gjDs9dhaERmYrWQF3r+q
C35m+oV0vtGvmhBaUtegwlvtjrJtAYCu8+NSsMfSAVZIP4hj0yw0DYpAV24AJmED
o7ECTEp1Eo+irgHBV94jBBNvUlKryXyhwyHIme2pzBk62oayq6Wq97EROs2PgUJe
xTiywLXozQrgQA9gKgW0oSFkCnLW7Ti8aIsLHf7fMjciHbub/FbfCTulgzJatfIS
kimKycyyujeQZlu0ujev
=rSb5
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 18 Aug 2015 07:34:22 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 14:44:59 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.