From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 22 01:04:52 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 139CF55B for ; Sun, 22 Feb 2015 01:04:52 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB71CFA for ; Sun, 22 Feb 2015 01:04:51 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1M14pqX001669 for ; Sun, 22 Feb 2015 01:04:51 GMT (envelope-from bugzilla-noreply@freebsd.org) 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' Date: Sun, 22 Feb 2015 01:04:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gerald@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter blocked flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 01:04:52 -0000 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 --- Auto-assigned to maintainer kde@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.