Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2012 11:18:20 +0200
From:      =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org>
To:        Lars Engels <lars.engels@0x20.net>
Cc:        chromium@freebsd.org, d@delphij.net
Subject:   Re: Chromium build fails on Current (r233121)
Message-ID:  <CADL2u4jXe8HxO=evUbUn9DpnOOCAo5_ozGtzJssKSqe=HSygDw@mail.gmail.com>
In-Reply-To: <20120406090549.GP13705@e-new.0x20.net>
References:  <20120318201109.GA23354@e-new.0x20.net> <4F796427.1020408@delphij.net> <CADL2u4hPQgJAduVVE2fO4Y6naAGhWgsTpd%2B26Ejctti6oEtD3g@mail.gmail.com> <20120406090549.GP13705@e-new.0x20.net>

next in thread | previous in thread | raw e-mail | index | archive | help
2012/4/6 Lars Engels <lars.engels@0x20.net>:
> On Mon, Apr 02, 2012 at 10:46:23AM +0200, Ren=E9 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_in_=
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. =A0Haven't investigated the underlying issue though=
.
>> >
>> Fixed probably, chromium also builds with top-of-tree clang (from upstre=
am) with
>> http://trillian.chruetertee.ch/chromium/changeset/318 applied.
>
> Unfortunately it's still not fixed for me. Building with CLANG:
>
> =A0LINK(host) out/Release/protoc
> =A0LINK(host) out/Release/protoc: Finished
> =A0AR(host) out/Release/obj.host/v8/tools/gyp/libv8_nosnapshot.a
> =A0RULE sync_proto_genproto_0
> out/Release/pyproto/chrome/browser/sync/protocol/app_notification_specifi=
cs_pb2.py
> gmake: ***
> [out/Release/pyproto/chrome/browser/sync/protocol/app_notification_specif=
ics_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 for =
me.
The clang in base contains a bug which miscompiles protoc resulting in
the SIGFPE even
with the patch added in the last commit.

Ren=E9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADL2u4jXe8HxO=evUbUn9DpnOOCAo5_ozGtzJssKSqe=HSygDw>