[nsd-users] NSD 4.1.19rc1

W.C.A. Wijngaards wouter at nlnetlabs.nl
Mon Dec 11 08:37:33 UTC 2017


Hi Andreas,

On 10/12/17 15:02, A. Schulze wrote:
> 
> W.C.A. Wijngaards:
> 
>> NSD 4.1.19rc1 is available:
>> Bug Fixes
>> - Fix warnings emitted by clang for --enable-packed.  Alignment is not
>>   a problem for x86_64, don't enable packed when the platform
>>   requires aligned access.
> 
> 
> Hello,
> 
> that version work well on Debian 9 but on my older SLES11 plattform I
> can't compile:
> 
>  gcc -I. -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -W
> -Wall -Wextra -Wdeclaration-after-statement
> -Wno-address-of-packed-member -c answer.c
>  cc1: error: unrecognized command line option
> "-Wno-address-of-packed-member"
> 
> it's gcc-4.3.4

Thanks for the test!  The patch is this:  (I intend to include it in the
release of 4.1.19).  The patch tests for support of the compiler option
(which is only for --enable-packed).

Index: configure.ac
===================================================================
--- configure.ac	(revision 4808)
+++ configure.ac	(working copy)
@@ -889,7 +889,7 @@
 case "$enable_packed" in
 	yes)
 	AC_DEFINE_UNQUOTED([PACKED_STRUCTS], [], [Define this to use packed
structure alignment.])
-	CFLAGS="$CFLAGS -Wno-address-of-packed-member"
+	ACX_CHECK_COMPILER_FLAG(Wno-address-of-packed-member, [CFLAGS="$CFLAGS
-Wno-address-of-packed-member"])
 	;;
 	no|*)
 	;;


Best regards, Wouter

> 
> Andreas
> 
> 
> 
> _______________________________________________
> nsd-users mailing list
> nsd-users at NLnetLabs.nl
> https://open.nlnetlabs.nl/mailman/listinfo/nsd-users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20171211/b86469d8/attachment.bin>


More information about the nsd-users mailing list