Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2005 09:33:25 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        "Tetsuji \\\\Maverick\\\\ Rai" <maverick31337@vfemail.net>
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)
Message-ID:  <20050831093325.6dg8k9jcis0ssg48@netchild.homeip.net>
In-Reply-To: <4314B68E.5070502@vfemail.net>
References:  <4314B68E.5070502@vfemail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Tetsuji \Maverick\ Rai" <maverick31337@vfemail.net> 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.





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