[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-current
Subject:    Re: [head tinderbox] failure on ia64/ia64
From:       Pawel Jakub Dawidek <pjd () freebsd ! org>
Date:       2011-01-31 23:51:53
Message-ID: 20110131235153.GC1746 () garage ! freebsd ! pl
[Download RAW message or body]


On Mon, Jan 31, 2011 at 10:56:18PM +0000, FreeBSD Tinderbox wrote:
[...]
> cc -O2 -pipe  -I/src/sbin/hastctl/../hastd -DINET -DINET6 -DYY_NO_UNPUT \
> -DYY_NO_INPUT -DHAVE_CRYPTO -std=gnu99 -Wsystem-headers -Werror -Wall \
> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes \
> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow \
> -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs \
> -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c \
>                 /src/sbin/hastctl/../hastd/proto_common.c
> cc1: warnings being treated as errors
> /src/sbin/hastctl/../hastd/proto_common.c: In function \
>                 'proto_common_descriptor_send':
> /src/sbin/hastctl/../hastd/proto_common.c:116: warning: cast increases required \
>                 alignment of target type
> /src/sbin/hastctl/../hastd/proto_common.c: In function \
>                 'proto_common_descriptor_recv':
> /src/sbin/hastctl/../hastd/proto_common.c:146: warning: cast increases required \
>                 alignment of target type
> /src/sbin/hastctl/../hastd/proto_common.c:149: warning: cast increases required \
>                 alignment of target type
> *** Error code 1

Marcel, do you have an idea how one can use CMSG_NXTHDR() on ia64 with
high WARNS? With WARNS=6 I get those errors and I've no idea how to fix
it properly. If there is a fix, CMSG_NXTHDR() should probably be fixed,
but maybe I'm wrong?

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!


[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic