Source: tcc
Version:  0.9.27~git20161217.cd9514ab-3
Severity: wishlist
Tags: patch

Hi Maintainer

Tcc FTBFS on i386 in Ubuntu where stack protection is enabled by default.
The diff against your patch, below, also disables stack protection in this case, and should be a no-op in Debian.

Regards
Graham


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

Reply via email to