gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Snow Leopard Update


From: Michael Lambert
Subject: Re: [Gm2] Snow Leopard Update
Date: Thu, 3 Dec 2009 18:19:51 -0500

Hi Gaius,

On 2 Dec 2009, at 17:55:30, Gaius Mulley wrote:

> well done!  Good to see the compiler can be built under Snow Leopard..

Here's the first of the problems on the regression tests on Snow Leopard.  I 
believe this same error occurs in all the iso/run/pass/long*.mod tests.

In gm2.log:

----------
about to call target_compile with 
/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/gm2/iso/run/pass/long.mod 
/Volumes/Fantom_HFS+/gnu/gm2/obj/gcc/testsuite/long.o object -O 
{compiler=/Volumes/Fantom_HFS+/gnu/gm2/obj/gcc/xgm2 
-B/Volumes/Fantom_HFS+/gnu/gm2/obj/gcc 
-I.:../gm2/gm2-libs-iso:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs-iso:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs:../gm2/gm2-libs:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/gm2/iso/run/pass
 -fiso}
Executing on host: /Volumes/Fantom_HFS+/gnu/gm2/obj/gcc/xgm2 
-B/Volumes/Fantom_HFS+/gnu/gm2/obj/gcc 
-I.:../gm2/gm2-libs-iso:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs-iso:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs:../gm2/gm2-libs:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/gm2/iso/run/pass
 -fiso  -c  -o /Volumes/Fantom_HFS+/gnu/gm2/obj/gcc/testsuite/long.o 
/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/gm2/iso/run/pass/long.mod  
  (timeout = 300)
spawn /Volumes/Fantom_HFS+/gnu/gm2/obj/gcc/xgm2 
-B/Volumes/Fantom_HFS+/gnu/gm2/obj/gcc 
-I.:../gm2/gm2-libs-iso:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs-iso:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs:../gm2/gm2-libs:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/gm2/iso/run/pass
 -fiso -c -o /Volumes/Fantom_HFS+/gnu/gm2/obj/gcc/testsuite/long.o 
/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/gm2/iso/run/pass/long.mod^M
/var/tmp//cczIIw21.s:40:FATAL:Symbol L00000000001$pb already defined.^M
compiler exited with status 1
output is:
/var/tmp//cczIIw21.s:40:FATAL:Symbol L00000000001$pb already defined.^M

FAIL: pass/long.mod compilation,  -O
UNRESOLVED: pass/long.mod execution,  -O
----------

Compiling by hand shows the error, too:

----------
kuru:testsuite lambert$ /Volumes/Fantom_HFS+/gnu/gm2/obj/gcc/xgm2 
-B/Volumes/Fantom_HFS+/gnu/gm2/obj/gcc 
-I.:../gm2/gm2-libs-iso:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs-iso:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs:../gm2/gm2-libs:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/gm2/iso/run/pass
 -fiso -c -o /Volumes/Fantom_HFS+/gnu/gm2/obj/gcc/testsuite/long.o 
/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/gm2/iso/run/pass/long.mod
/var/folders/Tg/TgzzD5L5F4eFAbmae7qdlE+++TI/-Tmp-//cc6CBXGQ.s:40:FATAL:Symbol 
L00000000001$pb already defined.
----------

But, not surprisingly, there is no error when just generating assembly code:

----------
kuru:testsuite lambert$ /Volumes/Fantom_HFS+/gnu/gm2/obj/gcc/xgm2 
-B/Volumes/Fantom_HFS+/gnu/gm2/obj/gcc 
-I.:../gm2/gm2-libs-iso:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs-iso:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs:../gm2/gm2-libs:/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/gm2/iso/run/pass
 -fiso -S -o /Volumes/Fantom_HFS+/gnu/gm2/obj/gcc/testsuite/long.s 
/Volumes/Fantom_HFS+/gnu/gm2/gcc-4.1.2/gcc/testsuite/gm2/iso/run/pass/long.mod
----------

The assembly file is attached.

No surprise:

----------
kuru:testsuite lambert$ as -arch i386 long.s
long.s:40:FATAL:Symbol L00000000001$pb already defined.
----------

I have a hunch the code generator is doing just what it was told, but I don't 
know enough about the internals to know where to start looking.

Michael


Attachment: long.s
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]