office-gobmx/soltools
Stephan Bergmann cb26710b6b Check for failed malloc
...thereby silencing

> In file included from /usr/include/features.h:490,
>                  from /usr/include/bits/libc-header-start.h:33,
>                  from /usr/include/stdio.h:27,
>                  from soltools/mkdepend/def.h:40,
>                  from soltools/mkdepend/main.c:58:
> In function ‘read’,
>     inlined from ‘main’ at soltools/mkdepend/main.c:197:28:
> /usr/include/bits/unistd.h:38:10: error: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
>    38 |   return __glibc_fortify (read, __nbytes, sizeof (char),
>       |          ^~~~~~~~~~~~~~~
> /usr/include/bits/unistd.h: In function ‘main’:
> /usr/include/bits/unistd.h:26:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’
>    26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf,
>       |                ^~~~~~~~~~

seen at least with -Wp,-D_FORTIFY_SOURCE=3 manually added to gb_COMPILEROPTFLAGS
in an --enable-optimized build against recent GCC 13 trunk

Change-Id: I9ca3c0ea8c579fffbdad52d7d39a4ce82085ddcd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143760
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-12-07 12:35:45 +00:00
..
cpp -Werror,-Wdeprecated-declarations (sprintf, macOS 13 SDK): soltools 2022-11-10 14:50:53 +01:00
mkdepend Check for failed malloc 2022-12-07 12:35:45 +00:00
Executable_cpp.mk We don't seem to actually need glibc getopt 2013-08-21 07:44:38 +00:00
Executable_makedepend.mk soltools: remove Package_inc and empty unistd.h nonsense 2013-05-10 17:56:24 +02:00
Makefile soltools conversion to gbuild 2012-09-29 15:48:52 +02:00
Module_soltools.mk soltools: remove Package_inc and empty unistd.h nonsense 2013-05-10 17:56:24 +02:00
README.md Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00

Build Tools

Different build tools.