Closed Bug 1589886 Opened 5 years ago Closed 5 years ago

MinGW-win64 toolchain in Taskcluster

Categories

(Thunderbird :: Build Config, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 75.0

People

(Reporter: rjl, Assigned: rjl)

References

Details

Attachments

(2 files, 1 obsolete file)

As noted in bug 1518166, we need to be able to compile with a MinGW-win64 targetting toolchain in Taskcluster. (win32 one already exists)

My preferred approach is to modify the scripts that build the win32 toolchain so it can also build a win64 one.

Thunderbird requires a MinGW toolchain for x64 for bug 1518166 (OTR support
in chat). The required libraries cannot be successfully compiled with the
Clang+MinGW cross compilers nor Clang-CL on Windows.

These changes should not have any impact on existing code that builds the
win32 toolchain.

If an x64 toolchain is required, build-gcc-mingw32.sh is run with the argument
x86_64-w64-mingw32. If no argument is given, the default is i686-w64-mingw32,
the same as the current behavior.

Depends on: 1592162
Attachment #9103787 - Attachment is obsolete: true

Thunderbird plans to include libotr and its dependencies in future builds in
order to support Off-the-record messaging.
When building these libraries for Windows, GCC/MinGW is currently needed.
This Docker image includes the Debian MinGW compiler and will be used for
building libotr, libgcrypt, and libgpg-error only for Windows. The build
artifacts will then be included in the Thunderbird build.
The associated Taskcluster configuration will go in the comm- repository only so
it won't affect Firefox.

Attachment #9116877 - Flags: review?(geoff)
Attachment #9116877 - Flags: review?(geoff) → review+
Attachment #9116874 - Attachment description: Bug 1589886 - Debian MinGW compiler image for Thunderbird. → Bug 1589886 - Debian MinGW compiler image for Thunderbird OTR libraries.
Pushed by thunderbird@calypsoblue.org: https://hg.mozilla.org/integration/autoland/rev/e5ce8377af87 Debian MinGW compiler image for Thunderbird OTR libraries. r=froydnj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 73.0
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: Thunderbird 73.0 → ---

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/55ccb8667c98
MinGW Docker image for Thunderbird libotr. r=darktrojan

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 75.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: