Project

General

Profile

Actions

Feature #7319

open

Need a way to turn off ld "multiple inclusion" warnings

Added by Andrew Stormont over 4 years ago. Updated over 4 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-08-23
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Many build systems erroneously pass the same library to the linker multiple times and this means they can't be used with -zfatal-warnings and -zassert-deflib. Anything that uses libtool is prone to this issue, due to the way it propagates up dependencies from .la files when linking (and makes a half-hearted attempt to weed out duplicates). To work around this issue I propose we add a new -z mulincl flag which can be used to turn off this warning.

Actions

Also available in: Atom PDF