This is the mail archive of the
mailing list for the glibc project.
Re: RFC: GCC plugin to find encrypted function pointer calls in glibc
- From: Florian Weimer <fweimer at redhat dot com>
- To: Jeff Law <law at redhat dot com>, Aldy Hernandez <aldyh at redhat dot com>, "Carlos O'Donell" <carlos at redhat dot com>, libc-alpha at sourceware dot org
- Date: Mon, 2 May 2016 18:25:57 +0200
- Subject: Re: RFC: GCC plugin to find encrypted function pointer calls in glibc
- Authentication-results: sourceware.org; auth=none
- References: <57233606 dot 7050205 at redhat dot com> <57240891 dot 1000308 at redhat dot com> <5724D5E3 dot 8050600 at redhat dot com> <ff8c0abc-7011-26e9-6193-65e4e15bf4de at redhat dot com>
On 05/02/2016 05:26 PM, Jeff Law wrote:
Doesn't the build system know the version of GCC being used to compile
glibc? If so, could it conditionally enable/disable the plugins?
I would suggest to make this a configure option at first, resulting in a
build failure if the plugins are not buildable. Auto-detection of a
compatible GCC version can be tricky. What we don't want is that the
auto-detection determines the plugin to be incompatible, and then
silently disables it.