Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2015 01:04:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [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'
Message-ID:  <bug-197889-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197889

            Bug ID: 197889
           Summary: 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'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: gerald@FreeBSD.org
            Blocks: 196712
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

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_16h49m19s/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@FreeBSD.org> ---
Auto-assigned to maintainer kde@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197889-13>