Closed
Bug 1299959
Opened 8 years ago
Closed 7 years ago
Find a cleaner solution for preprocessed assembly files on Windows
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox58 fixed)
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: chmanchester, Assigned: ted)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
In the patches for bug 1262155 we're still using libffi's msvcc.sh for assembly sources on Windows because they expect to be pre-processed. We should implement a cleaner solution for this in moz.build.
Assignee | ||
Comment 1•7 years ago
|
||
This script isn't working in my WSL build, so I might as well fix this.
Assignee: nobody → ted
Blocks: wsl-build
Comment hidden (mozreview-request) |
Reporter | ||
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8908147 [details]
bug 1299959 - use GENERATED_FILES for libffi's preprocessed assembly files.
https://reviewboard.mozilla.org/r/179838/#review185616
::: config/external/ffi/preprocess_libffi_asm.py:1
(Diff revision 1)
> +#!/usr/bin/env python
License header?
Attachment #8908147 -
Flags: review?(cmanchester) → review+
Assignee | ||
Updated•7 years ago
|
Blocks: nomakefiles
Assignee | ||
Comment 4•7 years ago
|
||
Assignee | ||
Comment 5•7 years ago
|
||
Assignee | ||
Comment 6•7 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #4)
> https://treeherder.mozilla.org/#/
> jobs?repo=try&revision=63460429cf7af5fb453045dca21ce03eecb6d082
So the patch here worked for my local Win64 build, but was broken in several ways that made it break almost everywhere else. :)
I screwed up the blocks in the moz.build file and had my changes in the "non-windows x86" block. I think I was thrown off by the presence of win32.S there. I was also using 'CC' in the Python script, but on automation builds that expands to 'sccache.exe cl.exe' which doesn't work as the first argument to process invocation. I fixed that by using 'CPP' instead, which is always a list.
Assignee | ||
Comment 7•7 years ago
|
||
Assignee | ||
Comment 8•7 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #5)
> https://treeherder.mozilla.org/#/
> jobs?repo=try&revision=e66c9a2ca1eca34c1183902dd6ef9d5f269b0782
I missed one other bit here--I needed `-safeseh` in ASFLAGS. I don't know why we don't default to that on Win32. :-/
One last try push to make sure the Win32 builds work with that!
Comment hidden (mozreview-request) |
Assignee | ||
Comment 10•7 years ago
|
||
OK, the Win32 builds on that last try push are green.
Assignee | ||
Comment 11•7 years ago
|
||
Comment on attachment 8908147 [details]
bug 1299959 - use GENERATED_FILES for libffi's preprocessed assembly files.
Chris: can you take another look at this? I had to fix a few things as described in previous comments.
Attachment #8908147 -
Flags: review+ → review?(cmanchester)
Reporter | ||
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8908147 [details]
bug 1299959 - use GENERATED_FILES for libffi's preprocessed assembly files.
https://reviewboard.mozilla.org/r/179838/#review195614
Attachment #8908147 -
Flags: review?(cmanchester) → review+
Assignee | ||
Comment 13•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/80acc252947941171929d39a03f3e4c6b14f1064
bug 1299959 - use GENERATED_FILES for libffi's preprocessed assembly files. r=chmanchester
Comment 14•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
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
•