[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2013-03-23 Thread Bug Watch Updater
** Changed in: gcc Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/604874 Title: firefox fails to build from source with Linaro toolchain To manage notifications abou

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2011-02-25 Thread Andrew Stubbs
** Changed in: gcc-linaro-tracking Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/604874 Title: firefox fails to build from source with Linaro toolchain

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-09-17 Thread Bug Watch Updater
** Changed in: firefox Importance: Unknown => Medium -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubunt

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-08-18 Thread Michael Hope
Related: lp:gcc-linaro/4.5,revno=99331 -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubun

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-08-15 Thread Michael Hope
fixed-in: lp:gcc-linaro/4.4,revno=93550 -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubu

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-08-11 Thread Michael Hope
** Changed in: gcc-linaro/4.4 Status: Fix Committed => Fix Released ** Changed in: gcc-linaro/4.5 Status: Fix Committed => Fix Released -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-08-11 Thread Ulrich Weigand
** Changed in: gcc-linaro/4.5 Status: In Progress => Fix Committed -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-08-06 Thread Ulrich Weigand
** Changed in: gcc-linaro/4.4 Status: In Progress => Fix Committed -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-08-02 Thread Michael Hope
** Changed in: gcc-linaro/4.5 Milestone: None => 4.5-2010.08-0 -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-08-02 Thread Michael Hope
** Changed in: gcc-linaro/4.5 Milestone: 4.4-2010.08-0 => None ** Changed in: gcc-linaro/4.4 Importance: Undecided => High ** Changed in: gcc-linaro/4.4 Milestone: None => 4.4-2010.08-0 -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-08-02 Thread Ulrich Weigand
Merge requests for both Linaro GCC 4.4 and Linaro GCC 4.5 now pending. ** Branch linked: lp:~uweigand/gcc-linaro/lp-604874-4.5 -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-08-02 Thread Ulrich Weigand
** Also affects: gcc-linaro/4.4 Importance: Undecided Status: New ** Also affects: gcc-linaro/4.5 Importance: High Assignee: Ulrich Weigand (uweigand) Status: In Progress ** Changed in: gcc-linaro/4.4 Assignee: (unassigned) => Ulrich Weigand (uweigand) ** Changed in

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-08-01 Thread Michael Hope
** Also affects: gcc-linaro-tracking Importance: Undecided Status: New ** Changed in: gcc-linaro-tracking Status: New => Fix Committed ** Changed in: gcc-linaro-tracking Milestone: None => 4.5.2 -- firefox fails to build from source with Linaro toolchain https://bugs.launch

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-08-01 Thread Matthias Klose
firefox and xulrunner built on armel ** Changed in: firefox (Ubuntu) Status: In Progress => Fix Released ** Changed in: xulrunner-1.9.2 (Ubuntu) Status: In Progress => Fix Released -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 Y

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-31 Thread Bug Watch Updater
** Changed in: gcc Status: In Progress => Fix Released -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-31 Thread Matthias Klose
fixed in gcc-4.4 4.4.4-8ubuntu1 ** Changed in: gcc-4.4 (Ubuntu) Importance: Undecided => High ** Changed in: gcc-4.4 (Ubuntu) Status: New => Fix Released ** Changed in: gcc-4.4 (Ubuntu) Milestone: None => maverick-alpha-3 -- firefox fails to build from source with Linaro toolcha

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-31 Thread Matthias Klose
fixed in gcc-4.5 4.5.1-1ubuntu1 ** Also affects: gcc-4.4 (Ubuntu) Importance: Undecided Status: New ** Also affects: gcc-4.5 (Ubuntu) Importance: Undecided Status: New ** Changed in: gcc-4.5 (Ubuntu) Importance: Undecided => High ** Changed in: gcc-4.5 (Ubuntu) Sta

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-31 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/gcc-4.4 -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-31 Thread Ulrich Weigand
Fix checked in to 4.5 branch as well. -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubunt

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-30 Thread Launchpad Bug Tracker
** Branch linked: lp:~uweigand/gcc-linaro/lp-604874 -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bu

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-30 Thread Ulrich Weigand
Fix approved for GCC mainline and checked in. Will check in to 4.5 branch after 4.5.1 release. Preparing backport to Linaro GCC now. -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-29 Thread Bug Watch Updater
** Changed in: gcc Status: New => In Progress -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-29 Thread Bug Watch Updater
** Changed in: firefox Status: New => Invalid -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-28 Thread Bug Watch Updater
** Changed in: gcc Status: Unknown => New -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-28 Thread Ulrich Weigand
Opened GCC bugzilla PR c++/45112 to track this now. ** Bug watch added: GCC Bugzilla #45112 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45112 ** Also affects: gcc via http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45112 Importance: Unknown Status: Unknown -- firefox fails to build

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-28 Thread Ulrich Weigand
Yes, this does indeed look like the root cause. With the following patch I'm getting correct behavior back: --- gcc/cp/decl.c.orig 2010-07-28 19:26:52.0 +0200 +++ gcc/cp/decl.c 2010-07-28 19:28:13.0 +0200 @@ -2068,6 +2068,10 @@ SET_DECL_INIT_PRIORITY (olddecl, DECL_I

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-28 Thread Ulrich Weigand
The problem is that in cp/decl.c:duplicate_decls, when merging two decls for one variable, the code uses a memcpy to copy all fields in tree_decl_common *except* those in tree_common (which are handled manually). Since the patch moves the user_align and packed_flag bits from tree_decl_common into

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-28 Thread Ulrich Weigand
Looks like the culprit may be this patch, which also went upstream. I checked upstream GCC, and it seems broken on the test case (on all platforms) as well ... 2009-06-11 Nathan Froyd Backport from upstream: 2009-06-10 Nathan Froyd gcc/ * tree.h (tree_base): Ad

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-28 Thread Ulrich Weigand
Linaro GCC shows this same problem not just on ARM, but also on i386. So it seems this may now cause problem elsewhere as well ... -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubun

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-28 Thread Ulrich Weigand
Hmm ... actually there *is* code in the Mozilla sources to attempt to ensure proper alignment, in jsstr.cpp: #ifdef __SUNPRO_CC #pragma pack(8) #else #pragma pack(push, 8) #endif JSString JSString::unitStringTable[] #ifdef __GNUC__ __attribute__ ((aligned (8))) #endif = { U(0x00), U(0x01), U(

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-28 Thread Loïc Minier
** Also affects: firefox via https://bugzilla.mozilla.org/show_bug.cgi?id=560464 Importance: Unknown Status: Unknown ** Bug watch added: Mozilla Bugzilla #582593 https://bugzilla.mozilla.org/show_bug.cgi?id=582593 ** Changed in: firefox Remote watch: Mozilla Bugzilla #560464 => M

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-28 Thread Ulrich Weigand
Ok, so the immediate cause of the bug is that a global array is only 4-byte aligned, but the code silently assumes 8-byte alignment. The problem triggers in jsatom.cpp:js_AtomizeString: return (JSAtom *) STRING_TO_JSVAL(JSString::unitString(c)); jsapi.h:STRING_TO_JSVAL uses the low 3

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-28 Thread Ulrich Weigand
Confirmed the build failure and segfault in firefox-3.6.8+build1+nobinonly with 4.4.4-7ubuntu3. I'm looking into this now. ** Changed in: gcc-linaro Assignee: (unassigned) => Ulrich Weigand (uweigand) -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/b

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-27 Thread Yao Qi
Checkout firefox code from mozilla.org, configured, and built. Still segfaults. Here is a list of steps I did, 1. hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/ 192src 2. cd 192src/js/src 3. ~/autoconf-2.13-install/bin/autoconf 4. ./configure 5. make ./dist/bin/js imacro_asm.js ./imacros.

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-27 Thread Michael Hope
Runs OK using gcc 4.4.4-6ubuntu2 (i.e. not the Linaro GCC) and ./configure --disable-debug --enable-optimize -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-27 Thread Loïc Minier
I tried cross-building with -marm (this was a bit fragile) but it didn't help the segfault. -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-27 Thread Loïc Minier
I used Marcin's cross packages, and confirm that --enable-debug in the above recipe makes the segfault go away. -- firefox fails to build from source with Linaro toolchain https://bugs.launchpad.net/bugs/604874 You received this bug notification because you are a member of Ubuntu Bugs, which is s

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-27 Thread Loïc Minier
Cross-compile recipe: export HOST_CC=gcc HOST_CXX=g++ CROSS_COMPILE=1 CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ mkdir foobuild; cd foobuild ../configure --build=x86_64-linux-gnu --host=arm-linux-gnueabi --target=arm-linux-gnueabi --enable-debug make -j2 -- firefox fails to build from s

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-27 Thread Yao Qi
./configure --enable-debug make No segfault. Attached generated imacros.c.tmp However, ./configure Add -fno-inline -fno-strict-aliasing in INTERP_OPTIMIZER, MODULE_OPTIMIZE_FLAGS, and MOZ_OPTIMIZE_FLAGS. Segfaults. ** Attachment added: "imacros.c.tmp" http://launchpadlibrarian.net/525809

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-26 Thread Yao Qi
Configured and built firefox on pavo1 with different options, ./configure --disable-optimize --enable-debug CFLAGS="-g -ggdb -O0 -fno-strict-aliasing -Wall" CXXFLAGS="$CFLAGS" make MODULE_OPTIMIZE_FLAGS="" INTERP_OPTIMIZER="" MOZ_OPTIMIZE_FLAGS="" No segfault. ./configure --enable-debug CFLAGS=

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-26 Thread Loïc Minier
Built with: autoconf CFLAGS="-g -ggdb -O0 -fno-strict-aliasing -Wall" CXXFLAGS="$CFLAGS" ./configure --disable-optimize --enable-debug make -j2 MODULE_OPTIMIZE_FLAGS="" INTERP_OPTIMIZER="" MOZ_OPTIMIZE_FLAGS="" I still get the same issue -- firefox fails to build from source with Linaro toolcha

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-26 Thread Chris Coulson
** Also affects: xulrunner-1.9.2 (Ubuntu) Importance: Undecided Status: New ** Changed in: xulrunner-1.9.2 (Ubuntu) Status: New => In Progress ** Changed in: xulrunner-1.9.2 (Ubuntu) Importance: Undecided => High -- firefox fails to build from source with Linaro toolchain ht

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-26 Thread Loïc Minier
I tried building mozilla-central tip as of today; in the js subdir I ran autoconf, configure, make, then dist/bin/js would still crash. I can't get a clean backtrace though: (gdb) bt #0 0x00061536 in js_SetPropertyHelper () #1 0x00130716 in js_Interpret () #2 0x00130716 in js_Interpret () Backt

[Bug 604874] Re: firefox fails to build from source with Linaro toolchain

2010-07-26 Thread Loïc Minier
** Attachment added: "Full backtrace, by Chris Coulson" http://launchpadlibrarian.net/52527201/bt.txt ** Changed in: gcc-linaro Status: New => In Progress ** Also affects: firefox (Ubuntu) Importance: Undecided Status: New ** Changed in: firefox (Ubuntu) Importance: Undec