[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug ld/26701] New: Ability to suppress warnings due to tags in a li
From: |
Nick Clifton |
Subject: |
Re: [Bug ld/26701] New: Ability to suppress warnings due to tags in a library |
Date: |
Mon, 5 Oct 2020 17:00:50 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
Hi Eyal,
Yes, the linker could suppress these warnings. But the important point
is that it is not at all clear that the linker should suppress them.
The warnings are important, and the real way to get rid of them is to
fix the code that is triggering them.
Now I appreciate that this is not always possible. But as pointed out
in PR 12017 there are several ways to work around the problem without
modifying the linker. My stance is: why introduce new code, and
potentially new bugs, to the linker when there are other ways of solving
the problem.
So, if you do want to get a change like this in, I think that you are
going to need to drum up some support from the community. If enough
people agree with you, then I will make the necessary changes. One
important point however is that you ought to make sure that the LLVM
community agrees with the idea too, and that they are willing to put
it into their linker (LLD).
Cheers
Nick
- [Bug ld/26701] New: Ability to suppress warnings due to tags in a library, eyalroz at technion dot ac.il, 2020/10/02
- [Bug ld/26701] Ability to suppress warnings due to tags in a library, eyalroz at technion dot ac.il, 2020/10/02
- [Bug ld/26701] Ability to suppress warnings due to tags in a library, eyalroz at technion dot ac.il, 2020/10/02
- [Bug ld/26701] Ability to suppress warnings due to tags in a library, vampyrebat at gmail dot com, 2020/10/02
- Re: [Bug ld/26701] New: Ability to suppress warnings due to tags in a library,
Nick Clifton <=
- [Bug ld/26701] Ability to suppress warnings due to tags in a library, nickc at redhat dot com, 2020/10/05
- [Bug ld/26701] Ability to suppress warnings due to tags in a library, eyalroz at technion dot ac.il, 2020/10/05
- [Bug ld/26701] Ability to suppress warnings due to tags in a library, vampyrebat at gmail dot com, 2020/10/05