Date: Fri, 29 Mar 2013 18:01:38 +0900 From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> To: bug-followup@FreeBSD.org, turutani@scphys.kyoto-u.ac.jp, gecko@freebsd.org Subject: Re: ports/177224: building www/firefox fails Message-ID: <201303290901.AA00161@h115.65.228.10.32118.vlan.kuins.net>
next in thread | raw e-mail | index | archive | help
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. %
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303290901.AA00161>