Commit Graph

80 Commits

Author SHA1 Message Date
Marius Strobl
e74a020fb9 - Update to 8.1.024.
- 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
2004-11-16 20:14:47 +00:00
Marius Strobl
9bb80ef3fe o Preliminary update to 8.1.022:
- 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
2004-11-02 23:27:26 +00:00
Alexander Leidinger
b2a8b75742 Update to 8.0.066p070.1. 2004-07-24 11:16:50 +00:00
Alexander Leidinger
0d3573e3ac Update to 8.0.066p069.1. 2004-06-29 16:13:11 +00:00
Alexander Leidinger
d5b092ee1c Change the way we handle the version numbering to be more correct
to the way pkg_version handles it.

Submitted by:	eik
2004-06-03 11:19:01 +00:00
Alexander Leidinger
5c609528a6 Update to 8.0.066.p067.1. 2004-06-02 17:04:54 +00:00
Alexander Leidinger
453e18e24e icc 8.0.066 now adds "-m elf_i386" in some circumstances. Remove this part
of the command line in the ld wrapper.

Noticed by:	Morten Rodal <morten@rodal.no>
2004-05-07 11:54:55 +00:00
Alexander Leidinger
7d05a42e5f Update to 8.0.066. 2004-04-30 11:34:23 +00:00
Alexander Leidinger
d4ebb0784c Update to 8.0.058.p063.1. 2004-03-27 13:22:42 +00:00
Alexander Leidinger
9a2a31e863 Update to 8.0.058.p061.
This version fixes the stlport test cases (heap corruption due to
inlining and exception handling).
2004-03-17 14:00:02 +00:00
Alexander Leidinger
baa8612f1d - some base system headers know about icc now, don't override them
where appropriate [1]
- make portlint happy [1]
- sync icc7 and icc [1]
- add linux_base as a patch depends for icc v8

Submitted by:	Marius Strobl <marius@alchemy.franken.de> [1]
Requested by:	maintainer [1]
2004-03-13 10:33:18 +00:00
Alexander Leidinger
8ef8e337e0 Update to 8.0.058.p060. 2004-02-26 13:21:46 +00:00
Alexander Leidinger
6919cc4384 icc & icc7:
- correct the use of ECHO_CMD and ECHO (swap them) [1]

icc:
 - fix the DISTFILE handling, it's automatically available after
   bsd.port.post.mk, not after bsd.port.pre.mk, so set it explicitly
   to be able to use it in the check for the IGNORE message [1]

icc7:
 - don't extract the Intel debugger, it's not usable without a
   threads debugging lib
 - USE_SIZE

Noticed after:			reading the commit log/diff of the
				ifc port [1]
Submitted indirectly by:	maho, hrs [1]
2004-02-01 13:37:13 +00:00
Alexander Leidinger
e05c290c83 - update to 8.0.058.p059
- use SIZE
- remove variables for objcopy and brandelf, they're now available
  from bsd.port.mk
- use a more generic chmod command
2004-01-30 12:41:19 +00:00
Trevor Johnson
439b8a040c Use the CPIO macro defined in bsd.port.mk. 2004-01-22 12:18:43 +00:00
Alexander Leidinger
3b08f6904f - update to 8.0.058
- add intel-patch target to easy porting effort of future versions [1]
- remove intel debugger rpm, as long as we don't have a libthread_db
  we can't use it [2]

Note: The stlport-icc exception handling test will still fail with this
      version.

Suggested by (sort of):	Marius Strobl <marius@alchemy.franken.de> [1]
Noticed by:		Marius Strobl <marius@alchemy.franken.de> [2]
2004-01-19 14:13:32 +00:00
Alexander Leidinger
5b75a54ddf Update to 8.0.055.p057.
As Intel uses it's own directory for ifc and icc, we don't conflict with
ifc anymore.

Because of ABI changes, you have to recompile C++ programs (don't forget
stlport-icc).

Note that this port is a _work in progress_:
 - Icc allows to use an already installed libstdc++ from gcc, this doesn't
   work yet on FreeBSD. Libstdc++ on 4.x is too old, so it's unlikely we
   can add support for it. The headers of libstdc++ shipping with FreeBSD
   5.2-CURRENT use GCCisms not (yet) supported by icc, the hardcoded search
   path for them also doesn't fit for FreeBSD 5.2-CURRENT.
 - We've incorporated parts (cxa) of the FreeBSD >= 502101 libc on < 502101
   systems. It's tested on 4.x, but not on FreeBSD < 502101.
 - Not all (new) options (including GCC compatibility) are thoroughly
   tested.

When encountering problems please report to me first instead of directly
contacting Intel.

Ackknowledgements:
 - Bradley T Hughes <bhughes@trolltech.com> for PR 59552, it resulted in
   a modification of our libc (C++ DSO Object Destruction API) we
   incorporate in the port on < 502101 systems.
 - Marius Strobl <marius@alchemy.franken.de> for his help with the port
   (e.g. ld.c, cxa).
2004-01-11 15:32:07 +00:00
Alexander Leidinger
86837889b7 - use the libc cxa support on a recent -current instead of the hack
NOTE: you need to rebuild stlport-icc and maybe some other C++
         programs/libs.
 - rework ld.c to fix the build of stlport-icc on 4.x (first part
   of the build fix, the second part follows shortly in a stlport
   commit) [1]

Submitted by:	Marius Strobl <marius@alchemy.franken.de> [1]
2003-12-22 15:03:23 +00:00
Alexander Leidinger
18a58e67ad - Update to 7.1.034.
- Modify plist to print a diagnostic instead of a pkg_delete warning
  if there's a license in the license directory.
2003-12-13 13:11:20 +00:00
Alexander Leidinger
8697f3d4a9 s/rpm2cpio/rpm2cpio.pl/ after the recent update of archivers/rpm2cpio (the
script was renamed to solve a conflict with archivers/rpm) to fix possible
build problems.

I've tested this with lang/icc. Any new errors because of this commit in
one of the modified ports may be because the ports previously may have used
rpm2cpio from archivers/rpm instead of the used {EXTRACT,BUILD}_DEPENDS
archivers/rpm2cpio.
2003-12-12 13:43:05 +00:00
Alexander Leidinger
313f5fd733 Update to 7.1.033. 2003-12-08 13:29:42 +00:00
Alexander Leidinger
848d6ca026 correct the syntax of the warning -> error options 2003-11-14 12:23:12 +00:00
Alexander Leidinger
07fe1a29a3 - Update to 7.1.032.
- Transform some warnings into errors as suggested by some included
  docs (some kind of MSVC compatibility which isn't reverted in icc
  for linux).

ld.c:
 - add possibility to use a different threads lib via PTHREAD_LIBS
   variable (e.g. PTHREAD_LIBS=-lthr) [1]
   this may be subject to change when gcc learns how to handle our
   different threads libs
 - refactor some code [1][2]
 - remove mailwrapper license, there's no code from mailwrapper
   anymore [2]
 - correct the order of libc and libc_r [1][2]

Submitted by:	mi [1]
Submitted by:	Marius Strobl <marius@alchemy.franken.de> [2]
Reviewed by:	Marius Strobl <marius@alchemy.franken.de> [1]
2003-11-14 12:09:17 +00:00
Trevor Johnson
bb34de42c0 Use the FIND and XARGS macros introduced in bsd.port.mk 1.391. 2003-11-13 13:30:42 +00:00
Alexander Leidinger
886e12f66c Add a paragraph about Intels support in the post-install message. 2003-11-10 21:32:11 +00:00
Alexander Leidinger
ca836af07e - Fix icc and icpc scripts (variable overriding) [1]
- Don't extract ia64 RPMs [2]
- Fix bug on some 4.7 systems [3]

Noticed by:	mi [1]
Suggested by:	mi [2]
Tested by:	Clint Olsen <clint@0lsen.net>
2003-10-22 13:21:30 +00:00
Alexander Leidinger
aebf0bc438 Update to 7.1.031. 2003-10-21 11:10:23 +00:00
Alexander Leidinger
c9b4723f5a Reword IGNORE text.
Suggested by:	Intel Corporation
2003-10-11 10:59:45 +00:00
Alexander Leidinger
ecb53e0b96 Commit the correct md5 sum.
Noticed by:	Marius Strobl <marius@alchemy.franken.de>
2003-10-03 16:05:13 +00:00
Alexander Leidinger
8647e47ef8 Update to 7.1.030. 2003-10-03 12:12:06 +00:00
Alexander Leidinger
d30559b66c Update to 7.1.029. 2003-09-24 12:53:09 +00:00
Alexander Leidinger
18f670da27 Update to 7.1.028. 2003-09-06 10:09:19 +00:00
Alexander Leidinger
df7dde8b41 Fix __sigsetjmp linking problem. 2003-08-22 11:20:38 +00:00
Alexander Leidinger
d3c3508516 - Update to 7.1.027.
- Teach the ld wrapper about /libexec on a recent -current. [1]

Submitted by:	Marius Strobl <marius@alchemy.franken.de> [1]
2003-08-21 14:55:43 +00:00
Alexander Leidinger
daaf1aa22e - Update to 7.1.025.
- Fix spelling of CONFLICTS [1].
- Add request for benchmark numbers [2].

Noticed by:	Andreas Schweitzer <Andreas.Schweitzer@hs.uni-hamburg.de> [1]
Discussed with:	Intel [2]
2003-08-15 13:00:08 +00:00
Alexander Leidinger
97a274bb99 Update to 7.1.021. 2003-07-11 15:48:05 +00:00
Alexander Leidinger
0f48a3a140 Update to 7.1.019. 2003-06-26 13:11:41 +00:00
Alexander Leidinger
29bd595d7c Fix the "make fetch" help string.
Noticed by:	markm
2003-06-15 17:57:26 +00:00
Alexander Leidinger
1636eac6ca Update to 7.1.018. 2003-06-12 10:52:08 +00:00
Alexander Leidinger
fb19333309 Update to 7.1.017. 2003-06-04 18:37:07 +00:00
Alexander Leidinger
99f1098e79 Update MD5 after the file changed on the server (IA64 license-check binary
changed, we don't use it).

Noticed by:	Marius Strobl <marius@alchemy.franken.de>
2003-05-09 11:35:04 +00:00
Alexander Leidinger
bcbf3d5607 Update to 7.1.014. 2003-05-06 15:52:01 +00:00
Alexander Leidinger
aec1848380 When trying to link dynamic libraries with dependancies, e.g:
icc -shared -o libfoo.so foo.o -lbaz

the ld wrapper gets confused and thinks that a static link is intended
and the link fails. This patch appears to fix things.

Submitted by:	dfr
2003-04-26 10:27:29 +00:00
Alexander Leidinger
f28a4a6666 Update to 7.1.011. 2003-04-24 15:08:34 +00:00
Alexander Leidinger
fe4d1d2986 - back out special '-I' handling, it causes problems with the stlport [1]
(this may break ports which depend upon OpenSSL from ports which was
   compiled as a base system replacement because it includes a system
   header directory again)
 - ignore "-pipe" in CFLAGS, this should unbreak some ports with hardcoded
   "-pipe"

Noticed by:	Krzysztof Parzyszek <kristof@swissmail.org> [1]
Tested by:	Krzysztof Parzyszek <kristof@swissmail.org> [1]
2003-04-18 09:10:22 +00:00
Alexander Leidinger
a85b627940 The new version of icc adds -I include paths before the standard include
path, thus adding a system path with -I results in not respecting the
sunstitute headers. This results in problems because we have some important
changes there.

Parts of this commit where
Submitted by:	marius@alchemy.franken.de
2003-04-02 10:50:38 +00:00
Alexander Leidinger
81ac3ff758 - Update to 7.1.006.
Submitted by:	marius@alchemy.franken.de

 - Minor cosmetics (FIND) and corrections (COMMENT).
2003-03-28 10:45:57 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Alexander Leidinger
1063cdc7db Update to 7.0.086. 2003-03-05 18:55:31 +00:00
Alexander Leidinger
9308657f35 Update to 7.0.083.
I'm not aware of a change between 7.0.082 and this version which affects
FreeBSD, so no need to update if you already have 7.0.082 installed.
2003-02-15 15:46:17 +00:00