firefox fails to start on armel

Bug #838008 reported by Oliver Grawert
This bug report is a duplicate of:  Bug #837685: Firefox segfaults on launch on armel. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Fix Released
Medium
firefox (Ubuntu)
Triaged
High
Chris Coulson
Oneiric
Triaged
High
Chris Coulson

Bug Description

on the oneiric beta images for armel it is not possible to start firefox, after starting it it immediately fires up a crash dialog. apparently this has been reported (and worked on) upstream in bug http://bugzilla.mozilla.org/show_bug.cgi?id=675618 already apparently, but the fix has not entered our build. this bug is for tracking the merge of the upstream fix.

Tags: iso-testing
Revision history for this message
In , Mh+mozilla (mh+mozilla) wrote :

Thanks to this GNU ld bug: http://sourceware.org/bugzilla/show_bug.cgi?id=13049 , building with a recent GNU ld (>= 2.21.1 are affected for sure, not sure about older ones ; 2.19 is definitely not affected) on ARM leads to a crash.

Revision history for this message
In , Mh+mozilla (mh+mozilla) wrote :

Created attachment 549783
Work around recent ARM GNU ld bug with -fdata-sections and variables names starting with "stub" leading to crash

A workaround is to avoid using variables with a name starting with "stub".

js/src/jsdhash.cpp has the same variable name, but as it is compiled as C++, its name is mangled and thus doesn't start with "stub".

Revision history for this message
In , Respindola (respindola) wrote :

Can we use gold for this?

Revision history for this message
In , Mh+mozilla (mh+mozilla) wrote :

(In reply to comment #2)
> Can we use gold for this?

It's not only a problem for us. It's a problem for those that use GNU ld on ARM.

Revision history for this message
In , Benjamin Smedberg (Mozilla) [:bs] (benjamin-smedbergs) wrote :

Comment on attachment 549783
Work around recent ARM GNU ld bug with -fdata-sections and variables names starting with "stub" leading to crash

Since pldhash is jsdhash, can we just compile it as C++ and move on?

Revision history for this message
In , Mh+mozilla (mh+mozilla) wrote :

Created attachment 551473
Compile pldhash as C++

> Since pldhash is jsdhash, can we just compile it as C++ and move on?

We can.

Revision history for this message
In , Mh+mozilla (mh+mozilla) wrote :
Revision history for this message
In , Ehsan-mozilla (ehsan-mozilla) wrote :
Revision history for this message
In , Daniel Holbert (dholbert) wrote :

For the record, this requires a clobber to build successfully, or else you'll get errors like:
> make[8]: *** No rule to make target `pldhash.c', needed by `pldhash.o'. Stop.

(noting here in case any devs / projec-branch-owners encounter this error and do a bugzilla search to see if it's reported anywhere)

Oliver Grawert (ogra)
Changed in firefox (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-11.10-beta-2
tags: added: iso-testing
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Chris may you please look at this ? Thanks.

Changed in firefox (Ubuntu Oneiric):
status: New → Triaged
assignee: nobody → Chris Coulson (chrisccoulson)
assignee: Chris Coulson (chrisccoulson) → nobody
assignee: nobody → Chris Coulson (chrisccoulson)
Changed in firefox:
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.