[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can Autoconf help with the transition to stricter compilation de
From: |
Jason Merrill |
Subject: |
Re: How can Autoconf help with the transition to stricter compilation defaults? |
Date: |
Thu, 17 Nov 2022 08:57:53 -0500 |
On Sat, Nov 12, 2022 at 7:44 PM Paul Eggert <eggert@cs.ucla.edu> wrote:
> On 2022-11-11 07:11, Aaron Ballman wrote:
> > Clang doesn't require such a linker (we work with various system
> linkers).
>
> As long as the system linkers continue to work as they have
> traditionally worked, we're fine.
>
> > the frontend perspective, we can't tell the difference between
> > "trust me this is safe because it never gets executed" and "this is a
> > CVE"
>
> If some system linker ever attempts to reject links with mismatched
> signatures, Autoconf-generated code will need to have a way to shut that
> off. I hope Clang maintainers can be cajoled into supporting that, if
> the time comes. Perhaps there can be a #pragma, or a compile-time
> option, to do that.
>
There has been discussion of the problems with compile-time options
elsewhere in the thread, but the #pragma idea sounds promising, as older
compilers can just ignore it.
Jason
- Re: How can Autoconf help with the transition to stricter compilation defaults?, (continued)
- Re: How can Autoconf help with the transition to stricter compilation defaults?, Michael Matz, 2022/11/17
- Re: How can Autoconf help with the transition to stricter compilation defaults?, Aaron Ballman, 2022/11/15
- Re: How can Autoconf help with the transition to stricter compilation defaults?, Sam James, 2022/11/15
- Re: How can Autoconf help with the transition to stricter compilation defaults?, Zack Weinberg, 2022/11/15
- Re: How can Autoconf help with the transition to stricter compilation defaults?, Sam James, 2022/11/15
- Re: How can Autoconf help with the transition to stricter compilation defaults?, Bob Friesenhahn, 2022/11/15
- Re: How can Autoconf help with the transition to stricter compilation defaults?, Paul Eggert, 2022/11/12
- Re: How can Autoconf help with the transition to stricter compilation defaults?,
Jason Merrill <=
Re: How can Autoconf help with the transition to stricter compilation defaults?, Rich Felker, 2022/11/10
Re: How can Autoconf help with the transition to stricter compilation defaults?, Paul Eggert, 2022/11/10
Re: How can Autoconf help with the transition to stricter compilation defaults?, Michael Orlitzky, 2022/11/10