Use -fno-strict-aliasing to compile usr.sbin/racoon/racoon and

document it as a hack. PR toolchain/26516.
This commit is contained in:
junyoung 2004-08-06 03:37:55 +00:00
parent 6734ab72b9
commit 87105b4d0e
1 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: HACKS,v 1.36 2004/06/06 17:11:33 he Exp $
# $NetBSD: HACKS,v 1.37 2004/08/06 03:37:55 junyoung Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@ -96,6 +96,20 @@ descr
when all platforms have switched away from GCC2.
kcah
hack gcc-strict-aliasing
cdate 6 August 2004
who junyoung
pr 26516
file src/usr.sbin/racoon/racoon/Makefile : 1.21
descr
GCC issues a warning "dereferencing type-punned pointer will break
strict-aliasing rules" when compiling
crypto/dist/kame/racoon/crypto/openssl.c with -O[23s]. Note that this
is due to invalid use of type casting in the code and not a compiler
bug. Once a new release of KAME with a proper fix applied is imported
this should be backed out.
kcah
port vax