Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2012 12:23:16 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        =?utf-8?B?UmVuw6k=?= Ladan <rene@freebsd.org>
Cc:        chromium@freebsd.org, d@delphij.net
Subject:   Re: Chromium build fails on Current (r233121)
Message-ID:  <20120406102316.GQ13705@e-new.0x20.net>
In-Reply-To: <CADL2u4jXe8HxO=evUbUn9DpnOOCAo5_ozGtzJssKSqe=HSygDw@mail.gmail.com>
References:  <20120318201109.GA23354@e-new.0x20.net> <4F796427.1020408@delphij.net> <CADL2u4hPQgJAduVVE2fO4Y6naAGhWgsTpd%2B26Ejctti6oEtD3g@mail.gmail.com> <20120406090549.GP13705@e-new.0x20.net> <CADL2u4jXe8HxO=evUbUn9DpnOOCAo5_ozGtzJssKSqe=HSygDw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--1o9jrj+SkgBpwUj4
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 06, 2012 at 11:18:20AM +0200, Ren=C3=A9 Ladan wrote:
> 2012/4/6 Lars Engels <lars.engels@0x20.net>:
> > On Mon, Apr 02, 2012 at 10:46:23AM +0200, Ren=C3=A9 Ladan wrote:
> >> 2012/4/2 Xin Li <delphij@delphij.net>:
> >> > On 03/18/12 13:11, Lars Engels wrote:
> >> >> Build of Chromium 17.0.963.79 fails to build on r233121, amd64:
> >> >>
> >> >> CXX(target)
> >> >> out/Release/obj.target/webkit_gpu/webkit/gpu/webgraphicscontext3d_i=
n_process_impl.o
> >> >>
> >> >>
> >> > LINK(host) out/Release/protoc
> >> >> AR(host) out/Release/obj.host/v8/tools/gyp/libv8_nosnapshot.a RULE
> >> >> sync_proto_genproto_0
> >> >> out/Release/pyproto/chrome/browser/sync/protocol/sync_pb2.py gmake:
> >> >> *** [out/Release/pyproto/chrome/browser/sync/protocol/sync_pb2.py]
> >> >> Floating point exception: 8 (core dumped) gmake: *** Waiting for
> >> >> unfinished jobs.... *** [do-build] Error code 1
> >> >>
> >> >> Stop in /usr/ports/www/chromium. *** [build] Error code 1
> >> >
> >> > Hit the same thing and compiling with GCC46 either works around it, =
or
> >> > fixed the problem. =C2=A0Haven't investigated the underlying issue t=
hough.
> >> >
> >> Fixed probably, chromium also builds with top-of-tree clang (from upst=
ream) with
> >> http://trillian.chruetertee.ch/chromium/changeset/318 applied.
> >
> > Unfortunately it's still not fixed for me. Building with CLANG:
> >
> > =C2=A0LINK(host) out/Release/protoc
> > =C2=A0LINK(host) out/Release/protoc: Finished
> > =C2=A0AR(host) out/Release/obj.host/v8/tools/gyp/libv8_nosnapshot.a
> > =C2=A0RULE sync_proto_genproto_0
> > out/Release/pyproto/chrome/browser/sync/protocol/app_notification_speci=
fics_pb2.py
> > gmake: ***
> > [out/Release/pyproto/chrome/browser/sync/protocol/app_notification_spec=
ifics_pb2.py]
> > Floating point exception: 8 (core dumped)
> >
> > # clang -v
> > FreeBSD clang version 3.0 (tags/RELEASE_30/final 145349) 20111210
> > Target: x86_64-unknown-freebsd10.0
> > Thread model: posix
> >
> Your  clang is probably too old, clang/llvm from upstream trunk worked fo=
r me.
> The clang in base contains a bug which miscompiles protoc resulting in
> the SIGFPE even
> with the patch added in the last commit.

Yes, that maybe. FWIW I succeeded building chromium with gcc-4.6 now. :)

--1o9jrj+SkgBpwUj4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk9+xBQACgkQKc512sD3afjOKgCfW8Z4WaawIk/kgplwRrYo6e7a
p8AAn0gYt3KKPdPqp/4ZoAaCPDRG/fmG
=hrbh
-----END PGP SIGNATURE-----

--1o9jrj+SkgBpwUj4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120406102316.GQ13705>