From owner-freebsd-ports@FreeBSD.ORG Wed Aug 31 07:34:22 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 1715E16A41F for ; Wed, 31 Aug 2005 07:34:22 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7272F43D48 for ; Wed, 31 Aug 2005 07:34:20 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DFCC.dip.t-dialin.net [84.165.223.204]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j7V7PIxR022389; Wed, 31 Aug 2005 09:25:29 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j7V7XPFI043417; Wed, 31 Aug 2005 09:33:25 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.31 ([141.113.101.31]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Wed, 31 Aug 2005 09:33:25 +0200 Message-ID: <20050831093325.6dg8k9jcis0ssg48@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 31 Aug 2005 09:33:25 +0200 From: Alexander Leidinger To: "Tetsuji \\\\Maverick\\\\ Rai" References: <4314B68E.5070502@vfemail.net> In-Reply-To: <4314B68E.5070502@vfemail.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-ports@freebsd.org Subject: Re: ICC ports has a trouble with ANSI string class which g++ doesn't have (FreeBSD5.4 ICC8.1.032) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 07:34:22 -0000 "Tetsuji \Maverick\ Rai" wrote: [example] > If it's compiled with g++ it succeeds as follows: > > - --------- > freebsd54:~/tmp% g++ -o t1-gcc t1.cpp > freebsd54:~/tmp% ./t1-gcc aAAAa > aaaaa > freebsd54:~/tmp% > - ---------- > > However if it's compiled with icpc, it fails and dumps core: > > - ---------- > freebsd54:~/tmp% icpc -o t1-icc t1.cpp > freebsd54:~/tmp% ./t1-icc aAAAa > terminate called after throwing an instance of 'std::length_error' > what(): basic_string::_S_create > zsh: abort (core dumped) ./t1-icc aAAAa > - ----------- > > what's the problem and how can I fix it? At the first look I don't think it's a FreeBSD specific problem. Can someone please verify if this also happens on a Linux system? If it is reproducible there, it's not a FreeBSD specific problem and you should contact the Intel support. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Women are just like men, only different.