On 07/02/2017 23:58, Thomas Preud'homme wrote:
Looks reasonnable but will have to wait for the freeze to be over though. I
want to keep unstable and testing the same so that I can upload RC-critical
bug fixes if necessary.

Thanks, that won't be a problem. Ubuntu can carry a small delta [1] until after the freeze.

I had another look at the patch and confirmed that -fno-stack-protector overrides -fstack-protector-strong, so the diff against your patch can simply become:

--- a/debian/patches/0003-Disable-stack-protector-in-runtime-library.patch
+++ b/debian/patches/0003-Disable-stack-protector-in-runtime-library.patch
@@ -22,7 +22,7 @@
  ARM64_O = lib-arm64.o
  WIN32_O = crt1.o wincrt1.o dllcrt1.o dllmain.o chkstk.o

-+CFLAGS:=$(filter-out -fstack-protector%,$(CFLAGS))
++CFLAGS += -fno-stack-protector
  # build TCC runtime library to contain PIC code, so it can be linked
  # into shared libraries
  PICFLAGS = -fPIC


[1] https://launchpad.net/ubuntu/+source/tcc/0.9.27~git20161217.cd9514ab-3ubuntu1

Reply via email to