From mint-bounce@lists.fishpool.fi  Sat Sep 17 07:27:54 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Subject: Re: [MiNT] binutils 2.16.1
From: Mark Duckworth <mduckworth@atari-source.com>
To: Philipp =?ISO-8859-1?Q?Donz=E9?= <philippdonze@gmx.ch>
Cc: Mint List <mint@fishpool.com>
In-Reply-To: <50F07CF5-C89A-4083-A6BB-D17ECCF0E703@gmx.ch>
References: <20050815162154.49818cfb.mandin.patrice@wanadoo.fr>
	 <1124116320.7719.33.camel@jetpack.demon.co.uk>
	 <20050816190800.54928fc6.mandin.patrice@wanadoo.fr>
	 <20050816223241.62aec2a2.mandin.patrice@wanadoo.fr>
	 <1124224855.2960.17.camel@mduckworth.phillypark.net>
	 <50F07CF5-C89A-4083-A6BB-D17ECCF0E703@gmx.ch>
Content-Type: text/plain; charset=utf-8
Date: Sat, 17 Sep 2005 01:21:42 -0400
Message-Id: <1126934502.13271.22.camel@mduckworth.phillypark.net>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3 (2.2.3-2.1.fc4.nr) 
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: mduckworth@atari-source.com
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
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=AWL,
 BAYES_00
X-Spam-Level: 
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-508.st.uni-magdeburg.de id j8H5Rqhv002811

On Tue, 2005-09-13 at 21:04 +0200, Philipp Donzé wrote:
> Hi Mark,
> 
> As I read on mintlist you're working at porting the binutils 2.16.1.
> Can you tell me how well it works for you? How did you progress?
> 
> I'm using (=trying) to get binutils 2.16.1 and gcc 3.3.6 working as a  
> cross-compiler on my PowerMac (using Patrice Mandins patches). Today,  
> after some nasty assembly bugs, I finally succeeded in compiling gcc  
> without errors. After that I did some smaller tests: compile simple  
> main() function with and without gemlib. (=this implies I compiled  
> gemlib.)
> When I tried to compile "cflib" the process fails at linking-phase of  
> the demo application:

First of all, which are you using?  You must be using release 3 from the
package staging.

> > /usr/local/cross-tools/lib/gcc-lib/m68k-atari-mint/3.3.6/libgcc.a 
> > (_floatex.o):../../gcc-3.3.6/gcc/config/m68k/lb1sf68.asm:218:  
> > relocation truncated to fit: 16 against `*ABS*'
> > /usr/local/cross-tools/lib/gcc-lib/m68k-atari-mint/3.3.6/libgcc.a 
> > (_floatex.o):../../gcc-3.3.6/gcc/config/m68k/lb1sf68.asm:218:  
> > relocation truncated to fit: 16 against `*ABS*'
> > /usr/local/cross-tools/lib/gcc-lib/m68k-atari-mint/3.3.6/libgcc.a 
> > (_floatex.o):../../gcc-3.3.6/gcc/config/m68k/lb1sf68.asm:218:  
> > relocation truncated to fit: 16 against `*ABS*'
> 

This may not necessarily indicate a problem with binutils.  Try to use
gcc 2.95.3 compiler too.  I just built and all is well.  It looks like
32 bit and 16bit libs getting mixed together and confused.  Check that
out?

HTH
Mark


