From mint-bounce@lists.fishpool.fi Thu Jan 7 05:29:02 2010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=coN5X+ygIz2f0qoPbWgkoYhEpA7IYkeHdZuYicw08Rs=; b=LYG4obu2xw1w/KWrNzfjB498IcCILaAZ9fD7aHi+MKcK6IsL5AbSZPDUvUbeoa4ev6 py4NJD0QVVY3r6/SkWR4xk0hIraMd6ivB1vF3ER3CkJfTDuADQeZRO/bZ0hlolrQNqbb LmWWP+FPbaL5Qoh4TK/vb2lsl1e7vBXPKgErU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Uioba4vYs0WZ7nsYrKwHadh7pqdo0XJaqmQuuhSic4r6zTwzmzZiyqI2P6HN7cdx0b FAmk1LRu5lPt2rfxDpDGQoiY7Zz+c6b73syzKbbel0rjmgLgaSlo2PhhVQSSwpqMgtbH rJhBv+zneAVFvBGFeCazoF5rgNBjyur5uICzQ= MIME-Version: 1.0 In-Reply-To: References: <4B454BA5.6010201@atari-source.org> <4B45B063.1010504@freesbee.fr> Date: Thu, 7 Jan 2010 11:26:46 +0100 Message-ID: Subject: Re: [MiNT] C++ cout bug From: Miro Kropacek To: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= Cc: mint Content-Type: multipart/alternative; boundary=0015175885841454c8047c908264 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: miro.kropacek@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: --0015175885841454c8047c908264 Content-Type: text/plain; charset=ISO-8859-1 Mark, you must have something wrong with your setup. I've uninstalled gcc/g++ 2.95, unzipped my 2.20 / 4.4.2 binaries, made simple std::cout with integers ('123' and declared variable) and everything works -- no problems with paths, no problems with output. 2010/1/7 Miro Kropacek > > >> I am running latest builds of gcc 4.4.2 and binutils from vincent's site >>> (well the gcc 4.4.2 is from mikro's site) and I still have the cout bug. >>> All output stops after cout an int... Any ideas? >>> >> >> This bug was actually in the binutils and has been fixed in >> binutils-2.19.1-mint-20091017 and later. >> >> Virtually all the C++ libraries built with older binutils >=2.17 are >> wrong. In the case of the cout bug, libstdc++.a is the culprit. >> > Hmm, this is strange, I'm 100% positive my binaries are always output of > combo newest binutils + newest gcc, so those on my site are for sure build > with binutils 2.20. Is there any way how to verify it? > > -- > MiKRO / Mystic Bytes > http://mikro.atari.org > -- MiKRO / Mystic Bytes http://mikro.atari.org --0015175885841454c8047c908264 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mark,

you must have something wrong with your setup. I've uninst= alled gcc/g++ 2.95, unzipped my 2.20 / 4.4.2 binaries, made simple std::cou= t with integers ('123' and declared variable) and everything works = -- no problems with paths, no problems with output.

2010/1/7 Miro Kropacek <= ;miro.kropacek@gmail.com>=
=A0
I am running latest builds of gcc 4.4.2 and binutils from vincent's sit= e (well the gcc 4.4.2 is from mikro's site) and I still have the cout b= ug. =A0All output stops after =A0cout an int... =A0Any ideas?

This bug was actually in the binutils and has been fixed in binutils-2.19.1= -mint-20091017 and later.

Virtually all the C++ libraries built with older binutils >=3D2.17 are w= rong. In the case of the cout bug, libstdc++.a is the culprit.
Hmm, this is strange, I'm 100% positive my binaries are alway= s output of combo newest binutils + newest gcc, so those on my site are for= sure build with binutils 2.20. Is there any way how to verify it?

--
MiKRO / Mystic Bytes
http://mikro.atari.org



--
MiKRO / Mystic Byteshttp://mikro.atari.org
--0015175885841454c8047c908264--