Closed
Bug 799093
Opened 12 years ago
Closed 12 years ago
error: cannot run test program while cross compiling when building with jemalloc 3 on osx
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla19
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
1.37 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
checking STATIC_PAGE_SHIFT... configure: error: in `/builds/slave/try-osx64/build/obj-firefox/x86_64/memory/jemalloc/src': configure: error: cannot run test program while cross compiling See `config.log' for more details configure: error: /builds/slave/try-osx64/build/memory/jemalloc/src/configure failed for memory/jemalloc/src
Assignee | ||
Comment 1•12 years ago
|
||
Essentially, this reverts the part of bug 674647 that touched build/macosx/universal/mozconfig.common. The fundamental problem is that the target doesn't match the host (x86_64-apple-darwin10 vs. x86_64-apple-darwin11.2.0) and jemalloc3 configure fails because it believes the setup is a cross compile, while the main configure doesn't consider it so, and thus doesn't call the jemalloc3 configure with some extra info that makes it work when cross compiling. Besides the jemalloc3 problem, it's better to avoid autoconf considering a build a cross compile when it's not one.
Attachment #669444 -
Flags: review?(ted.mielczarek)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mh+mozilla
Assignee | ||
Updated•12 years ago
|
Component: jemalloc → Build Config
Comment 2•12 years ago
|
||
Comment on attachment 669444 [details] [diff] [review] Avoid mac builds being considered as cross compiled by jemalloc configure Review of attachment 669444 [details] [diff] [review]: ----------------------------------------------------------------- Configure triplets are super annoying.
Attachment #669444 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0fea15c742aa
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0fea15c742aa
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
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
•