From owner-freebsd-current@FreeBSD.ORG Fri Apr 4 17:42:52 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48617E18; Fri, 4 Apr 2014 17:42:52 +0000 (UTC) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1596ABB1; Fri, 4 Apr 2014 17:42:51 +0000 (UTC) Received: from [172.29.9.142] ([66.129.239.12]) (authenticated bits=0) by mail.xcllnt.net (8.14.8/8.14.8) with ESMTP id s34Hghor044370 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 4 Apr 2014 10:42:44 -0700 (PDT) (envelope-from marcel@xcllnt.net) From: Marcel Moolenaar Content-Type: multipart/signed; boundary="Apple-Mail=_C40C325F-5662-4298-A4C0-C8B0E7C3DC31"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Build failure due to block_abi.h Date: Fri, 4 Apr 2014 10:42:37 -0700 Message-Id: <30EAFDFF-54AB-4318-95C6-F2BDC0329042@xcllnt.net> To: David Chisnall Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) Cc: "FreeBSD-CURRENT@freebsd.org Current" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 17:42:52 -0000 --Apple-Mail=_C40C325F-5662-4298-A4C0-C8B0E7C3DC31 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii David, The definition of DECLARE_BLOCK seems to trip over GCC 4.2.1 here at Juniper. This is how we run the compiler: = /volume/fwtools/gcc/jnpr/4.2.1/amd64-juniper-junos.5/bin/amd64-juniper-jun= os-gcc -O2 -pipe -I/b/marcelm/fbsd-head/src/lib/libc/include = -I/b/marcelm/fbsd-head/src/lib/libc/../../include = -I/b/marcelm/fbsd-head/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRIVATE = -I/b/marcelm/fbsd-head/src/lib/libc/../../contrib/gdtoa = -I/b/marcelm/fbsd-head/src/lib/libc/../../contrib/libc-vis -DINET6 = -I/b/marcelm/fbsd-head/obj/amd64/lib/libc = -I/b/marcelm/fbsd-head/src/lib/libc/resolv -D_ACL_PRIVATE = -DPOSIX_MISTAKE = -I/b/marcelm/fbsd-head/src/lib/libc/../../contrib/jemalloc/include = -I/b/marcelm/fbsd-head/src/lib/libc/../../contrib/tzcode/stdtime = -I/b/marcelm/fbsd-head/src/lib/libc/stdtime = -I/b/marcelm/fbsd-head/src/lib/libc/locale -DBROKEN_DES -DPORTMAP = -DDES_BUILTIN -I/b/marcelm/fbsd-head/src/lib/libc/rpc -DNS_CACHING = -DSYMBOL_VERSIONING -D__ELF__ -Dunix -D__unix -D__unix__ = -D__FreeBSD__=3D9 --sysroot = /volume/sisyphus/occam/sysroot/projects_tp5/20131031.611483/amd64 = -fno-builtin-printf -g -nostdinc = -isystem/b/marcelm/fbsd-head/obj/stage/amd64/usr/include = -isystem/b/marcelm/fbsd-head/obj/stage/amd64/include -std=3Dgnu99 = -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized = -Wno-pointer-sign -I/b/marcelm/fbsd-head/src/lib/libutil = -I/b/marcelm/fbsd-head/src/lib/msun/src = -I/b/marcelm/fbsd-head/src/lib/msun/x86 -c = /b/marcelm/fbsd-head/src/lib/libc/stdlib/atexit.c -o atexit.o whatever set of flags we use here at Juniper: This is the error: Building /b/marcelm/fbsd-head/obj/amd64/lib/libc/atexit.o cc1: warnings being treated as errors /b/marcelm/fbsd-head/src/lib/libc/stdlib/atexit.c:144: warning: = anonymous struct declared inside parameter list /b/marcelm/fbsd-head/src/lib/libc/stdlib/atexit.c:144: warning: its = scope is only this definition or declaration, which is probably not what = you want *** Error code 1 This hurdle is a bit higher than the hurdles I normally run into when syncing with ^/head, so I could use your expertise. We need to continue to be able to build the sources with compilers outside of the tree as much as possible and I haven't found a way yet (one I don't dislike to be precise) to get this blocks stuff to compile. It's a huge blocker right now. Thanks, --=20 Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_C40C325F-5662-4298-A4C0-C8B0E7C3DC31 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlM+7w0ACgkQpgWlLWHuifbAjACfU9T6kOLE4imwDblpOsd4YLqJ ISUAnAuEn34HtrA01HUjmTqvWvzlb7uM =rFE4 -----END PGP SIGNATURE----- --Apple-Mail=_C40C325F-5662-4298-A4C0-C8B0E7C3DC31--