Gerald Pfeifer <ger...@freebsd.org> has reassigned Bugzilla Automation
<bugzi...@freebsd.org>'s request for maintainer-feedback to k...@freebsd.org:
Bug 197889: editors/calligra fails when default version of GCC is 4.9 (or
higher): /usr/local/lib/libIlmImf.so: undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197889



--- Description ---
This is related to PR 196712 and blocks updating the default version of
GCC from 4.8 to 4.9.

Here is a build log, apparently the problem only happens on FreeBSD 9.x,
and not 10.x:

http://package18.nyi.freebsd.org/data/93i386-default-PR196712/2015-01-18_16h49m
19s/logs/errors/calligra-2.7.5_14.log

To me it appears the problem is that calligra pulls in graphics/OpenEXR
which uses GCC in some cases, and now clang++ is trying to link bits 
prepared by two different compilers.  (Cf. PR 196853 for another case.)

/usr/bin/clang++   -O2 -pipe -fno-strict-aliasing -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wformat-security -Woverloaded-virtual -fno-common -fvisibility=hidden
-Werror=return-type -fvisibility-inlines-hidden -Wno-return-type-c-linkage -O2
-DNDEBUG -DQT_NO_DEBUG   -L/usr/local/lib
CMakeFiles/calligraauthor.dir/calligraauthor_dummy.cpp.o  -o calligraauthor 
../../lib/libkdeinit4_calligraauthor.so ../../lib/libkomain.so.12.0.0
/usr/local/lib/libkactivities.so.6.2.0 ../../lib/libkowidgets.so.12.0.0
/usr/local/lib/libkparts.so.4.14.2 ../../lib/libkotext.so.12.0.0
../../lib/libflake.so.12.0.0 ../../lib/libpigmentcms.so.12.0.0
../../lib/libkoplugin.so.12.0.0 /usr/local/lib/libImath.so
/usr/local/lib/libIlmImf.so /usr/local/lib/libIex.so /usr/local/lib/libHalf.so
/usr/local/lib/libIlmThread.so ../../lib/libkowidgetutils.so.12.0.0
../../lib/libkoodf.so.12.0.0 /usr/local/lib/libkio.so.5.14.2
/usr/local/lib/libnepomukutils.so.4.14.2 /usr/local/lib/qt4/libQtXml.so
/usr/local/lib/qt4/libQtNetwork.so /usr/local/lib/libnepomuk.so.4.14.2
/usr/local/lib/libsoprano.so ../../lib/libkundo2.so.12.0.0
/usr/local/lib/libkdeui.so.5.14.2 /usr/local/lib/qt4/libQtGui.so
/usr/local/lib/qt4/libQtSvg.so /usr/local/lib/libkdecore.so.5.14.2
/usr/local/lib/qt4/libQtDBus.so /usr/local/lib/qt4/libQtCore.so -pthread
-Wl,-rpath,/wrkdirs/usr/ports/editors/calligra/work/.build/lib:/usr/local/lib:/
usr/local/lib/qt4:
-Wl,-rpath-link,/usr/local/lib:/wrkdirs/usr/ports/editors/calligra/work/.build/
lib 
/usr/local/lib/libIlmImf.so: undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [words/part/calligraauthor] Error code 1

--- Comment #1 from Bugzilla Automation <bugzi...@freebsd.org> ---
Auto-assigned to maintainer k...@freebsd.org
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to