ports/177224: building www/firefox fails
Tsurutani Naoki
turutani at scphys.kyoto-u.ac.jp
Fri Mar 29 09:10:01 UTC 2013
The following reply was made to PR ports/177224; it has been noted by GNATS.
From: Tsurutani Naoki <turutani at scphys.kyoto-u.ac.jp>
To: bug-followup at FreeBSD.org, turutani at scphys.kyoto-u.ac.jp,
gecko at freebsd.org
Cc:
Subject: Re: ports/177224: building www/firefox fails
Date: Fri, 29 Mar 2013 18:01:38 +0900
building with lang/clang-devel fails (*1).
building with lang/clang successfully finishes, but firefox crashes
with segmentation fault just after running it.
building without clang successfully finishes, and no errors.
I want a knob to choice the compiler.
(*1) __attribute__((used)) might be ignored with clang-devel (clang 3.3) ?
using [[gnu::used]] instead of above failed:
% make
...
/usr/local/work/usr/ports/www/firefox/work/mozilla-
release/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_gcc_x86_unix.cpp:12:13: error:
'__used__' attribute cannot be applied to types
static void ATTRIBUTE_USED __attribute__ ((regparm(3)))
^
../../../../../../../xpcom/reflect/xptcall/src/md/unix/xptc_gcc_x86_unix.h:19:26: note:
expanded from macro 'ATTRIBUTE_USED'
#define ATTRIBUTE_USED [[gnu::__used__]]
^
1 error generated.
%
More information about the freebsd-gecko
mailing list