Date: Wed, 15 Jul 2015 10:50:50 -0500 From: Pedro Giffuni <pfg@FreeBSD.org> To: freebsd-arm@FreeBSD.org Cc: Oliver Pinter <oliver.pinter@hardenedbsd.org> Subject: aarch64 and gets(3) Message-ID: <55A6815A.6030703@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hello; In this GSoC to port the FORTIFY_SOURCE libc extension to FreeBSD we are getting this build error only on arm64: ... ===> lib/libcompiler_rt (obj,depend,all,install) ===> lib/libc (obj,depend,all,install) __gets_chk.So: In function `__gets_chk': /scratch/tmp/pfg/head/lib/libc/secure/__gets_chk.c:(.text+0x84): warning: warning: this program uses gets(), which is unsafe. cc: error: linker command failed with exit code 1 (use -v to see invocation) --- libc.so.7 --- *** [libc.so.7] Error code 1 make[6]: stopped in /scratch/tmp/pfg/head/lib/libc 1 error ... _____ Is arm64 somehow special wrt to gets(3) ? Any suggestion on how to work around this? Regards, Pedro. [1] https://reviews.freebsd.org/D3043
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55A6815A.6030703>