NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-m68k/39761: Header saframe.h is missing in /usr/include/m68k



>Number:         39761
>Category:       port-m68k
>Synopsis:       Header saframe.h is missing in /usr/include/m68k
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-m68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 18 12:30:01 +0000 2008
>Originator:     Henning Petersen
>Release:        Netbsd-current
>Organization:
>Environment:
>Description:
Building Atari release with error,

#   compile  BOOT/sig_machdep.o
/usr/netbsd/tools.atari/bin/m68k--netbsdelf-gcc -m68020 -msoft-float 
-ffreestanding -fno-zero-initialized-in-bss -O2 -std=gnu99 -fno-strict-aliasing 
-Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith 
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual 
-Wwrite-strings -Wno-unreachable-code -Wno-sign-compare -Wno-pointer-sign 
-Wno-attributes -Werror -Datari -I. -I/usr/test/src/sys/../common/include 
-I/usr/test/src/sys/arch -I/usr/test/src/sys -nostdinc -DM68030 -DPANICWAIT 
-DST_POOL_SIZE=22 -DTT_VIDEO -DFALCON_VIDEO -DDISKLABEL_NBDA -DDISKLABEL_AHDI 
-DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT 
-I/usr/test/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/usr/test/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/usr/test/src/sys/lib/libkern/../../../common/lib/libc/arch/m68k/string -c 
/usr/test/src/sys/arch/m68k/m68k/sig_machdep.c
/usr/test/src/sys/arch/m68k/m68k/sig_machdep.c: In function 'cpu_upcall':
/usr/test/src/sys/arch/m68k/m68k/sig_machdep.c:247: error: storage size of 'sf' 
isn't known
/usr/test/src/sys/arch/m68k/m68k/sig_machdep.c:260: error: invalid use of 
undefined type 'struct saframe'
cc1: warnings being treated as errors
/usr/test/src/sys/arch/m68k/m68k/sig_machdep.c:247: warning: unused variable 
'sf'

*** Failed target:  sig_machdep.o

Stop.

>How-To-Repeat:

>Fix:
diff -u -r1.38 sig_machdep.c
--- sys/arch/m68k/m68k/sig_machdep.c    15 Oct 2008 06:51:18 -0000      1.38
+++ sys/arch/m68k/m68k/sig_machdep.c    18 Oct 2008 09:02:28 -0000
@@ -102,6 +102,7 @@
 #include <machine/frame.h>
 
 #include <m68k/m68k.h>
+#include <m68k/saframe.h>
 
 extern short exframesize[];
 struct fpframe m68k_cached_fpu_idle_frame;


diff -u -r1.26 Makefile
--- sys/arch/m68k/include/Makefile      9 Feb 2007 21:55:05 -0000       1.26
+++ sys/arch/m68k/include/Makefile      18 Oct 2008 09:02:28 -0000
@@ -15,7 +15,7 @@
        m68k.h math.h mcontext.h mutex.h \
        param.h pmap_motorola.h pmc.h pcb.h proc.h profile.h \
        psl.h pte_motorola.h ptrace.h \
-       reg.h rwlock.h setjmp.h signal.h stdarg.h sync_icache.h \
+       reg.h rwlock.h saframe.h setjmp.h signal.h stdarg.h sync_icache.h \
        sysctl.h \
        trap.h types.h \
        varargs.h \


diff -u -r1.40 ad.m68k
--- distrib/sets/lists/comp/ad.m68k     22 Aug 2008 13:42:19 -0000      1.40
+++ distrib/sets/lists/comp/ad.m68k     18 Oct 2008 09:04:09 -0000
@@ -47,6 +47,7 @@
 ./usr/include/m68k/ptrace.h                    comp-c-include
 ./usr/include/m68k/reg.h                       comp-c-include
 ./usr/include/m68k/rwlock.h                    comp-c-include
+./usr/include/m68k/saframe.h                   comp-c-include
 ./usr/include/m68k/setjmp.h                    comp-c-include
 ./usr/include/m68k/signal.h                    comp-c-include
 ./usr/include/m68k/stdarg.h                    comp-c-include



Home | Main Index | Thread Index | Old Index