Open Bug 1462143 Opened 6 years ago Updated 4 months ago

Change object file linking in NSS to be consistent about dllimport

Categories

(Firefox Build System :: General: Unsupported Platforms, enhancement, P5)

3 Branch
enhancement

Tracking

(Not tracked)

People

(Reporter: tjr, Unassigned)

References

(Blocks 2 open bugs)

Details

In Bug 1389967 we have to work around a problem where we're doing weird module stuff. That bug is the best source of information; but the gist of it is:

It would be best to change build system to not link the same object files into different modules, where sometimes they need dllimport, sometimes live in the same library as imported functions. MSVC somehow can handle that (although AFAIK it gives warnings and code may be sub-optimal), but it's not really the right thing to do.
Version: Version 3 → 3 Branch
Priority: -- → P5

I believe that the warning is mingw-clang's version of the warning:

lld-link: warning: nss/lib/certdb/certdb_certdb/alg1485.o: locally defined symbol imported: _PR_Assert (defined in ../config/external/nspr/pr/Unified_c_external_nspr_pr0.o) [LNK4217]

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.