Last active
February 19, 2020 01:17
-
-
Save dmp1ce/b149381d9d3f194f431e3f79a612ade7 to your computer and use it in GitHub Desktop.
diffutils compile errors on Arch Linux (error=stack-protector)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
Making all in lib | |
make[1]: Entering directory '/home/david/Workspace/diffutils/lib' | |
GEN alloca.h | |
GEN ctype.h | |
GEN fcntl.h | |
GEN iconv.h | |
GPERF iconv_open-aix.h | |
GPERF iconv_open-hpux.h | |
GPERF iconv_open-irix.h | |
GPERF iconv_open-osf.h | |
GPERF iconv_open-solaris.h | |
GPERF iconv_open-zos.h | |
GEN inttypes.h | |
GEN langinfo.h | |
GEN limits.h | |
GEN locale.h | |
GEN signal.h | |
GEN stdio.h | |
GEN stdlib.h | |
GEN string.h | |
GEN strings.h | |
GEN sys/stat.h | |
GEN sys/time.h | |
GEN sys/types.h | |
GEN sys/wait.h | |
GEN time.h | |
GEN unistd.h | |
GEN unistr.h | |
GEN unitypes.h | |
GEN uniwidth.h | |
GEN wchar.h | |
GEN wctype.h | |
make all-am | |
make[2]: Entering directory '/home/david/Workspace/diffutils/lib' | |
CC allocator.o | |
CC areadlink.o | |
CC argmatch.o | |
CC binary-io.o | |
CC bitrotate.o | |
CC c-ctype.o | |
CC c-stack.o | |
CC c-strcasecmp.o | |
CC c-strncasecmp.o | |
CC careadlinkat.o | |
CC cloexec.o | |
CC dirname.o | |
CC basename.o | |
CC dirname-lgpl.o | |
CC basename-lgpl.o | |
CC stripslash.o | |
CC exclude.o | |
CC exitfail.o | |
CC fd-hook.o | |
CC file-type.o | |
CC filenamecat.o | |
CC filenamecat-lgpl.o | |
CC getprogname.o | |
CC gettime.o | |
CC hard-locale.o | |
CC hash.o | |
CC imaxtostr.o | |
CC inttostr.o | |
CC offtostr.o | |
CC uinttostr.o | |
CC umaxtostr.o | |
CC localcharset.o | |
CC glthread/lock.o | |
CC malloca.o | |
CC mbchar.o | |
CC mbiter.o | |
CC mbscasecmp.o | |
CC mbslen.o | |
CC mbsstr.o | |
In file included from mbsstr.c:33: | |
str-kmp.h: In function 'knuth_morris_pratt': | |
str-kmp.h:35:1: error: stack protector not protecting local variables: variable length buffer [-Werror=stack-protector] | |
35 | knuth_morris_pratt (const UNIT *haystack, | |
| ^~~~~~~~~~~~~~~~~~ | |
mbsstr.c: In function 'knuth_morris_pratt_multibyte': | |
mbsstr.c:41:1: error: stack protector not protecting local variables: variable length buffer [-Werror=stack-protector] | |
41 | knuth_morris_pratt_multibyte (const char *haystack, const char *needle, | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
cc1: all warnings being treated as errors | |
make[2]: *** [Makefile:2117: mbsstr.o] Error 1 | |
make[2]: Leaving directory '/home/david/Workspace/diffutils/lib' | |
make[1]: *** [Makefile:1854: all] Error 2 | |
make[1]: Leaving directory '/home/david/Workspace/diffutils/lib' | |
make: *** [Makefile:1519: all-recursive] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment