Project

General

Profile

Bug #10196

asm error during build process

Added by Joe Giampaoli almost 5 years ago. Updated almost 5 years ago.

Status:
Fixed
Priority:
Low
Assignee:
Category:
General
Start date:
11/16/2014
Due date:
% Done:

100%

Estimated time:
Affected Version:
git development version
System:
Debian
bitness:
32-bit
hardware architecture:
amd64/x86

Description

Just checked out GIT to test run the new 1.6 candidate. During build I get the following error at 32% of the progress:

[ 32%] Building C object src/CMakeFiles/lib_darktable.dir/common/dbus.c.o
/home/joe/Desktop/darktable/src/common/darktable.c: In function ‘dt_init’:
/home/joe/Desktop/darktable/src/common/darktable.c:415:5: error: inconsistent operand constraints in an ‘asm’
/home/joe/Desktop/darktable/src/common/darktable.c:426:7: error: inconsistent operand constraints in an ‘asm’
[ 32%] Building CXX object src/CMakeFiles/lib_darktable.dir/common/exif.cc.o
make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/darktable.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
make: *** [all] Error 2
joe@gh-node1:~/Desktop/darktable$ 

I hope this has nothing to do with the fact that I'm on 32 bit linux (Debian to be more specific), I am running a custom PAE kernel so I can run more than 4GB in 32 bit mode.

Any solution? Thanks!

Joe Giampaoli

Associated revisions

Revision 902944fb (diff)
Added by Roman Lebedev almost 5 years ago

Take CPUFeatures from LF/RS. Fixes #10196
FIXME: verify those bit numbers. here it does not detect AVX !!!

Revision 85dbc18a
Added by Roman Lebedev almost 5 years ago

Merge pull request #745 from LebedevRI/cpuid-fix

Take CPUFeatures from LF/RS. Fixes #10196

History

#1 Updated by Joe Giampaoli almost 5 years ago

BTW, I am already running 1.4.2 built on my side without issues, so I seem to have all dev libs already installed (such as libdbus-dev and libexif-dev), not sure if needed versions have changed though...

#2 Updated by Igor Kuzmin almost 5 years ago

Which compiler version are you using? Please post the output of cmake when configuring.

#3 Updated by Joe Giampaoli almost 5 years ago

Using cmake 2.8.9 from Debian repos. This is the output from cmake:


