From mint-bounce@lists.fishpool.fi Mon Feb 25 15:18:49 2008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=jEg/fADQ0jCJzmGgpVg4kGphZNPmvEVcCEDA2ABpVDY=; b=osd1WDoR8aihDmJsNDidWHtZ2S/VZjzZL0doF/ZYxzU4nBt2uj3PvDRK9OgqZPd1caj20cEtKtkSxANZ6rp+B2G8Udon8PCl1xdCpv9emNHwkkfsqhEk9aTi0G8oRKeECNhUIZg3loXaBGtCveHKJOgIJ/hBu/NOF2tkiWAgGic= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=vAsAZG2sfwkQF4yVEVx838FjNWSFY5kJrIjONu14M1xosHek3ZBOCchB9YoKjxwk4brcI3QhkLrpGbNj5etqWMpkLuWtMibPwpdk8s8XUrMFbQTUB3N5z0oihhCtUVRLXXCYFJ84uhEm/1REEIiXQov0bSd2zDoFaR+inTeEwsY= Message-ID: <47C321FB.4050400@gmail.com> Date: Mon, 25 Feb 2008 21:15:55 +0100 From: MiKRO Organization: Mystic Bytes User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: mint Subject: Re: [MiNT] Newest GCC + Binutils compile status References: <47BEF24F.4040003@gmail.com> <47C08695.4080505@gmail.com> In-Reply-To: <47C08695.4080505@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: > Hoho, I've probably got it. And thanks to... quake ;-) Today I was > trying to get -m68060 quake compilation done Hoho, I haven't. The idea with mathlib was good and true but doesn't apply here since there's another problem :( I recompiled everything (using the compiler I posted link to) and the same result. After some experiments I could only come to these results: - I used make CFLAGS='-O2' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' BOOT_CFLAGS='-O2 m68060' (notice that '-g' is missing from CFLAGS -- this is to assure the right mintlib will be used in stage2/3, i.e. /usr/lib/m68060/libc.a and not /usr/lib/lic_g.a) but I've tried also (desperate try :) BOOT_CFLAGS='-m68020-60 -O2' - the problem isn't with bfd/archive.c or anything else, it's stage2-xgcc binary -- I can't compile simple .o file without those errors - only difference between stage1-gcc and stage2-gcc is libgcc: stage1 xgcc objs: (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)fpgnulib.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_double.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_nedf2.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_mulsi3.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)__main.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_umoddi3.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_udivdi3.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_floatex.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_clz.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_udivsi3.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_umodsi3.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_divsi3.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_modsi3.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)xfgnulib.o (/d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.2.3/libgcc.a)_ltdf2.o stage2 xgcc objs: (/root/compile/./prev-gcc/m68060/libgcc.a)__main.o (/root/compile/./prev-gcc/m68060/libgcc.a)_umoddi3.o (/root/compile/./prev-gcc/m68060/libgcc.a)_udivdi3.o But this could be just because we're compiling for 68060 so this stuff is built-in. And... and this is all. For me it's total mystery why here isn't any error during the compilation, only built-in errors in final binary. I give up in this moment, I promised myself to code some demostuff for Forever 2e3 party so for a next 2 weeks I switch to 6502 mode ;-) However, if anyone wants to find this problem, I can upload aranym image with both 68060 and 68020 bootstraps (terminated after stage2 with this built-in errors). Another solution (which is IMHO worth a try) is to try debian-m68k + compile gcc here to see what happens -- we could report it as general m68k bug then. Petr Stehlik kindly focused me to aranym wiki where are some preinstalled debian images already present so it shouldn't be so hard. -- MiKRO / Mystic Bytes http://mikro.atari.org