[kde-freebsd] maintainer-feedback requested: [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'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 22 01:04:51 UTC 2015


Gerald Pfeifer <gerald at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to kde at 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 <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer kde at FreeBSD.org


More information about the kde-freebsd mailing list