Closed Bug 1303644 Opened 8 years ago Closed 6 years ago

Build Clang 3.8.1 package with CFI patches to support Firefox

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: egoktas, Assigned: egoktas)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

Build Clang 3.8.1 package with CFI patches to support Firefox:
- add possibility to print debug info in __cfi_check instead of crashing
- whitelist vtable links
- support dlopen
Blocks: 1302891
Depends on: 1286788
Attachment #8792366 - Attachment is obsolete: true
Comment on attachment 8792360 [details]
Bug 1303644 - Build Clang package with patches to support Firefox;

https://reviewboard.mozilla.org/r/79410/#review81640

::: build/build-clang/build-clang.py:148
(Diff revision 3)
>  def get_platform():
>      p = platform.system()
>      if p == "Darwin":
>          return "macosx64"
>      elif p == "Linux":
> -        if platform.architecture() == "AMD64":
> +        if platform.machine().endswith("64"):

This doesn't seem related. If there is an issue with those tests, please file a separate bug.

::: build/build-clang/clang-static-analysis-linux64.json:24
(Diff revision 3)
> +          "llvm-replace-ud2-with-debug-prints-cfi-vcall-dso.patch",
> +          "llvm-clang-whitelist-related-classes-vtables.patch",
> +          "llvm-compiler-rt-dlopen-support.patch"

Have these patches been reviewed upstream?
Attachment #8792360 - Flags: review?(mh+mozilla)
I think this can be closed - we now build with a newer version of clang and we have a toolchain task to build clang.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: