Created attachment 321694 [details] emerge --info with portage-multilib qimageblitz installs a 64 bit version to /usr/lib32 file /usr/lib32/libvpx.so.1.0.0: /usr/lib32/libvpx.so.1.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
Created attachment 321696 [details] build.log calls gcc without flags on line 96
cd .../work/qimageblitz-0.0.6_build/blitz && gcc -c .../work/qimageblitz-0.0.6/blitz/asm_scale.S
(In reply to comment #0) > with portage-multilib qimageblitz installs a 64 bit version to /usr/lib32 > > file /usr/lib32/libvpx.so.1.0.0: > /usr/lib32/libvpx.so.1.0.0: ELF 64-bit LSB shared object, x86-64, version 1 > (SYSV), dynamically linked, stripped That is installed by media-libs/libvpx, please file a new bug about that.
I have made two experimental commits to the KDE overlay that may fix this bug: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commitdiff;h=aa16c05452e3471adfef3a7c32298f204118e4b9 http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commitdiff;h=eb42a0e4d45d1de40ffef52d6df2a4dc35bb13aa Please review the changes (keeping in mind that I am not particularly familiar with assembler). portage-multilib users, please test to see if the bug is fixed for you.
Still does not fix it. Same error output. Linking CXX shared library libqimageblitz.so cd /var/tmp/portage/media-libs/qimageblitz-0.0.6-r1/work/qimageblitz-0.0.6_build/blitz && /usr/bin/cmake -E cmake_link_script CMakeFiles/qimageblitz.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -m32 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Wl,-O1 -Wl,--as-needed -m32 -shared -Wl,-soname,libqimageblitz.so.4 -o libqimageblitz.so.4.0.0 CMakeFiles/qimageblitz.dir/blitz.o CMakeFiles/qimageblitz.dir/colors.o CMakeFiles/qimageblitz.dir/convolve.o CMakeFiles/qimageblitz.dir/histogram.o CMakeFiles/qimageblitz.dir/blitzcpu.o CMakeFiles/qimageblitz.dir/scale.o CMakeFiles/qimageblitz.dir/scalefilter.o CMakeFiles/qimageblitz.dir/gradient.o CMakeFiles/qimageblitz.dir/asm_scale.o /usr/lib32/qt4/libQtCore.so -lpthread /usr/lib32/qt4/libQtGui.so -Wl,-rpath,/usr/lib32/qt4::::::::::: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `CMakeFiles/qimageblitz.dir/asm_scale.o' is incompatible with i386 output collect2: ld returned 1 exit status make[2]: *** [blitz/libqimageblitz.so.4.0.0] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/qimageblitz-0.0.6-r1/work/qimageblitz-0.0.6_build' make[1]: *** [blitz/CMakeFiles/qimageblitz.dir/all] Error 2 make[1]: Leaving directory `/var/tmp/portage/media-libs/qimageblitz-0.0.6-r1/work/qimageblitz-0.0.6_build' make: *** [all] Error 2 * ERROR: media-libs/qimageblitz-0.0.6-r1 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/qimageblitz-0.0.6-r1'`, * the complete build log and the output of `emerge -pqv '=media-libs/qimageblitz-0.0.6-r1'`. * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/' * The complete build log is located at '/var/tmp/portage/media-libs/qimageblitz-0.0.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/qimageblitz-0.0.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/qimageblitz-0.0.6-r1/work/qimageblitz-0.0.6_build' * S: '/var/tmp/portage/media-libs/qimageblitz-0.0.6-r1/work/qimageblitz-0.0.6' >>> Failed to emerge media-libs/qimageblitz-0.0.6-r1
!!UPDATE!! In order to emerge qimageblitz using the multilib-portage overlay you have to disable the mmx use flag.
(In reply to comment #5) > Still does not fix it. Same error output. Thanks for testing. Could you please attach the full build log?
Created attachment 331320 [details] samanderrake's faild build.log with USE=mmx
(In reply to comment #8) > Created attachment 331320 [details] > samanderrake's faild build.log with USE=mmx Do you have some eclass-overrides definitions in /etc/portage/repos.conf? If so, can you try to merge the overlay version again with those lines temporarily commented out?
(In reply to comment #9) > (In reply to comment #8) > > Created attachment 331320 [details] > > samanderrake's faild build.log with USE=mmx > > Do you have some eclass-overrides definitions in /etc/portage/repos.conf? > If so, can you try to merge the overlay version again with those lines > temporarily commented out? It emerged. with USE=mmx enabled after commenting out the lines in /etc/portage/repos.conf [DEFAULT] #eclass-overrides = gentoo multilib [multilib] #eclass-overrides = gentoo multilib
(In reply to comment #10) > It emerged. with USE=mmx enabled after commenting out the lines in > /etc/portage/repos.conf Thanks heaps for testing! The qimageblitz-specific fix is now in CVS, and the eclass fix was done in bug #432480. + 08 Dec 2012; Michael Palimaka <kensington@gentoo.org> + +files/qimageblitz-0.0.6-gcc.patch, +qimageblitz-0.0.6-r1.ebuild: + Respect CC, wrt bug #431968.