hns - 日記自動生成システム - Version 2.19.9

先月 2006年12月 来月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2006年12月12日(火) 旧暦 [n年日記] [更新:"2006/12/13 10:14:27"]

#1 [NetBSD] TsubaiBSD (20061211)

-rw-r--r--  1 301  0   826295 Oct  8 18:44 macppc-061008.tar.gz
-rw-r--r--  1 301  0  1067425 Dec 12 04:13 macppc-061211.tar.gz
実は 3.1 の上で build をしたら
genassym: not found
これは 3.99.21 等には、/usr/bin/genassym に入っている。
   176  15:28   sudo cp -p tools/genassym/obj/genassym /usr/bin
   166  15:51   sudo chmod +x /usr/bin/genassym
/sys/dist/ipf -c /export/20061211/checkout/src/sys/arch/powerpc/powerpc/mem.c
/export/20061211/checkout/src/sys/arch/powerpc/powerpc/mem.c: In function `mmrw':
/export/20061211/checkout/src/sys/arch/powerpc/powerpc/mem.c:95: warning: dereferencing type-punned pointer will break strict-aliasing rules
See 宇宙人日記 If you use gcc-4.1.2, this warning won't appear.

src/sys/arch/macppc/macppc/bus_dma.c::

    154                         pmap_extract(vm_map_pmap(&vm->vm_map),
    155                             vaddr, (paddr_t *)&curaddr);
src/sys/arch/macppc/macppc/bus_dma.c: In function `_bus_dmamap_load_buffer':
src/sys/arch/macppc/macppc/bus_dma.c:155: warning: dereferencing type-punned pointer will break strict-aliasing rules
The prototype is:
ttypc:makoto@trapani 9:26:33/061213(...checkout/src)> grep -n pmap_extract src/sys/arch/powerpc/include/pmap.h 78:boolean_t pmap_extract __P((struct pmap *, vaddr_t, paddr_t *));
src/sys/arch/macppc/macppc/bus_dma.c:
419:    paddr_t curaddr, lastaddr, high;
src/sys/arch/powerpc/include/types.h:typedef unsigned long paddr_t, vaddr_t;
Is this wrong change ?
Index: bus_dma.c
===================================================================
RCS file: /home/20061211/Repository/src/sys/arch/macppc/macppc/bus_dma.c,v
retrieving revision 1.2
diff -u -r1.2 bus_dma.c
--- bus_dma.c   12 Dec 2006 14:16:57 -0000      1.2
+++ bus_dma.c   13 Dec 2006 00:35:17 -0000
@@ -152,7 +152,7 @@
                        curaddr = vtophys(vaddr);
                else
                        pmap_extract(vm_map_pmap(&vm->vm_map),
-                           vaddr, (paddr_t *)&curaddr);
+                           vaddr, (paddr_t *) curaddr);
 
                /*
                 * If we're beyond the bounce threshold, notify
ttypc:makoto@trapani 9:35:40/061213(...compile/GENERIC)> 

macppc64 and powerpc64:

   114  1:39    time sudo ./build.sh -m macppc64 -a powerpc64 release > & ../log-64
   116  1:40    time sudo ./build.sh -m powerpc64 -a macppc64 release > & ../log-64
ERROR: Unknown target MACHINE: macppc64
ERROR: Unknown target MACHINE: powerpc64
何かおまじないが要るのだな ..
Index: build.sh
===================================================================
RCS file: /export/20061211/Repository/src/build.sh,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 build.sh
--- build.sh    12 Dec 2006 15:23:09 -0000      1.1.1.1
+++ build.sh    13 Dec 2006 00:17:52 -0000
@@ -290,6 +290,10 @@
                MACHINE_ARCH=powerpc
                ;;
 
+       macppc64)
+               MACHINE_ARCH=powerpc64
+               ;;
+
        evbsh3-e[bl])
                MACHINE_ARCH=sh3${MACHINE##*-}
                makewrappermachine=${MACHINE}
ttyp2:makoto@st4200 9:43:31/061213(...checkout/src)> 
ttyp0:makoto@st4200 9:17:52/061213(...checkout/src)> \
 time sudo ./build.sh -m macppc64 -a powerpc64 release > & ../log-642
...
#    create  /export/20061211/checkout/src/destdir.macppc64/usr/include/macppc64

STRIP=/export/20061211/checkout/src/tooldir.NetBSD-4.99.3-powerpc/bin/powerpc64--netbsd-strip
/export/20061211/checkout/src/tooldir.NetBSD-4.99.3-powerpc/bin/nbinstall
-N /export/20061211/checkout/src/etc -d -o root -g wheel -m 755
/export/20061211/checkout/src/destdir.macppc64/usr/include/macppc64

nbmake: don't know how to make grfioctl.h. Stop
ttyp0:makoto@st4200 10:13:27/061213(...checkout/src)> cd sys/arch/macppc64/include/
ttyp0:makoto@st4200 10:14:00/061213(...macppc64/include)> ln -s ../../macppc/include/grfioctl.h 



最近の日記
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
2024年01月14日
pbulk client checklist
2024年01月12日
pkglint issue
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)