This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove the reference to -fstack-protector, which is done.
authorNicholas Clark <nick@ccl4.org>
Fri, 30 Mar 2012 16:22:50 +0000 (18:22 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 24 Apr 2012 08:51:55 +0000 (10:51 +0200)
Exploring the use of -D_FORTIFY_SOURCE=2 remains to be done.

Porting/todo.pod

index 75bc3f1..8e38e8f 100644 (file)
@@ -500,14 +500,13 @@ ever creep back to libperl.a.
 Note, of course, that this will only tell whether B<your> platform
 is using those naughty interfaces.
 
-=head2 -D_FORTIFY_SOURCE=2, -fstack-protector
+=head2 -D_FORTIFY_SOURCE=2
 
-Recent glibcs support C<-D_FORTIFY_SOURCE=2> and recent gcc
-(4.1 onwards?) supports C<-fstack-protector>, both of which give
+Recent glibcs support C<-D_FORTIFY_SOURCE=2> which gives
 protection against various kinds of buffer overflow problems.
-These should probably be used for compiling Perl whenever available,
+It should probably be used for compiling Perl whenever available,
 Configure and/or hints files should be adjusted to probe for the
-availability of these features and enable them as appropriate.
+availability of these feature and enable it as appropriate.
 
 =head2 Arenas for GPs? For MAGIC?