Closed Bug 1564392 Opened 5 years ago Closed 5 years ago

Build firefox esr 68 get lld-link error

Categories

(Firefox :: Untriaged, defect)

68 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: wind.reikinyan, Unassigned)

Details

Attachments

(1 file)

Attached file build.log

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.46 Safari/537.36

Steps to reproduce:

Just try to build the Latest Firefox 68 ESR on Windows 10.

  • Install Visual Studio 2019.
  • Install mozilla-build.
  • Install cmake & rust.
  • Download the source .tar.xz file
  • Complie the latest llvm 9.0 in order to get llvm-config.exe
  • run "./mach bootstrap && ./mach build"

Actual results:

When compile to mozglue.dll, there are many lld-link.exe errors like:
lld-link: error: duplicate symbol: <example> in Authenticode.obj and in UntrustedDllsHandler.obj

Expected results:

Build success.

Downgrade to LLVM 8.0.0, question solved.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: