If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

error: cannot run test program while cross compiling when building with jemalloc 3 on osx

RESOLVED FIXED in mozilla19

Status

()

Core
Build Config
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: glandium, Assigned: glandium)

Tracking

unspecified
mozilla19
All
Mac OS X
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
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)

Updated

5 years ago
Blocks: 788955
(Assignee)

Comment 1

5 years ago
Created attachment 669444 [details] [diff] [review]
Avoid mac builds being considered as cross compiled by jemalloc configure

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

5 years ago
Assignee: nobody → mh+mozilla
(Assignee)

Updated

5 years ago
Component: jemalloc → Build Config
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

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/0fea15c742aa
https://hg.mozilla.org/mozilla-central/rev/0fea15c742aa
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.