F22 System Wide Change: Harden all packages with position-independent code

drago01 drago01 at gmail.com
Tue Jan 13 07:06:23 UTC 2015


On Tue, Jan 13, 2015 at 7:31 AM, Richard W.M. Jones <rjones at redhat.com> wrote:
> On Mon, Jan 12, 2015 at 10:50:07PM +0100, Till Maas wrote:
>> On Mon, Jan 12, 2015 at 03:37:42PM -0500, Miloslav Trmač wrote:
>> > ----- Original Message -----
>> > > Does this proposal apply to native non-C/C++ programs?
>> >
>> > As written, it seems to intend so.  In practice, it would probably
>> > apply or not depending on whether the non-C/C++ programs’ builds are
>> > affected by _hardened_build.
>>
>> I did not think of these programs, so I agree here. Addressing them is
>> something for a future change proposal IMHO, unless there is enough time
>> to to do for F22.
>>
>> > Ideally, I think this should apply to all languages that don’t ensure
>> > memory safety, and not to those that do ensure it.¹  (There is also
>> > the edge case of safe languages with explicit “unsafe” blocks, I guess
>> > these should default into the “safe” category?) Mirek
>>
>> Is there a list of languages that need to be considered? There is afaik
>> golang, ocaml and ghc that need to be considered.
>
> Probably Ada (ie. gnat), Fortran (gfortran), ObjC.  Are there any
> other gcc frontends?  LDC (D) can generate native binaries too.

clang there is at least one package that has a "build with clang
exception" iirc.


More information about the devel mailing list