joe@gh-node1:~/Desktop/darktable/build$ cmake -DCMAKE_BUILD_TYPE=Release ..
-- The CXX compiler identification is GNU 4.7.2
-- The C compiler identification is GNU 4.7.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- multiarch triplet detected: i386-linux-gnu
-- Determining version
-- Looking for external programs
-- Found perl
-- Found intltool-merge
-- Found xsltproc
-- Found xmllint
-- All external programs found
-- Found Gettext 
-- Found msgfmt to convert language file. Translation enabled
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'glib-2.0'
--   found glib-2.0, version 2.32.4
-- Found Glib 
-- Found GTK2_GTK: /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so  
-- Found LibXml2: /usr/lib/i386-linux-gnu/libxml2.so (found suitable version "2.8.0", required is "2.6") 
-- Found GPHOTO2: /usr/lib/i386-linux-gnu/libgphoto2.so  
-- Could NOT find INOTIFY (missing:  INOTIFY_INCLUDE_DIR) 
-- Found OPENEXR: /usr/lib/libIlmImf.so;/usr/lib/libImath.so;/usr/lib/libIex.so;/usr/lib/libIlmThread.so  
-- checking for module 'libwebp'
--   package 'libwebp' not found
-- Could NOT find WEBP (missing:  WEBP_LIBRARY WEBP_INCLUDE_DIR) (Required is at least version "0.3.0")
-- checking for module 'lensfun'
--   found lensfun, version 0.2.5
-- Found LENSFUN: /usr/lib/liblensfun.so  
-- checking for module 'gio-2.0'
--   found gio-2.0, version 2.32.4
-- Found GIO 
-- Found GThread: /usr/lib/i386-linux-gnu/libgthread-2.0.so  
-- Found GModule: /usr/lib/i386-linux-gnu/libgmodule-2.0.so  
-- checking for module 'cairo'
--   found cairo, version 1.12.2
-- Found Cairo 
-- Found PANGOCAIRO: /usr/lib/i386-linux-gnu/libpangocairo-1.0.so  
-- Found PThread: /usr/lib/i386-linux-gnu/libpthread.so  
-- Found RSVG2: /usr/lib/i386-linux-gnu/librsvg-2.so  
-- checking for module 'gdk-pixbuf-2.0'
--   found gdk-pixbuf-2.0, version 2.26.1
-- Found GDK-PixBuf 
-- Found LibXml2: /usr/lib/i386-linux-gnu/libxml2.so (found version "2.8.0") 
-- Found SQLITE3: /usr/lib/i386-linux-gnu/libsqlite3.so  
-- Found EXIV2: /usr/lib/libexiv2.so  
-- Found CURL: /usr/lib/i386-linux-gnu/libcurl.so (found version "7.26.0") 
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.7") 
-- Found PNG: /usr/lib/i386-linux-gnu/libpng.so (found version "1.2.49") 
-- Found JPEG: /usr/lib/i386-linux-gnu/libjpeg.so  
-- Found TIFF: /usr/lib/i386-linux-gnu/libtiff.so (found version "3.9.6") 
-- Found LCMS2: /usr/lib/i386-linux-gnu/liblcms2.so  
-- Internationalization: Enabled
-- Could NOT find FLICKCURL (missing:  FLICKCURL_LIBRARY FLICKCURL_INCLUDE_DIR) 
-- checking for module 'json-glib-1.0'
--   package 'json-glib-1.0' not found
-- checking for module 'libopenjpeg1'
--   package 'libopenjpeg1' not found
-- Found OpenJPEG: /usr/lib/i386-linux-gnu/libopenjpeg.so  
-- OpenJPEG version 1.3.0 found. Only 1.5 and newer support reading of icc profiles.
-- checking for module 'libsecret-1'
--   package 'libsecret-1' not found
-- Could NOT find LIBSECRET (missing:  LIBSECRET_INCLUDE_DIRS LIBSECRET_LIBRARIES) 
-- checking for module 'gnome-keyring-1'
--   found gnome-keyring-1, version 3.4.1
-- Found GNOMEKEYRING: /usr/lib/i386-linux-gnu/libgnome-keyring.so  
-- checking for module 'GraphicsMagick'
--   package 'GraphicsMagick' not found
-- Checking for -march=native support
-- Performing Test MARCHNATIVE
-- Performing Test MARCHNATIVE - Success
-- checking for one of the modules 'lua5.2;lua-5.2;lua'
-- Lua support: Enabled
-- checking for one of the modules 'libsoup-2.4;libsoup2'
-- checking for one of the modules 'libsoup-2.2;libsoup2'
-- Map mode: enabled
-- checking for module 'colord'
--   found colord, version 0.1.21
-- checking for module 'gobject-2.0'
--   found gobject-2.0, version 2.32.4
-- Found GObject 
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- no colord support for darktable-cmstest. not cool.
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found SDL: /usr/lib/i386-linux-gnu/libSDLmain.a;/usr/lib/i386-linux-gnu/libSDL.so  
-- Found OpenGL: /usr/lib/libGL.so  
-- 
-- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "1.6.0.32")
Missing xml2po. No localized usermanuals are build
Missing xml2po
Can NOT update usermanual
-- Configuring done
-- Generating done
-- Build files have been written to: /home/joe/Desktop/darktable/build
joe@gh-node1:~/Desktop/darktable/build$ 

#4 Updated by Joe Giampaoli almost 5 years ago

Just tested with newest cmake (3.0.2) with same error, reverted back to Debian's version.

Thanks

#5 Updated by Roman Lebedev almost 5 years ago

  • Assignee set to Roman Lebedev

#6 Updated by Roman Lebedev almost 5 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed
  • Category changed from Buildsystem to General

Thanks for reporting, should be fixed now.

#7 Updated by Joe Giampaoli almost 5 years ago

Absolutely! Thanks a bunch, git working fine.

Tried also the just posted RC 1.5.1 with errors at the very end of the cmake checking (never got this error yesterday), just in case you need or want to know, but I assume you fixed after the release of 1.5.1:

-- Found OpenGL: /usr/lib/libGL.so  
-- 
-- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "1.6.0.32")
Missing xml2po. No localized usermanuals are build
Missing xml2po
Can NOT update usermanual
-- Configuring incomplete, errors occurred!

Thanks again!

Also available in: Atom PDF

Go to top