Movatterモバイル変換


[0]ホーム

URL:


This is the mail archive of thelibc-alpha@sourceware.orgmailing list for theglibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav:[Date Prev] [Date Next][Thread Prev] [Thread Next]
Other format:[Raw text]

Re: [PATCH] have ifunc resolver's return type match target


On 08/23/2017 03:28 AM, Florian Weimer wrote:
On 08/21/2017 12:30 AM, Martin Sebor wrote:
The following GCC patch has been submitted for review.  Ithelps detect mismatches between the type of an ifunc or aliasdeclaration and the type of the resolver or alias.https://gcc.gnu.org/ml/gcc-patches/2017-08/msg01103.htmlTo let Glibc take advantage of this type checking and avoidwarnings when using the patched GCC when the change above iscommitted, the patch below adjusts the Glibc __ifunc_resolvermacro to declare the ifunc resolver so that its return typematches that of the target.  (I was going to wait to submit ituntil after the GCC patch has been accepted but per Joseph'ssuggestion I'm posting it here ahead of time.)
Do we have to backport both patches to older releases, too, so that theykeep building with a newer GCC?
It would make sense to me if that's how Glibc usually deals withthese sorts of things (i.e., changing code to avoid new warnings).The other (obvious) alternative is for people to suppress thewarnings when using the new compiler.Martin

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav:[Date Prev] [Date Next][Thread Prev] [Thread Next]

[8]ページ先頭

©2009-2026 Movatter.jp