Subject: /usr/src/build.sh failure on port-alpha
To: #List NetBSD current users <current-users@NetBSD.ORG>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 12/30/2001 17:50:32
(Host machine, i386 running 1.5ZA -current as of this morning.  Target
is alpha.)

Since it appeared that alpha was moved over to the new build system, I
thought I would check it out once again.  I started the build with

	./build.sh -D /usr/release/destdir/alpha \
		-R /usr/release/release/alpha -m alpha


It got all the way through building the new toolchain, and through the
``make includes''.  Then it got to lib/libc and up-chucked with the
following (manual indentation to assist readability):

/usr/obj/tools.i386/bin/alpha--netbsd-gcc -O2 -DALL_STATE -DUSG_COMPAT
    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
    -Wno-uninitialized -Wreturn-type -Wpointer-arith -Wswitch -Wshadow
    -Werror  -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS
    -D_REENTRANT -I/usr/src/lib/libc/include -DINET6
    -D__DBINTERFACE_PRIVATE
    -I/usr/src/lib/libc/../../libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn
    -DWITH_RUNE -DRUNEMOD_MAJOR=3
    -D_PATH_LOCALEMODULE=\"/usr/lib/runemodule\" -DRESOLVSORT -I.
    -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -nostdinc -isystem
    /usr/release/destdir/alpha/usr/include  -c
    /usr/src/lib/libc/gen/__glob13.c
/usr/src/lib/libc/gen/__glob13.c: In function `g_opendir':
/usr/src/lib/libc/gen/__glob13.c:939: internal error--unrecognizable insn:
(insn 24 22 26 (set (reg:DI 82)
        (and:DI (plus:DI (reg:DI 75)
                (const_int 578552706319253504 [0x8076e9f00000000]))
            (const_int -8 [0xfffffffffffffff8]))) -1 (insn_list 22 (nil))
    (nil))
*** Error code 1


So, are we not quite ready for prime-time yet?


----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com   |
|  & World Cruiser | 91EB ADB1 A280 3B79 9221 | pgoyette@juniper.net |
----------------------------------------------------------------------