Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2011 00:37:51 +0400
From:      Test Rat <ttsestt@gmail.com>
To:        Florian Smeets <flo@FreeBSD.org>
Cc:        freebsd-gecko@FreeBSD.org
Subject:   Re: [SVN-Commit] r607 - branches/experimental/www/firefox-aurora
Message-ID:  <86fwku7b6o.fsf@gmail.com>
In-Reply-To: <4E419ED6.30709@FreeBSD.org> (Florian Smeets's message of "Tue, 09 Aug 2011 22:55:50 %2B0200")
References:  <201108032303.p73N3RQq064006@trillian.chruetertee.ch> <86liv2a8ll.fsf@gmail.com> <4E4184BA.9060701@FreeBSD.org> <8662m68j21.fsf@gmail.com> <4E419ED6.30709@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Florian Smeets <flo@FreeBSD.org> writes:

> On 09.08.11 21:46, Test Rat wrote:
>> Florian Smeets<flo@FreeBSD.org>  writes:
>>
>>> On 09.08.11 17:49, Test Rat wrote:
>>>> svn-freebsd-gecko@chruetertee.ch writes:
>>>>
>>>>> Author: flo
>>>>> Date: Wed Aug  3 23:03:27 2011
>>>>> New Revision: 607
>>>>>
>>>>> Log:
>>>>> update to 7.0a2-20110803 (non debug builds are still broken)
>>>>
>>>> I have trouble reproducing the crash. Do you still see it? It's kinda
>>>> hard to track down without publically available packages or rather
>>>> get the motivation to waste time just to break things again.
>>>
>>> Yes i can still reproduce it on 9-BETA1 with firefox-aurora from
>>> today. The package is available here, built with default options.
>>>
>>> http://tb.smeets.im/~flo/firefox-7.0.a2.20110809,1.tbz
>>
>> Good, no crash with your build, too. Can you try building libc with clang?
>> If it doesn't help try entire world.
>
> Interesting! libc built with clang makes it work.

Can you try with default TLS model? It's the one used clang-built libc
and by jemalloc bundled (for linux/android) with mozilla.

%%
Index: lib/libc/stdlib/malloc.c
===================================================================
--- lib/libc/stdlib/malloc.c	(revision 225055)
+++ lib/libc/stdlib/malloc.c	(working copy)
@@ -219,7 +219,7 @@
 #  define LG_QUANTUM		4
 #  define LG_SIZEOF_PTR		2
 #  define CPU_SPINWAIT		__asm__ volatile("pause")
-#  define TLS_MODEL		__attribute__((tls_model("initial-exec")))
+#  define TLS_MODEL		/* default */
 #endif
 #ifdef __ia64__
 #  define LG_QUANTUM		4
@@ -240,7 +240,7 @@
 #  define LG_QUANTUM		4
 #  define LG_SIZEOF_PTR		3
 #  define CPU_SPINWAIT		__asm__ volatile("pause")
-#  define TLS_MODEL		__attribute__((tls_model("initial-exec")))
+#  define TLS_MODEL		/* default */
 #endif
 #ifdef __arm__
 #  define LG_QUANTUM		3
%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fwku7b6o.fsf>