Re: svn commit: r308563 - in head/lib: libgcc_eh libgcc_s

2016-11-11 Thread Joerg Sonnenberger
On Fri, Nov 11, 2016 at 11:28:08PM +, Ed Maste wrote:
> Author: emaste
> Date: Fri Nov 11 23:28:07 2016
> New Revision: 308563
> URL: https://svnweb.freebsd.org/changeset/base/308563
> 
> Log:
>   libcc_{s,eh}: build without SSP
>   
>   As in the gnu/lib/libgcc Makefile:
>   libgcc is linked in last and thus cannot depend on ssp
>   symbols coming from earlier libraries. Disable stack protection
>   for this library.

That doesn't make sense to me given that libgcc_s at least definitely
depends on libc for the system calls?

Joerg
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r308563 - in head/lib: libgcc_eh libgcc_s

2016-11-11 Thread Ed Maste
Author: emaste
Date: Fri Nov 11 23:28:07 2016
New Revision: 308563
URL: https://svnweb.freebsd.org/changeset/base/308563

Log:
  libcc_{s,eh}: build without SSP
  
  As in the gnu/lib/libgcc Makefile:
  libgcc is linked in last and thus cannot depend on ssp
  symbols coming from earlier libraries. Disable stack protection
  for this library.
  
  Reviewed by:  dim
  Sponsored by: The FreeBSD Foundation

Modified:
  head/lib/libgcc_eh/Makefile
  head/lib/libgcc_s/Makefile

Modified: head/lib/libgcc_eh/Makefile
==
--- head/lib/libgcc_eh/Makefile Fri Nov 11 23:07:31 2016(r308562)
+++ head/lib/libgcc_eh/Makefile Fri Nov 11 23:28:07 2016(r308563)
@@ -5,6 +5,7 @@
 PACKAGE=   clibs
 LIB=   gcc_eh
 NO_PIC=
+MK_SSP=no
 WARNS?=2
 
 .include "Makefile.inc"

Modified: head/lib/libgcc_s/Makefile
==
--- head/lib/libgcc_s/Makefile  Fri Nov 11 23:07:31 2016(r308562)
+++ head/lib/libgcc_s/Makefile  Fri Nov 11 23:28:07 2016(r308563)
@@ -4,6 +4,7 @@ PACKAGE=clibs
 SHLIB_NAME=libgcc_s.so.1
 SHLIBDIR?= /lib
 
+MK_SSP=no
 WARNS?=2
 
 LDFLAGS+=  -nodefaultlibs
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"