[Bug 197907] graphics/openimageio 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:56:28 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197907
Bug ID: 197907
Summary: graphics/openimageio 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: freebsd-ports-bugs at FreeBSD.org
Reporter: gerald at FreeBSD.org
CC: FreeBSD at ShaneWare.Biz, mandree at FreeBSD.org
Blocks: 196712
CC: FreeBSD at ShaneWare.Biz
Flags: maintainer-feedback?(FreeBSD at ShaneWare.Biz)
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/openimageio-1.4.14_2.log
/usr/bin/c++ -O2 -pipe -fno-strict-aliasing -march=i586 -O2 -pipe
-fno-strict-aliasing CMakeFiles/iconvert.dir/iconvert.cpp.o -o iconvert
-L/usr/local/lib ../libOpenImageIO/libOpenImageIO.so.1.4.14
/usr/local/lib/libboost_filesystem.so /usr/local/lib/libboost_regex.so
/usr/local/lib/libboost_system.so /usr/local/lib/libboost_thread.so
/usr/local/lib/libHalf.so /usr/local/lib/libIex.so /usr/local/lib/libImath.so
/usr/local/lib/libIlmThread.so -pthread -lopencv_core -lopencv_highgui -lssl
-lcrypto /usr/local/lib/libHalf.so /usr/local/lib/libIex.so
/usr/local/lib/libImath.so /usr/local/lib/libIlmThread.so
/usr/local/lib/libpng.so -lz /usr/local/lib/libtiff.so
/usr/local/lib/libjpeg.so -lz /usr/local/lib/libtiff.so
/usr/local/lib/libjpeg.so /usr/local/lib/libopenjpeg.so
/usr/local/lib/libwebp.so /usr/local/lib/libIlmImf.so /usr/local/lib/libgif.so
-Wl,-rpath,/usr/local/lib:/wrkdirs/usr/ports/graphics/openimageio/work/.build/src/libOpenImageIO:
/usr/local/lib/libIlmImf.so: undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
*** [src/iconvert/iconvert] Error code 1
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainer CC'd
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list