- Declare a PATCH_DEPENDS on emulators/linux_base-8 only if actually using
RTPpatch to apply an Intel provided binary patch.
- Turn the GCC-compatibility of ICC on by default for FreeBSD >= 502108;
except for one bug which is worked around by this port and will be fixed
in src later FreeBSD gained support for using the GCC-compatibility along
with the patch to compile the kernel with ICC (but the ICC 8.0 series
wasn't configurable/hackable enough to actually use it on FreeBSD, which
resulted into the aforementioned bug).
- On FreeBSD >= 502108 default to using libstdc++ from the base as STL
instead of STLport unless "-cxxlib-icc" is passed to icpc (made possible
by turning on the GCC-compatibility and the compatibility to GCC 3.3 and
3.4 which was added to ICC 8.1). On FreeBSD < 502108 STLport i.e.
devel/stlport-icc is and will continue to be the only STL available.
Update the instructions displayed by the post-install target accordingly.
- Put the wrappers for glibc specific symbols and other GNU/Linux compat
hacks into their own library "libiccfbsd" and teach the ld-wrapper to
injected this lib instead of adding these things to the Intel libcxa and
libcxaguard. Beginning with ICC 8.1 non of the Intel libs is "guaranteed"
to be linked into resulting executable (this is actually a fix in ICC
as libcxa and libcxaguard are C++ only). This fixes linking against libm
with icc amongst other things [1].
- Clean the ld-wrapper up a bit. Stop trying to create a perfect world for
the real ld(1) regarding superfluous linkage options, ICC natively passes
far to many of them to the linker that we easily could remove them all.
- Change the ld-wrapper to allow for bootstrapping STLport in a bit
different way that we used to do it, required to make devel/stlport-icc
build correctly again.
- Use fmt(1) to print the infos displayed by the post-install target so
the text is formated properly after the included variables are expanded [2].
Todo: - Rework the freaking thread library selection via the PTHREAD_LIBS
environment variable by the ld-wrapper, this causes really annoying
problems when compiling ports with ICC. Some functionality analogous
to the GCC "-pthread" option (which is also known by ICC but is not
documented and doesn't do the right thing for FreeBSD) would be great.
- Make devel/stlport-icc build again with ICC 8.1 after devel/stlport
has been updated to 4.6.2 (PR 73604). Patch for 4.5.3 already done.
Reported by: Dan Nelson <dnelson@allantgroup.com> [1]
Courtesy of: netchild [2]
Approved by: netchild
- add NOPRECIOUSMAKEVARS to avoid changing ARCH
- fix build and unbreak this port on 5.x
- not to STRIP scripts
PR: (based on) 71982
Submitted by: leeym
Approved by: maintainer timeout
- For changes since the 8.0 series see the installed C++ReleaseNotes.htm
but note that information given there doesn't necessarily apply to ICC
on FreeBSD, e.g. -cxxlib-gcc isn't the default on FreeBSD yet and this
port also doesn't install the Eclipse and CDT IDEs.
- ICC now unfortunately requires emulators/linux_base-8.
- Works fine for compiling C source.
- A 6.0-current GENERIC kernel compiles and boots.
- The devel/stlport-icc port currently can't link the exception handling
testsuite with this ICC version (due to relying on a missbehaviour of
the old ICC versions) and has to be changed in a way that doesn't break
lang/icc7.
- Support for using the GCC-compatibility of ICC on FreeBSD and using
the GNU libstdc++ as the STL with ICC is in the works.
o Like with the system GCC, default to libpthread for the threads library
on FreeBSD >= 502102.
Approved by: netchild
In joint forces with: netchild