Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created April 19, 2012 20:26
Show Gist options
  • Save springmeyer/2423933 to your computer and use it in GitHub Desktop.
Save springmeyer/2423933 to your computer and use it in GitHub Desktop.
clang++ fatal error with node-mapnik's mapnik_feature.cpp
[ 5/20] cxx: src/mapnik_feature.cpp -> build/Release/src/mapnik_feature_1.o
13:25:53 runner system command -> ['/Developer/usr/bin/clang++', '-g', '-O3', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-fPIC', '-compatibility_version', '1', '-current_version', '1', '-I/usr/local/include', '-I/Users/dane/Downloads/oracle10g/include', '-I/opt/libpng-1.5.8/include', '-I/opt/freetype2.4.9/include/freetype2', '-I/opt/freetype2.4.9/include', '-I/opt/boost-49/include', '-I/usr/local/Cellar/postgresql/9.1.3/include', '-I/usr/local/Cellar/geos/3.3.2/include', '-I/usr/local/Cellar/gdal/1.9.0/include', '-I/usr/local/Cellar/icu4c/4.8.1.1/include', '-I/usr/local/include', '-I/usr/include', '-I/usr/include/libxml2', '-DHAVE_JPEG', '-DBOOST_REGEX_HAS_ICU', '-ansi', '-Wall', '-Wno-array-bounds', '-Wno-char-subscripts', '-Wno-parentheses-equality', '-Wno-unused-function', '-Wno-unused-parameter', '-Wno-missing-field-initializers', '-ftemplate-depth-300', '-DDARWIN', '-DBOOST_SPIRIT_THREADSAFE', '-DMAPNIK_THREADSAFE', '-O3', '-finline-functions', '-Wno-inline', '-Wno-parentheses', '-Wno-char-subscripts', '-DNDEBUG', '-fcatch-undefined-behavior', '-ftrapv', '-fwrapv', '-DHAVE_LIBXML2', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-I/usr/local/include/node', '../src/mapnik_feature.cpp', '-c', '-o', 'Release/src/mapnik_feature_1.o']
clang: warning: argument unused during compilation: '-compatibility_version 1'
clang: warning: argument unused during compilation: '-current_version 1'
fatal error: error in backend: Cannot select: 0x7fdf4b08b110: i64 = shl 0x7fdf4b0d9d10, 0x7fdf4b088510 [ID=22]
dbg:/usr/include/architecture/i386/math.h:189:103
0x7fdf4b0d9d10: i64 = fgetsign 0x7fdf4b0d9810 [ID=20] dbg:/usr/include/architecture/i386/math.h:189:103
0x7fdf4b0d9810: f64,ch = CopyFromReg 0x7fdf49dcd8d8, 0x7fdf4b08be10 [ORD=6644] [ID=16] dbg:/usr/include/architecture/i386/math.h:189:103
0x7fdf4b08be10: f64 = Register %vreg9 [ORD=6644] [ID=1]
0x7fdf4b088510: i64 = Constant<63> [ID=15]
Waf: Leaving directory `/Users/dane/projects/node-mapnik/build'
Build failed: -> task failed (err #1):
{task: cxx mapnik_feature.cpp -> mapnik_feature_1.o}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment