From owner-freebsd-current@freebsd.org Sat May 28 22:04:35 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2F22B4EDDE for ; Sat, 28 May 2016 22:04:35 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (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 754981F49; Sat, 28 May 2016 22:04:35 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1b6mLR-0018Bl-Cf>; Sun, 29 May 2016 00:04:33 +0200 Received: from x5ce13db7.dyn.telefonica.de ([92.225.61.183] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (envelope-from ) id <1b6mLR-000kLG-14>; Sun, 29 May 2016 00:04:33 +0200 Date: Sun, 29 May 2016 00:07:06 +0200 From: "O. Hartmann" To: Alan Somers Cc: FreeBSD CURRENT Subject: Re: r300912: compile failure in world: event.cc:438:45: error: invalid suffix on literal; Message-ID: <20160529000706.1c1e582d.ohartman@zedat.fu-berlin.de> In-Reply-To: References: <20160528230443.31ee2003.ohartman@zedat.fu-berlin.de> Organization: FU Berlin X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/x0k_LVxWNOoIll9Q8w1=kL."; protocol="application/pgp-signature" X-Originating-IP: 92.225.61.183 X-ZEDAT-Hint: A X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Sat, 28 May 2016 22:04:35 -0000 --Sig_/x0k_LVxWNOoIll9Q8w1=kL. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Sat, 28 May 2016 15:20:15 -0600 Alan Somers schrieb: > On Sat, May 28, 2016 at 3:04 PM, O. Hartmann > wrote: > > Recent CURRENT r300912 fails to buildworld with the error shown below: > > > > [...] > > cc -O2 -pipe -O3 -O3 -pipe -march=3Dnative -DNDEBUG -MD -MF.depend.= alias_skinny.o > > -MTalias_skinny.o -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers > > -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-cons= t-variable > > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > > -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wn= o-switch > > -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused= -arguments > > -c /usr/src/lib/libalias/modules/skinny/../../../../sys/netinet/libalia= s/alias_skinny.c > > -o alias_skinny.o --- all_subdir_lib/libdevdctl --- --- event.So > > --- /usr/src/lib/libdevdctl/event.cc:438:45: error: invalid suffix on l= iteral; C++11 > > requires a space between literal and identifier [-Wreserved-user-define= d-literal] > > snprintf(timebuf, bufsize, " timestamp=3D%"PRId64, =20 >=20 > Those aren't the usual CFLAGS. What are your environment, compiler, > and target architecture? Compiler is CLANG/LLVM, target arch is amd64, in that case, an oldish IvyBr= idge, but it fails the same way on Haswell as well. 64bit. For buildworld, I use in /etc/src.conf this since an eternity (measured in = the metrik of 11-CURRENT): CPUTYPE?=3D native # CFLAGS+=3D -O3 -pipe # for the kernel COPTFLAGS+=3D -O3 -pipe # CXXFLAGS+=3D -std=3Dc++11 As it has been earlier stated, there is no -std=3Dc++11 visible in the cc o= ptions, only -std=3Dgnu99. The compiler gives the right suggestion itself, but someone should fix and = commit ... Regards, Oliver --Sig_/x0k_LVxWNOoIll9Q8w1=kL. Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXShaKAAoJEOgBcD7A/5N816kIALrsjoPNYTf2jz3CXoNlZRAm fygg2uBTUXog04A5OxZ+89kNpol1wZOsyg36QBXcMVEC6W3WtC9cDHRFdjWweH9U jMYu66O4kpBblitmx9E4Hv1JrYPr+rutvsrvN6IvdL4Wa+ckEGpv7iR7ityS1/UX aAcSLqFRR/3iBld0e3xAnZcKxmaFFvg6HgUQSi0JC4prQqaJB9+Y2o8evRTsnB+N Q4ZzSRfdeXkzyttdMnNqZY/rAMlDfMEHCA9/MOUSoje8Upeuou2IFJQDItBvgTat W1XGRGmIAPsb0VPx3MTVnaFTpJwN5O4BznxHaKC2g5IVrmDqKr6X5KDeWDUCWdk= =sDvN -----END PGP SIGNATURE----- --Sig_/x0k_LVxWNOoIll9Q8w1=kL.--