Closed
Bug 1141660
Opened 10 years ago
Closed 10 years ago
Total build bustage when Gecko 39 merges to Aurora
Categories
(Core :: Memory Allocator, defect)
Core
Memory Allocator
Tracking
()
VERIFIED
FIXED
mozilla39
People
(Reporter: RyanVM, Assigned: glandium)
References
Details
Attachments
(2 files)
|
751 bytes,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
|
968 bytes,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
[Tracking Requested - why for this release]: Complete build bustage when Gecko 39 merges to Aurora.
bz was hitting this locally as well when trying to reproduce test failures I was hitting on an uplift simulation Try push from yesterday. Something keying off NIGHTLY_BUILD that breaks when it isn't defined? This blocks me from running uplift simulation pushes, so please take a look ASAP.
https://treeherder.mozilla.org/logviewer.html#?job_id=5530249&repo=try
In file included from /builds/slave/try-and-api-9-0000000000000000/build/obj-firefox/memory/mozalloc/Unified_cpp_memory_mozalloc0.cpp:2:0:
/builds/slave/try-and-api-9-0000000000000000/build/memory/mozalloc/mozalloc.cpp:29:26: fatal error: malloc_decls.h: No such file or directory
compilation terminated.
make[5]: *** [Unified_cpp_memory_mozalloc0.o] Error 1
make[4]: *** [memory/mozalloc/target] Error 2
make[4]: *** Waiting for unfinished jobs....
Flags: needinfo?(mh+mozilla)
Comment 1•10 years ago
|
||
So the reason this works on nightly is that memory/build/moz.build exports malloc_decls.h if MOZ_REPLACE_MALLOC and we always define MOZ_REPLACE_MALLOC if NIGHTLY_BUILD in configure.in.
So the difference is that in a non-nightly malloc_decls.h is not exported.
mozalloc.cpp is in memory/mozalloc, not memory/build. And it didn't use to include malloc_decls.h until bug 868814.
| Assignee | ||
Comment 2•10 years ago
|
||
Assignee: nobody → mh+mozilla
Flags: needinfo?(mh+mozilla)
Attachment #8575654 -
Flags: review?(n.nethercote)
Comment 3•10 years ago
|
||
Comment on attachment 8575654 [details] [diff] [review]
Fix bustage from bug 868814 with --disable-replace-malloc
Review of attachment 8575654 [details] [diff] [review]:
-----------------------------------------------------------------
rs=me
Attachment #8575654 -
Flags: review?(n.nethercote) → review+
| Assignee | ||
Comment 4•10 years ago
|
||
| Assignee | ||
Comment 5•10 years ago
|
||
That's not the end of it. The following happens on windows, now:
mozmemory_wrap.obj : error LNK2019: unresolved external symbol _je_memalign referenced in function __aligned_malloc
mozglue.dll : fatal error LNK1120: 1 unresolved externals
mozmake.exe[5]: *** [mozglue.dll] Error 1120
mozmake.exe[4]: *** [mozglue/build/target] Error 2
mozmake.exe[4]: *** Waiting for unfinished jobs....
Keywords: leave-open
| Assignee | ||
Comment 6•10 years ago
|
||
That error in comment 5 comes from bug 762449
Blocks: jemalloc4-by-default
| Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8575739 -
Flags: review?(n.nethercote)
Comment 8•10 years ago
|
||
Comment on attachment 8575739 [details] [diff] [review]
Always export memalign from jemalloc, even on Windows
Review of attachment 8575739 [details] [diff] [review]:
-----------------------------------------------------------------
rs=me
Attachment #8575739 -
Flags: review?(n.nethercote) → review+
Comment 9•10 years ago
|
||
| Reporter | ||
Comment 10•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Updated•10 years ago
|
tracking-firefox39:
? → ---
| Reporter | ||
Updated•10 years ago
|
| Assignee | ||
Updated•10 years ago
|
status-firefox40:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•