Closed
Bug 1239672
Opened 9 years ago
Closed 9 years ago
Fix symbols file support on mingw.
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox46 fixed)
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: jacek, Assigned: jacek)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
Bug 1235132 introduced a few problems on mingw:
- linker invocation used UNIX-style (-Wl,--version-script,), while the proper way to pass .def file on mingw is just the file name.
- generate_symbols_file.py generated UNIX-style scripts. This is fixed by reordering the code.
- GCC recognizes .def files by file extensions (and AFAIK there is no way to explicitly tell GCC to treat given file as .def file). I changed generated file name use .def extension.
Here is try build:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fa42ce541ca2
Attachment #8707864 -
Flags: review?(mh+mozilla)
Comment 1•9 years ago
|
||
Comment on attachment 8707864 [details] [diff] [review]
fix
Review of attachment 8707864 [details] [diff] [review]:
-----------------------------------------------------------------
::: python/mozbuild/mozbuild/frontend/data.py
@@ +497,5 @@
> else:
> self.soname = self.lib_name
>
> if symbols_file:
> + self.symbols_file = '%s.def' % self.lib_name
Please make this windows-only.
Attachment #8707864 -
Flags: review?(mh+mozilla)
Assignee | ||
Comment 2•9 years ago
|
||
Thanks for review.
Try pushed: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7c0857152ec0
Attachment #8707864 -
Attachment is obsolete: true
Attachment #8708326 -
Flags: review?(mh+mozilla)
Updated•9 years ago
|
Attachment #8708326 -
Flags: review?(mh+mozilla) → review+
Comment 4•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
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
•