glibc-2.2.4pre2 success on alpha

Ken Whaley ken@believe.com
Wed Aug 8 15:36:00 GMT 2001


make and make check ran without errors:

Compaq AlphaServer ES40
4 833Mhz alpha ev68b processors
Linux es40 2.2.17-4smp #1 SMP Mon Oct 23 15:03:57 EDT 2000 alpha unknown

binutils 2.11.90.0.15
gcc 2.96-85
glibc 2.2.3

../src/configure --prefix=/usr/local/bvbuild --enable-add-ons
	 --enable-kernel=2.2.14 --disable-profile
	 --host=alphaev6-unknown-linux-gnu

The cpu detect doesn't work for ev68, which has a different 
amask value (0x1307) from the ev67 (0x307), so 
scripts/config.guess returns plain alpha-unknown-linux-gnu.
I'd imagine that it would be better to default an ev68 to
host type alphaev67 until/whenever alphaev68 support is added.

Here's a patch to do that:

--- scripts/config.guess.orig   Wed Aug  8 15:09:39 2001
+++ scripts/config.guess        Wed Aug  8 15:10:09 2001
@@ -225,6 +225,9 @@
                        2-307)
                                UNAME_MACHINE="alphaev67"
                                ;;
+                       2-1307)
+                               UNAME_MACHINE="alphaev67"  # really ev68
+                               ;;
                esac
        fi
        rm -f $dummy.s $dummy
@@ -846,6 +849,7 @@
                1-101)  UNAME_MACHINE="alphapca56" ;;
                2-303)  UNAME_MACHINE="alphaev6" ;;
                2-307)  UNAME_MACHINE="alphaev67" ;;
+               2-1307) UNAME_MACHINE="alphaev67" ;;   # really ev68
                esac
                objdump --private-headers $dummy | \
                  grep ld.so.1 > /dev/null

--
Ken



More information about the Libc-alpha mailing list