Closed
Bug 632915
Opened 13 years ago
Closed 13 years ago
Mozilla does not compile anymore on arm-hardfp
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: romaxa, Assigned: romaxa)
References
Details
Attachments
(1 file, 1 obsolete file)
6.40 KB,
patch
|
glandium
:
review-
|
Details | Diff | Splinter Review |
Bug 632162 has been landed even with separate ARM_VFP define MOZ_ARM_VFP_FLAGS, but even with that we still have -mfloat-abi=softfp hardcoded http://hg.mozilla.org/mozilla-central/annotate/280e978fc6fb//configure.in#l7225 CFLAGS="$CFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS" I'm using hardfp toolchain arm. sbox-arm-none-linux-gnueabi-g++ ('cs2009q3-hard-67-sb12') 4.4.1
Comment 1•13 years ago
|
||
This should IMHO be handled with bug 626035
Assignee | ||
Comment 2•13 years ago
|
||
Assignee | ||
Comment 3•13 years ago
|
||
hmm I tried second patch in that bug and got another error: checking for valid optimization flags... no configure: error: These compiler flags are invalid: -Os -freorder-blocks -fomit-frame-pointer
Assignee | ||
Comment 4•13 years ago
|
||
"alternative proposal" also does not help with this problem (it does not solve that at all)
Comment 5•13 years ago
|
||
(In reply to comment #4) > "alternative proposal" also does not help with this problem (it does not solve > that at all) no, but the problem is that fiddling with build flags should be done in .mozconfig, not configure.in.
Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 8•13 years ago
|
||
Comment on attachment 511109 [details] [diff] [review] no hardcoded softfp flag obsolete
Attachment #511109 -
Flags: review?(vladimir)
Assignee | ||
Comment 9•13 years ago
|
||
Attachment #511109 -
Attachment is obsolete: true
Attachment #526595 -
Flags: review?(mh+mozilla)
Assignee | ||
Comment 10•13 years ago
|
||
sounds like bug 626035 does not have good progress... Can we apply this patch (it should be safe for maem/android) and not required any mozconfig changes
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 11•13 years ago
|
||
Comment on attachment 526595 [details] [diff] [review] Detect HRDFP in configure and disable softfp only in that case I think what we need is a configure flag, e.g --with-arm-float-abi, passing its value to -mfloat-abi when there is one, and with appropriate defaults for the different platforms. This is the way forward for bug 626035 as well (comment 50).
Attachment #526595 -
Flags: review?(mh+mozilla) → review-
Comment 12•13 years ago
|
||
I'm pretty sure this is not an issue anymore with the various changes that happened to the build system (and Debian packages do build fine on armhf)
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → WORKSFORME
Comment 13•13 years ago
|
||
looking at xulrunner 9 in Fedora all the options look to be there in configure to set all the various hard/soft and the type of FP unit.
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•