Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2004 01:34:15 +0200
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Clint Olsen <clint@0lsen.net>
Cc:        ports@freebsd.org
Subject:   Re: icc -fast (static) broken?
Message-ID:  <20040910013415.J69188@newtrinity.zeist.de>
In-Reply-To: <20040909231511.GC78471@0lsen.net>; from clint@0lsen.net on Thu, Sep 09, 2004 at 04:15:11PM -0700
References:  <20040909073137.GA74529@0lsen.net> <20040909073327.GA74594@0lsen.net> <20040910005023.A46342@newtrinity.zeist.de> <20040909231511.GC78471@0lsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 09, 2004 at 04:15:11PM -0700, Clint Olsen wrote:
> 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:
> 

Does '-static' work now?

> 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...
> 

These IPO warnings under FreeBSD are known and harmless. It's rather a
cosmetic issue, they can be silenced with additional hacks in the ICC
port but I don't think that's worth it.



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