#33 Linker Hardening and GNUMakefile Enhancements

closed
nobody
None
1
2012-02-03
2011-09-14
Anonymous
No

* added makefile goals of 'static' and 'dynamic'
* chenged goal 'all' to build both static and dynamic in preparation for 'make install'
* added logic to detect GNU's ld version 2.15 or later
* added recipe to include -z relro and -z now if LD215_OR_LATER==1
* modified 'install' to continue on a copy error
* modified 'clean' to continue on error

Tested on OpenBSD 4.9, FreeBSD 8.2, Fedora 14 & 15, Ubuntu 10 & 11.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-09-14

    Patch (svn diff command)

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-09-14

    Wei - some systems needed -lpthread on the EXE rule, others did not. I left it out (perhaps I should have added it by default).

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-09-14
    • priority: 5 --> 1
     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-02-03
    • status: open --> closed
     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-02-03

    To many problems across the platforms supported

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks