* [Buildroot] [PATCH 1/1] package/redis: disable -Werror
@ 2024-03-01 18:33 Fabrice Fontaine
2024-03-01 18:54 ` Peter Korsgaard
2024-03-18 13:31 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2024-03-01 18:33 UTC (permalink / raw)
To: buildroot; +Cc: Titouan Christophe, Daniel Price, Fabrice Fontaine
Disable -Werror to avoid the following build failure raised since bump
to version 7.2.1 in commit d49f53f8aaf0bff9c8d04c16485c844fef2832d0 and
https://github.com/redis/redis/commit/8e138ba44fc3eb676c0f31faac19d1acc6a4c7ed:
In function 'hi_sdsll2str',
inlined from 'hi_sdsfromlonglong' at sds.c:500:15:
sds.c:457:12: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
457 | *s = *p;
| ~~~^~~~
Fixes: d49f53f8aaf0bff9c8d04c16485c844fef2832d0
- http://autobuild.buildroot.org/results/fdc9f940b348430cb4da8efecc5cc047b21df281
- http://autobuild.buildroot.org/results/e5747674d52b065203a0442f7cab13e8be5f426b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/redis/redis.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/redis/redis.mk b/package/redis/redis.mk
index 09a3b9448b..2680b11b74 100644
--- a/package/redis/redis.mk
+++ b/package/redis/redis.mk
@@ -30,7 +30,7 @@ endif
# https://github.com/antirez/redis/pull/609). We set PREFIX
# instead.
REDIS_BUILDOPTS = $(TARGET_CONFIGURE_OPTS) \
- PREFIX=$(TARGET_DIR)/usr MALLOC=libc
+ PREFIX=$(TARGET_DIR)/usr MALLOC=libc WARNINGS=
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
REDIS_DEPENDENCIES += systemd
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/redis: disable -Werror
2024-03-01 18:33 [Buildroot] [PATCH 1/1] package/redis: disable -Werror Fabrice Fontaine
@ 2024-03-01 18:54 ` Peter Korsgaard
2024-03-18 13:31 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-03-01 18:54 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Titouan Christophe, Daniel Price, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Disable -Werror to avoid the following build failure raised since bump
> to version 7.2.1 in commit d49f53f8aaf0bff9c8d04c16485c844fef2832d0 and
> https://github.com/redis/redis/commit/8e138ba44fc3eb676c0f31faac19d1acc6a4c7ed:
> In function 'hi_sdsll2str',
> inlined from 'hi_sdsfromlonglong' at sds.c:500:15:
> sds.c:457:12: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
> 457 | *s = *p;
> | ~~~^~~~
> Fixes: d49f53f8aaf0bff9c8d04c16485c844fef2832d0
> - http://autobuild.buildroot.org/results/fdc9f940b348430cb4da8efecc5cc047b21df281
> - http://autobuild.buildroot.org/results/e5747674d52b065203a0442f7cab13e8be5f426b
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/redis: disable -Werror
2024-03-01 18:33 [Buildroot] [PATCH 1/1] package/redis: disable -Werror Fabrice Fontaine
2024-03-01 18:54 ` Peter Korsgaard
@ 2024-03-18 13:31 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-03-18 13:31 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Titouan Christophe, Daniel Price, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Disable -Werror to avoid the following build failure raised since bump
> to version 7.2.1 in commit d49f53f8aaf0bff9c8d04c16485c844fef2832d0 and
> https://github.com/redis/redis/commit/8e138ba44fc3eb676c0f31faac19d1acc6a4c7ed:
> In function 'hi_sdsll2str',
> inlined from 'hi_sdsfromlonglong' at sds.c:500:15:
> sds.c:457:12: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
> 457 | *s = *p;
> | ~~~^~~~
> Fixes: d49f53f8aaf0bff9c8d04c16485c844fef2832d0
> - http://autobuild.buildroot.org/results/fdc9f940b348430cb4da8efecc5cc047b21df281
> - http://autobuild.buildroot.org/results/e5747674d52b065203a0442f7cab13e8be5f426b
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2023.11.x, thanks.
> ---
> package/redis/redis.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> diff --git a/package/redis/redis.mk b/package/redis/redis.mk
> index 09a3b9448b..2680b11b74 100644
> --- a/package/redis/redis.mk
> +++ b/package/redis/redis.mk
> @@ -30,7 +30,7 @@ endif
> # https://github.com/antirez/redis/pull/609). We set PREFIX
> # instead.
> REDIS_BUILDOPTS = $(TARGET_CONFIGURE_OPTS) \
> - PREFIX=$(TARGET_DIR)/usr MALLOC=libc
> + PREFIX=$(TARGET_DIR)/usr MALLOC=libc WARNINGS=
> ifeq ($(BR2_PACKAGE_SYSTEMD),y)
> REDIS_DEPENDENCIES += systemd
> --
> 2.43.0
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-18 13:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01 18:33 [Buildroot] [PATCH 1/1] package/redis: disable -Werror Fabrice Fontaine
2024-03-01 18:54 ` Peter Korsgaard
2024-03-18 13:31 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox