From mint-bounce@lists.fishpool.fi Tue Jan 22 17:33:31 2008 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=+ENtaM/Lumx9oKZk6yS2iv1cBXRJ7bLFnwAqk9g3pYc=; b=qnUFHcUBJgP4AyYU6ZTO4/Kjpz4pCkGXd2gPpxm3upm7doBEIKz70Bvn16ORa8UvAeMCQ/CwId7U7NkXj+l28R2NdkiGmBA3idCBcg9uqGvUWB4NMvVaNj1YWtwVr+1CwcQ1gzP+bbCUvOMR7aLiluxX+CdjFyq/6Y6z71AfznM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=i+IDMBpxXYxSkl5fSQxFjJW7nCK/CxawsG7y6xfsZV2LhwNqn9LkUl6Hk0HrH1TcQyvfSBIO+VxbrafPIWtqmTv0zzRB17ycXveIEkfEN9wjZahdlYLERkwwdpC2kjej7n1RcvDYBjj5gWA3qO/M+AUA+af/ko1T7L7UNgBxcak= Message-ID: Date: Sun, 13 Jan 2008 02:21:59 +0100 From: MiKRO To: mint@fishpool.com Subject: Re: [MiNT] gcc 4.2.2 compile error In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47850F34.4010706@freesbee.fr> <478695AD.5080504@freesbee.fr> <4788CFD0.7040806@freesbee.fr> <47892AE3.5030108@freesbee.fr> 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: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00 X-Spam-Level: Status: X-Status: X-Keywords: wohoo! so after all those days it's finally done! I managed to compile 3-stage bootstrap of gnu c and c++ with all libs. After that little problem with bash everything went OK except one thing -- in c_locale.cc (to which points some link in build dir) are used two functions: strtof(__s, &__sanity) and strtod(__s, &__sanity) and these functions are unknown at compile time... I have no idea why this is a problem, cstdlib is included, I just commented out _GLIBCXX_HAVE_STRTOF / _GLIBCXX_HAVE_STRTOD #defines in this case and replaced with some fast hack (inspired by #else case of these conditions). And one cosmetic bug -- I remember I've seen this before (probably by playing with some sources with ./configure scripts) -- on freemint host, configure script says our platform is "m68k-atari-mint1.1x" instead of "m68k-atari-mint". So g++, gcc etc aliases are "m68k-atari-mint1.16-g++" etc in my case which looks quite strange. Maybe bug in freemint's information functions? On 1/13/08, MiKRO wrote: > > It may be bash, gcc, cc1, sed, ld... > > Maybe a a process run by configure corrupts the memory, then another > > program crashes... > > Maybe the bash stack should be enlarged too, because the configure > > scripts are very big... > > > > Sorry, I have no more idea... > > > actually, your idea was brillant, I'd never think to increase stack in > bash -- after this, everything went OK (libstdc++ is just compiling). > thanks! > > -- > MiKRO / Mystic Bytes > http://mikro.atari.org > -- MiKRO / Mystic Bytes http://mikro.atari.org