Date: Tue, 31 Dec 2013 16:11:55 +0200 From: Jukka Ukkonen <jau789@gmail.com> To: gnome@FreeBSD.org Subject: eog-2.32.1_4 build fails when using clang-3.3 on FreeBSD-9.2-stable (amd64) Message-ID: <52C2D0AB.7010706@gmail.com>
next in thread | raw e-mail | index | archive | help
Here is the tail of the build time complaint... Making all in src gmake[2]: Entering directory `/usr/ports/graphics/eog/work/eog-2.32.1/src' gmake all-am gmake[3]: Entering directory `/usr/ports/graphics/eog/work/eog-2.32.1/src' CC libeog_la-eog-transform.lo Assertion failed: (ExitBr->isConditional() && "If unconditional, it can't be in loop!"), function ComputeExitLimit, file /usr/src/lib/clang/libllvmanalysis/../../../contrib/llvm/lib/Analysis/ScalarEvolution.cpp, line 4342. Stack dump: 0. Program arguments: /usr/bin/cc -cc1 -triple x86_64-unknown-freebsd9.2 -emit-obj -disable-free -main-file-name eog-transform.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -coverage-file /usr/ports/graphics/eog/work/eog-2.32.1/src/.libs/libeog_la-eog-transform.o -resource-dir /usr/bin/../lib/clang/3.3 -dependency-file .deps/libeog_la-eog-transform.Tpo -sys-header-deps -MP -MT libeog_la-eog-transform.lo -D HAVE_CONFIG_H -D ORBIT2=1 -D _THREAD_SAFE -D G_LOG_DOMAIN="EOG" -D EOG_PREFIX="/usr/local" -D EOG_DATA_DIR="/usr/local/share/eog" -D EOG_LOCALE_DIR="/usr/local/share/locale" -D EOG_PIXMAPS_DIR="/usr/local/share/pixmaps/eog" -D EOG_PLUGIN_DIR="/usr/local/lib/eog/plugins" -D _THREAD_SAFE -D _THREAD_SAFE -D PIC -I . -I .. -I /usr/local/include -I ../jpegutils -I ../cut-n-paste/toolbar-editor -I ../cut-n-paste/totem-screensaver -I /usr/local/include/gnome-desktop-2.0 -I /usr/local/include/startup-notification-1.0 -I /usr/local/include/gconf/2 -I /usr/local/include/orbit-2.0 -I /usr/local/include/gtk-unix-print-2.0 -I /usr/local/include/gtk-2.0 -I /usr/local/include/gio-unix-2.0/ -I /usr/local/include/atk-1.0 -I /usr/local/include/pango-1.0 -I /usr/local/include/harfbuzz -I /usr/local/include/exempi-2.0 -I /usr/local/include/dbus-1.0 -I /usr/local/include/dbus-1.0/include -I /usr/local/include/librsvg-2.0 -I /usr/local/include/gdk-pixbuf-2.0 -I /usr/local/include/cairo -I /usr/local/include/glib-2.0 -I /usr/local/include/pixman-1 -I /usr/local/include/freetype2 -I /usr/local/include/drm -I /usr/local/include/libpng15 -I /usr/local/include -I /usr/local/include -I /usr/local/include/pygtk-2.0 -I /usr/local/lib/libffi-3.0.13/include -I /usr/local/include/gtk-2.0 -I /usr/local/include/gio-unix-2.0/ -I /usr/local/include/atk-1.0 -I /usr/local/include/cairo -I /usr/local/include/pixman-1 -I /usr/local/include/drm -I /usr/local/include/gdk-pixbuf-2.0 -I /usr/local/include/libpng15 -I /usr/local/include/pango-1.0 -I /usr/local/include/glib-2.0 -I /usr/local/include -I /usr/local/include/freetype2 -I /usr/local/include/harfbuzz -I /usr/local/include/python2.7 -O3 -Wall -Wmissing-prototypes -fdebug-compilation-dir /usr/ports/graphics/eog/work/eog-2.32.1/src -ferror-limit 19 -fmessage-length 80 -pthread -mstackrealign -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops -o .libs/libeog_la-eog-transform.o -x c eog-transform.c 1. <eof> parser at end of file 2. Per-module optimization passes 3. Running pass 'CallGraph Pass Manager' on module 'eog-transform.c'. 4. Running pass 'Loop Pass Manager' on function '@eog_transform_apply' 5. Running pass 'Loop Vectorization' on basic block '%for.body209.us' cc: error: unable to execute command: Abort trap: 6 (core dumped) cc: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: x86_64-unknown-freebsd9.2 Thread model: posix cc: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. cc: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: cc: note: diagnostic msg: /tmp/eog-transform-Fs2XSj.c cc: note: diagnostic msg: /tmp/eog-transform-Fs2XSj.sh cc: note: diagnostic msg: ******************** gmake[3]: *** [libeog_la-eog-transform.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/graphics/eog/work/eog-2.32.1/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/graphics/eog/work/eog-2.32.1/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/eog/work/eog-2.32.1' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/graphics/eog. The build works when I add the line ... USE_GCC=yes to the Makefile. Maybe this should be the default until the default version of clang on FreeBSD-9.2 has reached the maturity to handle the build. Cheers, --jau
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52C2D0AB.7010706>