127 12:06 cvs update -dP src 130 13:22 cd src/sys/arch 132 13:22 mv macppc macppc-MAIN 133 13:22 mv powerpc powerpc-MAIN 134 13:23 tar zxf /a/j/nandra/macppc-020624.tar.gz 139 13:23 cd ../../ 141 13:23 patch -s -p0 < ~/Mail/ml/port-powerpc-ja/1934root になって、以下の sh を実行
#!/bin/sh DATE=`date +"%Y%m%d"` EXPORT=`pwd` echo Current Dir: $EXPORT RELEASE=${EXPORT}/${DATE}r DEST=${EXPORT}/${DATE}d LOG=${EXPORT}/${DATE}.log if [ ! -d $RELEASE ]; then mkdir $RELEASE fi if [ ! -d $DEST ]; then mkdir $DEST fi cd src echo ./build.sh -R $RELEASE -D $DEST > $LOG 2>&1 ./build.sh -R $RELEASE -D $DEST > $LOG 2>&1 ls -l $LOG
/export/ts/src/tools/obj/tools.NetBSD-1.5ZC-powerpc/bin/powerpc--netbsd-gcc -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/export/ts/src/lib/libc/include -DINET6 -DNLS -D__DBINTERFACE_PRIVATE -I/export/ts/src/lib/libc/../../libexec/ld.elf_ so -I/export/ts/src/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/export/ts/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -nostdinc -isystem /export/ts/20020705d/usr/include -c -traditional-cpp -DALL_STATE -DUSG_ COMPAT -I/export/ts/src/lib/libc/arch/powerpc -nostdinc -idirafter /export/ts/20020705d/usr/include /export/ts/src/lib/libc/arch/powerpc/string/bzero.S /export/ts/src/lib/libc/arch/powerpc/string/bzero.S: Assembler messages: /export/ts/src/lib/libc/arch/powerpc/string/bzero.S:52: Error: unsupported relocation type
-rw-r--r-- 1 makoto wheel 4524 Jun 24 02:26 src/sys/arch/powerpc-MAIN/include/asm.h -rw-r--r-- 1 makoto wheel 3014 Mar 1 16:13 src/sys/arch/powerpc/include/asm.hとなっているのを、
ttyp3:makoto@quick 14:24:55/020705(...ts/src)> ls -l sys/arch/powerpc/include/asm* -rw-r--r-- 1 makoto wheel 4524 Jun 24 02:26 sys/arch/powerpc/include/asm.h -rw-r--r-- 1 makoto wheel 3014 Mar 1 16:13 sys/arch/powerpc/include/asm.h-tsとすると、少し先に進む。
CC=/export/ts/src/tools/obj/tools.NetBSD-1.5ZC-powerpc/bin/powerpc--netbsd-gcc /export/ts/src/tools/obj/tools.NetBSD-1.5ZC-powerpc/bin/powerpc--netbsd-lint -chapbxzF -X 272 -d /export/ts/20020705d/usr/include -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/export/ts/src/lib/libc/include -DINET6 -DNLS -D__DBINTERFACE_PRIVATE -I/export/ts/src/lib/libc/../../libexec/ld.elf_so -I/export/ts/src/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/export/ts/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -i /export/ts/src/lib/libc/arch/powerpc/gen/syncicache.cこれは次のうちの下の方を cc している時に出ていることになる。
/export/ts/src/lib/libc/arch/powerpc/gen/syncicache.c(96): redeclaration of __syncicache [27]
/export/ts/src/lib/libc/arch/powerpc/gen/syncicache.c(108): warning: conversion of pointer to 'unsigned int' may lose bits [134]
/export/ts/src/lib/libc/arch/powerpc/gen/syncicache.c(120): warning: conversion of pointer to 'unsigned int' may lose bits [134]
ttyp3:makoto@quick 14:29:32/020705(...ts/src)> \ ? ls -lt lib/libc/arch/powerpc/gen/syncicache.c \ ? sys/lib/libkern/arch/powerpc/syncicache.c -rw-r--r-- 1 makoto wheel 4138 Mar 28 09:46 sys/lib/libkern/arch/powerpc/syncicache.c -rw-r--r-- 1 makoto wheel 4139 Mar 28 09:38 lib/libc/arch/powerpc/gen/syncicache.c
128 14:35 ls -l sys/lib/libkern/arch/powerpc/{bzero.S,ffs.S,strlen.S} 129 14:36 mkdir sys/lib/libkern/arch/powerpc/keep 130 14:36 mv sys/lib/libkern/arch/powerpc/{bzero.S,ffs.S,strlen.S} sys/lib/libkern/arch/powerpc/keep
ttyp1:makoto@quick 6:20:31/020707(...src/lib)> cvs update -r 1.4 libc/arch/powerpc/gen/syncicache.c U libc/arch/powerpc/gen/syncicache.c
/export/ts/src/usr.sbin/apm/apm.c:45: machine/apmvar.h: No such file or directory
/export/ts/src/usr.sbin/apm/../apmd/apmsubr.c:48: machine/apmvar.h: No such file or directory
touch src/sys/arch/powerpc/apmvar.h
ttyp1:root@quick 8:19:49/020707(...sys/arch)# tar zxf /a/j/nandra/macppc-020706.tar.gz ttyp1:root@quick 8:20:01/020707(...sys/arch)# cd ../../.. ttyp1:root@quick 8:20:05/020707(/export/ts)# time sh setup.sh Current Dir: /export/ts Log: /export/ts/20020707.log.22557
19:52:56 03/12/08 Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) Apache/2.4.62 (Unix) OpenSSL/3.0.12 (since 2002/07/05)