GNU bug report logs -
#42678
[PATCH, WIP] gnu: libimagequant: Update to 2.12.6
Previous Next
Reported by: Hendur Saga <hendursaga <at> yahoo.com>
Date: Sun, 2 Aug 2020 17:14:02 UTC
Severity: normal
Tags: patch
Done: Jelle Licht <jlicht <at> fsfe.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42678 in the body.
You can then email your comments to 42678 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#42678
; Package
guix-patches
.
(Sun, 02 Aug 2020 17:14:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Hendur Saga <hendursaga <at> yahoo.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 02 Aug 2020 17:14:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
Just a simple update, but sadly, I am unable to build using QEMU for other platforms. Same as with previous version, it does NOT build correctly on armhf.
starting phase `configure'
source directory: "/tmp/guix-build-libimagequant-2.12.6.drv-0/source" (relative from build: ".")
build directory: "/tmp/guix-build-libimagequant-2.12.6.drv-0/source"
configure flags: ("CONFIG_SHELL=/gnu/store/7zp9ifpgm3zj481nk6jg1im13g4mza2g-bash-minimal-5.0.16/bin/bash" "SHELL=/gnu/store/7zp9ifpgm3zj481nk6jg1im13g4mza2g-bash-minimal-5.0.16/bin/bash" "--prefix=/gnu/store/m65h6a45pz3wpraiid99hqq0rcbk5s9w-libimagequant-2.12.6" "--enable-fast-install" "--build=arm-unknown-linux-gnueabihf")
warning: unknown switch 'CONFIG_SHELL' (see ./configure --help for the list)
warning: unknown switch 'SHELL' (see ./configure --help for the list)
warning: unknown switch '--enable-fast-install' (see ./configure --help for the list)
warning: unknown switch '--build' (see ./configure --help for the list)
Compiler: gcc
Debug: no
SSE: yes
OpenMP: no
phase `configure' succeeded after 3.3 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -Wno-unknown-pragmas -fexcess-precision=fast -c -o pam.o pam.c
gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -Wno-unknown-pragmas -fexcess-precision=fast -c -o mediancut.o mediancut.c
gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -Wno-unknown-pragmas -fexcess-precision=fast -c -o blur.o blur.c
gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -Wno-unknown-pragmas -fexcess-precision=fast -c -o mempool.o mempool.c
gcc: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
make: *** [<builtin>: pam.o] Error 1
make: *** Waiting for unfinished jobs....
gcc: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
gcc: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
make: *** [<builtin>: mediancut.o] Error 1
make: *** [<builtin>: blur.o] Error 1
gcc: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
make: *** [<builtin>: mempool.o] Error 1
command "make" "-j" "4" failed with status 2
It appears to be an false assumption of SSE2 support where there is none? In addition, the same error happens when building this new version on aarch64, but not the previous one. The package definition for gemmlowp might have a clue as to what to do here.
Since QEMU is a machine emulator/virtualizer, I'm not sure how relevant this is, but my machine's CPU does not have SSE2 itself, AFAIK.
- Hendursaga
[Message part 2 (text/html, inline)]
[0001-gnu-libimagequant-Update-to-2.12.6.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#42678
; Package
guix-patches
.
(Mon, 03 Aug 2020 07:27:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 42678 <at> debbugs.gnu.org (full text, mbox):
Hello,
> Just a simple update, but sadly, I am unable to build using QEMU for other platforms. Same as with previous version, it does NOT build correctly on armhf.
You mean using "-s armhf-linux"?
I tried to build it using this command:
--8<---------------cut here---------------start------------->8---
guix build libimagequant --target=arm-linux-gnueabihf
--8<---------------cut here---------------end--------------->8---
and I have a build trace similar to yours. The issue seems to be that
the configure script does not detect our intent to cross-compile,
because it uses "gcc" instead of "arm-linux-gnueabihf-gcc".
Mathieu
Information forwarded
to
guix-patches <at> gnu.org
:
bug#42678
; Package
guix-patches
.
(Mon, 03 Aug 2020 07:48:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 42678 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Mon, Aug 03, 2020 at 09:26:41AM +0200, Mathieu Othacehe wrote:
>
> Hello,
>
> > Just a simple update, but sadly, I am unable to build using QEMU for other platforms. Same as with previous version, it does NOT build correctly on armhf.
>
> You mean using "-s armhf-linux"?
>
> I tried to build it using this command:
>
> --8<---------------cut here---------------start------------->8---
> guix build libimagequant --target=arm-linux-gnueabihf
> --8<---------------cut here---------------end--------------->8---
>
> and I have a build trace similar to yours. The issue seems to be that
> the configure script does not detect our intent to cross-compile,
> because it uses "gcc" instead of "arm-linux-gnueabihf-gcc".
>
> Mathieu
>
Also armhf and aarch64 don't have the SSE instruction code as part of
the architecture. lensfun in gnu/packages/photo.scm has an example of
disabling SSE on all platforms except for x64_64 and i686.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Jelle Licht <jlicht <at> fsfe.org>
:
You have taken responsibility.
(Sun, 28 May 2023 22:00:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Hendur Saga <hendursaga <at> yahoo.com>
:
bug acknowledged by developer.
(Sun, 28 May 2023 22:00:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 42678-done <at> debbugs.gnu.org (full text, mbox):
Superseded by d6f1e8135676a4d38fda9927434999312b60ba21 on master. Closing.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 26 Jun 2023 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 320 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.