Closed
Bug 1043088
Opened 11 years ago
Closed 11 years ago
Enable forcing the usage of the static CRT in libffi's msvc wrapper
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla34
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file, 1 obsolete file)
|
1.88 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
This is required for AddressSanitizer builds with clang-cl.
The patch has been submitted upstream: https://github.com/atgreen/libffi/pull/123
| Assignee | ||
Comment 1•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Attachment #8461244 -
Flags: review?(mh+mozilla)
Comment 2•11 years ago
|
||
I doubt the ifs are going to fly. Pretty sure you need to go the case route instead.
Comment 3•11 years ago
|
||
Comment on attachment 8461244 [details] [diff] [review]
Enable forcing the usage of the static CRT in libffi's msvc wrapper
Review of attachment 8461244 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/ctypes/libffi/msvcc.sh
@@ +71,5 @@
> cl="clang-cl"
> safeseh=
> shift 1
> ;;
> + -MT)
I'd rather go with a -DUSE_STATIC_RTL, like -DUSE_DEBUG_RTL, because -MT is an actual gcc flag, and who knows what libtool does with it. Probably nothing, but I'd rather be safe than sorry.
Attachment #8461244 -
Flags: review?(mh+mozilla) → feedback+
| Assignee | ||
Comment 4•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Attachment #8461244 -
Attachment is obsolete: true
| Assignee | ||
Updated•11 years ago
|
Attachment #8465673 -
Flags: review?(mh+mozilla)
Comment 5•11 years ago
|
||
Comment on attachment 8465673 [details] [diff] [review]
Enable forcing the usage of the static CRT in libffi's msvc wrapper; r=glanidum
Review of attachment 8465673 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/ctypes/libffi/msvcc.sh
@@ +115,5 @@
> defines="$defines $1"
> shift 1
> ;;
> + -DUSE_STATIC_RTL)
> + # Link against debug CRT.
s/debug/static/
Attachment #8465673 -
Flags: review?(mh+mozilla) → review+
| Assignee | ||
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Comment 8•11 years ago
|
||
Updated•11 years ago
|
QA Whiteboard: [qa-]
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
•