Project

General

Profile

Actions

Bug #8616

closed

ld has trouble parsing -z options specified with -Wl

Added by Andrew Stormont almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
2017-09-06
Due date:
% Done:

100%

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

Description

The -Wl flag is supposed to be a way to pass options to the linker, indirectly via the compiler driver (e.g. gcc), but seeing as buggy build systems often pass it to ld support for it exists directly in the linker; the problem is support isn't good enough. The linker chokes on arguments in the form of -Wl,-z,assert-deflib (which is perfectly valid) because it's caught out by the second comma.

Actions

Also available in: Atom PDF