[Bug 197894] graphics/exact-image fails to build when USE_GCC=yes implies GCC 4.9
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 22 01:27:24 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197894
Bug ID: 197894
Summary: graphics/exact-image fails to build when USE_GCC=yes
implies GCC 4.9
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: bf at FreeBSD.org
Reporter: gerald at FreeBSD.org
CC: mandree at FreeBSD.org
Blocks: 196712
Flags: maintainer-feedback?(bf at FreeBSD.org)
Assignee: bf at FreeBSD.org
This is related to PR 196712 and blocks updating the default version of
GCC from 4.8 to 4.9.
I believe what is happening here is that OpenEXR uses GCC on older
versions of FreeBSD and when linking with the OpenEXR libraries we
then fail to pull in the proper NEWER GCC run-time libraries.
This can be fixed by building (or at least linking) with the same
compiler that OpenEXR is built with. See OpenEXR/Makefile for how
this is done there.
http://package18.nyi.freebsd.org/data/93i386-default-PR196712/2015-01-18_16h49m19s/logs/errors/exact-image-0.8.9_9.log
c++ -O2 -pipe -fno-strict-aliasing -I utility/ -fPIC -funroll-loops
-fomit-frame-pointer -fpermissive -I/usr/local/include -I .
-I/usr/local/include/agg2 -I/usr/local/include/freetype2 -I lib -I utility
-pthread -I/usr/local/include/OpenEXR -I codecs/ -I bardecode -I utility -I
utility -o 'objdir/frontends/econvert' objdir/frontends/econvert.o
objdir/lib/lib.a objdir/codecs/lib.a objdir/bardecode/bardecode.a
objdir/utility/ArgumentList.o objdir/utility/File.o -L/usr/local/lib
-Wl,-rpath,/usr/local/lib -lagg -laggfontfreetype -L/usr/local/lib -lfreetype
-ljpeg -ltiff -lpng -lgif -ljasper -lIlmImf -L/usr/local/lib -lImath-2_2
-lIexMath-2_2 -lHalf -lIex-2_2 -lIlmThread-2_2 -pthread -L/usr/local/lib -llcms
-lexpat -lz
/usr/local/lib/libIlmImf.so: undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
build/bottom.make:84: recipe for target 'objdir/frontends/econvert' failed
gmake: *** [objdir/frontends/econvert] Error 1
rm objdir/frontends/econvert.o
*** [do-build] Error code 1
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer bf at FreeBSD.org
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list