[M3devel] assembler problems on Solaris 9

Olaf Wagner wagner at elegosoft.com
Wed Aug 11 09:18:38 CEST 2010


Quoting "Daniel Alejandro Benavides D." <dabenavidesd at yahoo.es>:

> Hi all:
> not sure what the message meant but it seems like the code generator  
>  is broken putting labels in assembly code body. What is the   
> assembler's version number, if it is natively generated (self-hosted  
>  not cross-assembled even from a previous other m3cg   
> cross-assembler), assuming so, where are supposed to be placed   
> labels to match system's assembly? Probably useful to print   
> m3-sys/m3cgcat comparing with repository working correspondent   
> and/or m3-tools/hexdump. Though compiler is enabled to do such a   
> cross assembly process I wonder how that might be the result of   
> compiling it with a different m3cg if that fails too, it might be a   
> problem in the assembly emitting, what do you think?

It seems to be an incompatibility with the Solaris 9 assembler.
The Solaris 10 assembler works fine.

We haven't built the system on Solaris 9 for a long time I think.
Or have we? Perhaps this is gcc 4.5 related?

No, it's using 4.3, but in two different setups:

WI=/home/m3hudson/current9s/work/cm3-inst/current9s/solsun
+  
/home/m3hudson/current9s/work/cm3-inst/current9s/solsun/current/bin/cm3cg  
--version
Modula-3 backend (GCC) version 4.3.5 (sparc-sun-solaris2.10)
	compiled by GNU C version 4.2.0 (gccfss), GMP version 4.2.1, MPFR  
version 2.3.2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
+  
/home/m3hudson/current9s/work/cm3-inst/current9s/solsun/last-ok/bin/cm3cg  
--version
Modula-3 backend (GCC) version 4.3.0 (sparc-sun-solaris2)
	compiled by GNU C version 3.4.3 (csl-sol210-3_4-branch+sol_rpath),  
GMP version 4.2.1, MPFR version 2.3.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

I guess our current configuration in m3cc/src/m3makefile is wrong
for Solaris 9, or that gcc target was broken in the upgrade from
4.3.0 to 4.3.5.

Olaf

> Thanks in advance
>
> --- El mar, 10/8/10, Olaf Wagner <wagner at elegosoft.com> escribió:
>
>> De: Olaf Wagner <wagner at elegosoft.com>
>> Asunto: [M3devel] assembler problems on Solaris 9
>> Para: m3devel at elegosoft.com
>> Fecha: martes, 10 de agosto, 2010 00:54
>> example:
>>
>> assembler failed assembling: RTHeapMap.ms
>> /usr/ccs/bin/as: "RTHeapRep.ms", line 1237: error: unknown
>> opcode ".hidden"
>> /usr/ccs/bin/as: "RTHeapRep.ms", line 1237: error:
>> statement syntax
>>   assemble => 1
>>
>> see   
>> http://hudson.modula3.com:8080/job/cm3-current-build-SOLsun-opencsw-current9s/20/console
>>
>> Olaf
>> --Olaf Wagner -- elego Software Solutions GmbH
>>
>>    Gustav-Meyer-Allee 25 / Gebäude 12, 13355
>> Berlin, Germany
>> phone: +49 30 23 45 86 96  mobile: +49 177 2345
>> 869  fax: +49 30 23 45 86 95
>>    http://www.elegosoft.com |
>> Geschäftsführer: Olaf Wagner | Sitz: Berlin
>> Handelregister: Amtsgericht Charlottenburg HRB 77719 |
>> USt-IdNr: DE163214194
>>
>>
>
>
>
>



-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list