Date: Tue, 4 Sep 2012 02:38:04 -0400 (EDT) From: AN <andy@neu.net> To: Jan Beich <jbeich@tormail.org> Cc: freebsd-gecko@freebsd.org Subject: Re: [SVN-Commit] r978 - trunk/www/firefox-nightly/files Message-ID: <alpine.BSF.2.00.1209040159090.57775@mail.neu.net> In-Reply-To: <1T8i4z-000GHS-2i@internal.tormail.org> References: <201209032318.q83NIttL074881@trillian.chruetertee.ch> <alpine.BSF.2.00.1209040031570.57775@mail.neu.net> <1T8i4z-000GHS-2i@internal.tormail.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Sep 2012, Jan Beich wrote:
> AN <andy@neu.net> writes:
>
>> On Mon, 3 Sep 2012, svn-freebsd-gecko@chruetertee.ch wrote:
>>
>>> Author: jbeich
>>> Date: Mon Sep 3 23:18:55 2012
>>> New Revision: 978
>>>
>>> Log:
>>> resurrect gcc42 support, removed since bug 784029
>>>
>>> Reported by: AN <andy@neu.net>
>
> Oops, I've caught the above error when trying to build on redports and
> then confused with the one you reported.
>
>> js/src/jstypedarray.cpp:3395:1: error: control reaches end of non-void function [-Werror=return-type]
>
> Try gcc47 or the attached workaround (put it under files/ dir).
>
Ok, using gcc4.7 nightly builds successfully again :)
===> Registering installation for firefox-nightly-18.0.104165,1
On gcc4.8 with the attached workaround I still get:
/home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6/js/src/vm/ScopeObject-inl.h:51:5:
note: in expansion of macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT(CallObject::RESERVED_SLOTS ==
BlockObject::RESERVED_SLOTS);
^
/home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6/js/src/vm/String-inl.h:
In member function 'JSAtom* js::StaticStrings::lookup(const jschar*,
size_t)':
./../../dist/include/mozilla/Assertions.h:111:43: warning: typedef
'moz_static_assert124' locally defined but not used
[-Wunused-local-typedefs]
typedef int MOZ_STATIC_ASSERT_GLUE(moz_static_assert,
__COUNTER__)[(cond) ? 1 : -1]
^
./../../dist/include/mozilla/Assertions.h:79:50: note: in definition of
macro 'MOZ_STATIC_ASSERT_GLUE1'
# define MOZ_STATIC_ASSERT_GLUE1(x, y) x##y
^
./../../dist/include/mozilla/Assertions.h:111:20: note: in expansion of
macro 'MOZ_STATIC_ASSERT_GLUE'
typedef int MOZ_STATIC_ASSERT_GLUE(moz_static_assert,
__COUNTER__)[(cond) ? 1 : -1]
^
./../../dist/include/js/Utility.h:68:42: note: in expansion of macro
'MOZ_STATIC_ASSERT'
#define JS_STATIC_ASSERT(cond) MOZ_STATIC_ASSERT(cond,
"JS_STATIC_ASSERT")
^
/home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6/js/src/vm/String-inl.h:390:9:
note: in expansion of macro 'JS_STATIC_ASSERT'
JS_STATIC_ASSERT(INT_STATIC_LIMIT <= 999);
^
gmake[3]: *** [jstypedarray.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory
`/home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6/js/src'
gmake[2]: *** [libs_tier_js] Error 2
gmake[2]: Leaving directory
`/home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6'
gmake[1]: *** [tier_js] Error 2
gmake[1]: Leaving directory
`/home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6'
gmake: *** [default] Error 2
*** [do-build] Error code 1
Stop in /home/root/ff_nightly.
*** [/home/root/ff_nightly/work/.build_done.firefox._usr_local] Error code
1
I beleive upstream has swithced to clang. Should I use clang to compile
nightly? What do you put into the makefile, now I have USE_GCC= 4.8+?
I have clang installed as:
# clang -v
FreeBSD clang version 3.2 (trunk 162107) 20120817
Target: x86_64-unknown-freebsd10.0
Thread model: posix
I am using the base compiler to build world and most ports.
# cc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1209040159090.57775>
