Compile sys/kern/uipc_socket.c -fno-strict-aliasing for now. PR 23044.
This commit is contained in:
parent
f22eb2930b
commit
c5a4c60e2e
14
doc/HACKS
14
doc/HACKS
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: HACKS,v 1.19 2003/10/28 14:26:47 he Exp $
|
||||
# $NetBSD: HACKS,v 1.20 2003/10/28 20:12:00 skrll Exp $
|
||||
#
|
||||
# This file is intended to document workarounds for currently unsolved
|
||||
# (mostly) compiler bugs.
|
||||
|
@ -262,3 +262,15 @@ descr
|
|||
ffs.c causes cc1 to barf for as-yet unknown reasons. this
|
||||
hack ues -O0 to avoid the problem.
|
||||
kcah
|
||||
|
||||
hack gcc 3.3.2/arm sys/kern/uipc_socket.c
|
||||
cdate Tue Oct 28 18:02:16 GMT 2003
|
||||
who skrll
|
||||
port MACHINE_ARCH == arm
|
||||
file sys/conf/arm/Makefile.arm : 1.19
|
||||
descr
|
||||
Performing a build.sh tools on a CATS with NFS mounted
|
||||
obj and src directories results in "panic: receive 1"
|
||||
The hack is to compile sys/kern/uipc_socket.c with
|
||||
-fno-strict-aliasing
|
||||
kcah
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.arm,v 1.18 2003/01/03 02:34:48 thorpej Exp $
|
||||
# $NetBSD: Makefile.arm,v 1.19 2003/10/28 20:12:00 skrll Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
|
@ -76,6 +76,10 @@ cpuswitch.o fault.o machdep.o: Makefile
|
|||
## (7) misc settings
|
||||
##
|
||||
|
||||
# XXX gcc 3.3 generates incorrect code without this
|
||||
# XXX see PR 23044
|
||||
COPTS.uipc_socketc+= -fno-strict-aliasing
|
||||
|
||||
##
|
||||
## (8) config(8) generated machinery
|
||||
##
|
||||
|
|
Loading…
Reference in New Issue