Public bug reported:
Hello
I'd need to use this version 20160422 of iASL.
I downloaded the tar.gz file and I tried building with command "make" .
I get this error :
../../../source/compiler/aslanalyze.c: In function ‘AnCheckMethodReturnValue’:
../../../source/compiler/aslanalyze.c:359:17: error: ‘%s’ directive writing up
to 4095 bytes into a region of size 4080 [-Werror=format-overflow=]
"Method returns [%s], %s operator requires [%s]",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StringBuffer, OpInfo->Name, StringBuffer2);
~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862,
from ../../../source/include/platform/acenv.h:399,
from ../../../source/include/acpi.h:56,
from ../../../source/compiler/aslcompiler.h:47,
from ../../../source/compiler/aslanalyze.c:44:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note:
‘__builtin___sprintf_chk’ output 41 or more bytes (assuming 8231) into a
destination of size 4096
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
../Makefile.rules:18: recipe for target 'obj/aslanalyze.o' failed
make[1]: *** [obj/aslanalyze.o] Error 1
how to fix this ?
thank youo
** Affects: acpica-unix (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1901175
Title:
error: ‘%s’ directive writing up to 4095 bytes into a region of size
4080
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpica-unix/+bug/1901175/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs