Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2004 16:15:11 -0700
From:      Clint Olsen <clint@0lsen.net>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        ports@freebsd.org
Subject:   Re: icc -fast (static) broken?
Message-ID:  <20040909231511.GC78471@0lsen.net>
In-Reply-To: <20040910005023.A46342@newtrinity.zeist.de>
References:  <20040909073137.GA74529@0lsen.net> <20040909073327.GA74594@0lsen.net> <20040910005023.A46342@newtrinity.zeist.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 10, Marius Strobl wrote:
> 
> You are most likely using an installation of the ICC port that was done
> before support for the C++ DSO destruction ABI was added to FreeBSD on a
> FreeBSD that has support for it. If the problem doesn't go away after you
> re-installed the current version of the ICC port (make sure the WRKDIR is
> deleted before building it again) please report what __FreeBSD_version
> you are using (from /usr/include/osreldate.h) and the full command-line
> that causes the problem (need to know if you are compiling C or C++,
> etc.).

Hi:

Blasting the workdir does seem to help considerably.  I'm using
__FreeBSD_version 503000 (beta1).  I'm compiling for C targets using
something like:

icc -ipo -DNDEBUG -Wall -g -o test array.c

which now generates:

IPO: using IR for /tmp/iccbinMNSKnA.o
IPO: performing single-file optimizations
IPO link: can not find -lcprts
IPO Warning: unresolved : _end
        Referenced in libc.a(sbrk.o)

But seems to successfully generate a working binary anyway...

-Clint



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040909231511.GC78471>