On Tuesday 27 March 2007 06:20, Sergio Gutierrez wrote:
> Hi everybody.
>
> I think that there is something missing on Makefile.defs.
> Sun Machines using the new line Processors (UltraSparc T1)  are not
> correctly detected as a Sparc 64 bit machine.
>
> I think that architecture detection should include "sun4v" (uname -m output
> on a Sun Fire T1000 or T2000) as equivalent to Sun4u.

Hello Sergio,

could you try the attached patch for the Makefile.defs and test again? I have 
no access to a sun machine.

Best regards,

Henning
Index: Makefile.defs
===================================================================
--- Makefile.defs       (Revision 1915)
+++ Makefile.defs       (Arbeitskopie)
@@ -74,7 +74,8 @@
 endif

 ARCH := $(shell $(GETARCH) |sed -e s/i.86/i386/ -e s/sun4u/sparc64/  \
-                       -e s/armv4l/arm/ -e "s/Power Macintosh/ppc/" \
+                       -e s/sun4v/sparc64/ -e s/armv4l/arm/ \
+                       -e "s/Power Macintosh/ppc/" \
                        -e "s/cobalt/mips2/" \
                        -e s/amd64/x86_64/ )
 # fix sparc -> sparc64
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to