[Asterisk-Dev] Zaptel on Sparc

dking at pimpsoft.com dking at pimpsoft.com
Sun Oct 3 18:42:21 MST 2004


I'm currently compiling the newest GCC. I hope to do some testing and 
hacking on it since I will be reinstalling it when debian releases 
its next release anyway.

All my changes have gone directly to CVS so far so the current cvs is 
all the work done for sparc. I think someone had a patch for Solaris 
but that shouldn't bother you if your goal is for 64 bit linux.

Its going to take a while for gcc to finish compiling so until then I 
am doing research on this; I think our problem may be a compounded 
structure of several things not limited to invalid 'gcc' and 'as' 
versions.

You can still help if you don't have a card; If the drivers do not 
compile and install without error there is a reason why. Just do your 
best to get them to compile and install without 'invalid arch' errors 
from depmod and submit your changes.

What gcc and 'as' versions are you using? What linux distro?

 - D


On 3 Oct 2004 at 20:11, Truman Beal wrote:

> Hey D-
> 
> I was going to throw my hat into the ring as well, but I don't yet have 
> a card to play with so it's kinda only prelim.     I was going to start 
> work on the type cast issues, but if you have quite a bit of this 
> already done, and would like some help, let me know where I need to fill 
> in the pieces..
> 
> 
> Truman
> 
> dking at pimpsoft.com wrote:
> 
> >Hello, I'm one of the people I'm sure you have read posts from.
> >
> >This is one of the things I have had trouble on and as far as I can tell the assembler is pouting because its being fed the wrong SPARC based instruction set at the same time. (There are several versions) The code in this case would be due to gcc outputting invalid code in regards to architectural computability with either its input or the abilities or the compiler itself. I'm still looking into it and I think it could be based on the version of gcc your using.
> >
> >Long story short: I did the work to get asterisk compiled on sparc so that does work if you want to use asterisk in a voIP/network function, but I am still currently working on the zaptel problem. 
> >
> >Sorry.
> >
> >If however you want to forward me your full zaptel make output (preferably with the -v flag set for verboseness) and the version information on your kernel/operating system/gcc it may help with my work.
> >
> > - D
> >
> >On 30 Sep 2004 at 10:44, G. Phileomonto wrote:
> >
> >  
> >
> >>Ive been going through the list archives and all i can find are peoples 
> >>posts on how they havent gotten zaptel to compile for ultrasparc
> >>I am hoping that i just missed a post somewhere.
> >>
> >>I am trying to get a T100P installed on a UltraSparc II system...i dont 
> >>know anything about sparc and would greatly appreciate any help with this.
> >>all I am getting is a whole lot of  "warning: left shift count >= width 
> >>of type" and "warning: integer constant is too large for "long" type" 
> >>warnings...
> >>followed by a bunch of "(Requires v9|v9a|v9b; requested architecture is 
> >>sparclite.)" errors from the assembler...Im running the Sparc port of 
> >>Gentoo w/ the 2.4.26 kernel
> >>
> >>
> >>here is a small snippet:
> >>/usr/src/linux/include/asm/pgtable.h: In function `pte_modify':
> >>/usr/src/linux/include/asm/pgtable.h:224: warning: integer constant is 
> >>too large for "long" type
> >>/usr/src/linux/include/asm/pgtable.h: In function `mk_pte_io':
> >>/usr/src/linux/include/asm/pgtable.h:301: warning: left shift count >= 
> >>width of type
> >>/usr/src/linux/include/asm/pgtable.h: In function `sun4u_get_pte':
> >>/usr/src/linux/include/asm/pgtable.h:327: warning: integer constant is 
> >>too large for "long" type
> >>/usr/src/linux/include/asm/pgtable.h:328: warning: integer constant is 
> >>too large for "long" type
> >>/usr/src/linux/include/asm/pgtable.h:328: warning: comparison is always 
> >>true due to limited range of data type
> >>/usr/src/linux/include/asm/pgtable.h:330: warning: right shift count >= 
> >>width of type
> >>/usr/src/linux/include/asm/pgtable.h:330: warning: left shift count >= 
> >>width of type
> >>/usr/src/linux/include/asm/pgtable.h:330: warning: left shift count >= 
> >>width of type
> >>/usr/src/linux/include/asm/pgtable.h:330: warning: left shift count >= 
> >>width of type
> >>/usr/src/linux/include/asm/pgtable.h:330: warning: left shift count >= 
> >>width of type
> >>/usr/src/linux/include/asm/pgtable.h:333: warning: integer constant is 
> >>too large for "long" type
> >>.
> >>.
> >>.
> >>/tmp/ccx3WBZc.s:11250: Error: Architecture mismatch on "rdpr".
> >>/tmp/ccx3WBZc.s:11250:  (Requires v9|v9a|v9b; requested architecture is 
> >>sparclite.)
> >>/tmp/ccx3WBZc.s:11251: Error: Architecture mismatch on "wrpr".
> >>/tmp/ccx3WBZc.s:11251:  (Requires v9|v9a|v9b; requested architecture is 
> >>sparclite.)
> >>/tmp/ccx3WBZc.s:11381: Error: Architecture mismatch on "wrpr".
> >>/tmp/ccx3WBZc.s:11381:  (Requires v9|v9a|v9b; requested architecture is 
> >>sparclite.)
> >>/tmp/ccx3WBZc.s:11391: Error: Architecture mismatch on "lduwa".
> >>/tmp/ccx3WBZc.s:11391:  (Requires v9|v9a|v9b; requested architecture is 
> >>sparclite.)
> >>/tmp/ccx3WBZc.s:11462: Error: Architecture mismatch on "lduwa".
> >>/tmp/ccx3WBZc.s:11462:  (Requires v9|v9a|v9b; requested architecture is 
> >>sparclite.)
> >>/tmp/ccx3WBZc.s:11715: Error: Architecture mismatch on "rdpr".
> >>/tmp/ccx3WBZc.s:11715:  (Requires v9|v9a|v9b; requested architecture is 
> >>sparclite.)
> >>/tmp/ccx3WBZc.s:11716: Error: Architecture mismatch on "wrpr".
> >>/tmp/ccx3WBZc.s:11716:  (Requires v9|v9a|v9b; requested architecture is 
> >>sparclite.)
> >>.
> >>.
> >>.
> >>
> >>--
> >>G. Phileomonto
> >>_______________________________________________
> >>Asterisk-Dev mailing list
> >>Asterisk-Dev at lists.digium.com
> >>http://lists.digium.com/mailman/listinfo/asterisk-dev
> >>To UNSUBSCRIBE or update options visit:
> >>   http://lists.digium.com/mailman/listinfo/asterisk-dev
> >>
> >>    
> >>
> >
> >
> >
> >
> >_______________________________________________
> >Asterisk-Dev mailing list
> >Asterisk-Dev at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-dev
> >To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
> >
> >  
> >
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 







More information about the asterisk-dev mailing list