Date: Sun, 22 Mar 2015 22:23:30 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, freebsd-current Current <freebsd-current@freebsd.org>, "jenkins-admin@freebsd.org" <jenkins-admin@freebsd.org>, freebsd-toolchain@freebsd.org Subject: Re: Jenkins build is still unstable: FreeBSD_HEAD-tests2 #867 Message-ID: <BE5A3694-E1D1-4A47-8707-D6214E997363@FreeBSD.org> In-Reply-To: <CAG=rPVeyamLPnC5i05_=Ub0D%2BV256U_8t8R5tfDitC=NkjBOFQ@mail.gmail.com> References: <1669399171.13.1427029129760.JavaMail.jenkins@jenkins-9.freebsd.org> <799490341.14.1427048792932.JavaMail.jenkins@jenkins-9.freebsd.org> <CAG=rPVeyamLPnC5i05_=Ub0D%2BV256U_8t8R5tfDitC=NkjBOFQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_6462D90B-46B0-43F8-9FF1-609FA2EB4A90 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 22 Mar 2015, at 22:02, Craig Rodrigues <rodrigc@FreeBSD.org> wrote: > > On Sun, Mar 22, 2015 at 11:26 AM, <jenkins-admin@freebsd.org> wrote: > >> See <https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/867/> >> > > Can someone with toolchain expertise look at this? > After the clang 3.6.1 import, /bin/expr behaves differently. > > With clang 3.5.0: > > # expr 4611686018427387904 + 4611686018427387904 > expr: overflow > > With clang 3.6.1: > > # expr 4611686018427387904 + 4611686018427387904 > -9223372036854775808 It works fine for me: $ /usr/obj/usr/src/bin/expr/expr 4611686018427387904 + 4611686018427387904 expr: overflow Are you using any special compilation flags? That said, having taken a quick look at expr.y, it does seem to rely on signed integer wrapping. -Dimitry --Apple-Mail=_6462D90B-46B0-43F8-9FF1-609FA2EB4A90 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----- Version: GnuPG/MacGPG2 v2.0.27 iEYEARECAAYFAlUPMtwACgkQsF6jCi4glqN6HgCg7DTYA/komyK13OWbbDYo4nxx QaUAoKvbdLwLKUDPGRpXU6EA9RdhPofH =WhMV -----END PGP SIGNATURE----- --Apple-Mail=_6462D90B-46B0-43F8-9FF1-609FA2EB4A90--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE5A3694-E1D1-4A47-8707-D6214E997363>