From owner-freebsd-ports@FreeBSD.ORG Thu Sep 9 23:15:15 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5556116A4CE for ; Thu, 9 Sep 2004 23:15:15 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D21443D5A for ; Thu, 9 Sep 2004 23:15:13 +0000 (GMT) (envelope-from clint@0lsen.net) Received: from 0lsen.net ([24.20.127.157]) by comcast.net (rwcrmhc11) with ESMTP id <20040909231512013004v4o5e>; Thu, 9 Sep 2004 23:15:12 +0000 Received: by 0lsen.net (Postfix, from userid 1001) id DE2451788F; Thu, 9 Sep 2004 16:15:11 -0700 (PDT) Date: Thu, 9 Sep 2004 16:15:11 -0700 From: Clint Olsen To: Marius Strobl Message-ID: <20040909231511.GC78471@0lsen.net> References: <20040909073137.GA74529@0lsen.net> <20040909073327.GA74594@0lsen.net> <20040910005023.A46342@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040910005023.A46342@newtrinity.zeist.de> User-Agent: Mutt/1.4.2.1i Organization: NULlsen Network X-Disclaimer: Mutt Bites! cc: ports@freebsd.org Subject: Re: icc -fast (static) broken? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 23:15:15 -0000 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