Closed
Bug 462427
Opened 16 years ago
Closed 11 years ago
CROSS_COMPILE should not be required when cross compiling
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla30
People
(Reporter: dougt, Assigned: glandium)
References
Details
Attachments
(1 file)
6.35 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
in our mozconfig, in order to build from windows 32 to windows ce, it is required that we set:
CROSS_COMPILE = 1
However, it appears that this flag is superficial and autoconf already can tell if you are cross compiling based on the target and host flags.
Furthermore, code in configure.in, such as:
http://mxr.mozilla.org/mozilla-central/source/js/src/configure.in#215
is not being executed.
We should clean this up, and not required CROSS_COMPILE to be defined and simply determine if we are cross compiling based on the target being set.
Assignee | ||
Comment 1•11 years ago
|
||
Turns out I'm backslapped by this in bug 969164 because of how poorly we're subconfiguring libffi. It turns out js/src is already setting CROSS_COMPILE=1 semi-automatically, so that makes libffi happy by chance, and moving libffi subconfigure to top-level breaks the charm. So, might as well do the right thing with CROSS_COMPILE.
Blocks: 969164
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mh+mozilla
OS: Mac OS X → All
Hardware: x86 → All
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8372184 -
Flags: review?(ted)
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #2)
> Created attachment 8372184 [details] [diff] [review]
> Stop requiring CROSS_COMPILE being set
>
> https://tbpl.mozilla.org/?tree=Try&rev=05e93b3ebaa8
A note: this patch also makes us stop pretending that the linux 32 bits are cross compiles when in fact, they aren't because we build both host and target stuff with gcc -m32.
Updated•11 years ago
|
Attachment #8372184 -
Flags: review?(ted) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•