From owner-freebsd-current@FreeBSD.ORG Sun Apr 29 08:10:16 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F303F106564A for ; Sun, 29 Apr 2012 08:10:16 +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]) by mx1.freebsd.org (Postfix) with ESMTP id A62978FC0A for ; Sun, 29 Apr 2012 08:10:16 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1SOPCx-0007zT-NT>; Sun, 29 Apr 2012 10:10:15 +0200 Received: from e178035180.adsl.alicedsl.de ([85.178.35.180] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1SOPCx-0006k6-Ho>; Sun, 29 Apr 2012 10:10:15 +0200 Message-ID: <4F9CF75F.2000605@zedat.fu-berlin.de> Date: Sun, 29 Apr 2012 10:10:07 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120314 Thunderbird/10.0.3 MIME-Version: 1.0 To: Current FreeBSD X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig89DACBDBD8C8F7504EE7813D" X-Originating-IP: 85.178.35.180 Subject: www/firefox and mail/thunderbird fail to compile in FreeBSD 10-CUR/amd64 with CLANG X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 29 Apr 2012 08:10:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig89DACBDBD8C8F7504EE7813D Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On my FreeBSD 10 boxes, all compiled with CLANG and using CLANG ( FreeBSD 10.0-CURRENT #0 r234500: Fri Apr 20 21:59:02 CEST 2012), compiling/updating Firefox to V12 and Thunderbird to V12 fails with the below shown error. Does someone have any clue what could trigger the problem? On FreeBSD 9-STABLE/amd64, also compiled with CLANG, there is no such problem. Thanks in advance, Oliver [...] In file included from /usr/ports/www/firefox/work/mozilla-release/js/src/jsalloc.cpp:40: In file included from ./jscntxt.h:50: =2E/jsapi.h:2102:1: error: 'JS_GetNaNValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetNaNValue(JSContext *cx); ^ =2E/jsapi.h:2105:1: error: 'JS_GetNegativeInfinityValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which = is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetNegativeInfinityValue(JSContext *cx); ^ =2E/jsapi.h:2108:1: error: 'JS_GetPositiveInfinityValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which = is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetPositiveInfinityValue(JSContext *cx); ^ =2E/jsapi.h:2111:1: error: 'JS_GetEmptyStringValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetEmptyStringValue(JSContext *cx); ^ =2E/jsapi.h:2819:1: error: 'JS_ComputeThis' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_ComputeThis(JSContext *cx, jsval *vp); ^ In file included from /usr/ports/www/firefox/work/mozilla-release/js/src/jsanalyze.cpp:40: In file included from ./jsanalyze.h:44: In file included from ./jscompartment.h:46: In file included from ./jscntxt.h:50: =2E/jsapi.h:2102:1: error: 'JS_GetNaNValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetNaNValue(JSContext *cx); ^ =2E/jsapi.h:2105:1: error: 'JS_GetNegativeInfinityValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which = is incompatible with C [-Werror,-Wreturn-type-c-linkage] --------------enig89DACBDBD8C8F7504EE7813D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJPnPdnAAoJEOgBcD7A/5N8pe4H/iLeVSkjHGvPxj9hrZMiLJdv UFz+kzTCIz9keTrwoGqQDKT8awvXkq4WLNEDgB0AAJb6ukI9xM9z3QWFww3xOgWk rE+v/GcsyBKezc2SHY7ZOFTsdmweM7LICCxRye7DXqZ6Amik+Phr0KaygxNdlEoN JtX0/YgLB/q7+URnmhRzUgLPgbFjM9ccofYS2csyvoLXpPysn6mAOw8mCp55fhB+ aL2/sIcy9yF18KN4pzKmYmF7YhC9kAh1/UDtX4nemfXc0qB/i3IJDbu3m3O+YG0q Wc0Xiq1CMZHAcKlFdN8QRq17xPO3yLI03smiddsJwg9kqhx0LvDvz5GrS5MZtWg= =Gb08 -----END PGP SIGNATURE----- --------------enig89DACBDBD8C8F7504EE7813D--