On Fri, 2 Oct 2009, Christos Zoulas wrote:
On Oct 2, 1:13pm, ty%sarna.org@localhost (Ty Sarna) wrote: -- Subject: Re: mDNSResponder build failure on 64-bit platform (amd64) | On Oct 2, 2009, at 11:05 AM, Christos Zoulas wrote: | | > Anyway, I taught lint about __packed... | | Cool, thanks! | | > So if you change the code to use __packed, and don't define | > that away in the lint case in cdefs, it should just work. | | | It uses __attribute__((__packed__)) now, which it looks like you added | support for as well... so is any change at all needed? Well, __attribute__ is not finished so it is still disabled. I added only the "type" attributes...
Is this what's causing: --- gethostid.ln --- /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(192): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(192): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(192): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(192): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] *** [gethostid.ln] Error code 1 --- sethostid.ln --- /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(165): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(182): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(192): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(192): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(192): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(192): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] /usr/src/obj.amd64/destdir.amd64/usr/include/machine/segments.h(209): cannot take size/alignment of bit-field [145] *** [sethostid.ln] Error code 1 2 errors nbmake: stopped in /usr/src/lib/libc *** [dependall] Error code 2 1 error