NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/59035: new named(8) crashes at startup on evbarmv5
The following reply was made to PR bin/59035; it has been noted by GNATS.
From: Tobias Nygren <tnn%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/59035: new named(8) crashes at startup on evbarmv5
Date: Fri, 14 Feb 2025 22:00:12 +0100
There is a GCC warning about an out of bounds write which only appears at -O0.
Maybe related.
In file included from /usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/include/urcu/uatomic/aarch64.h:31,
from /usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/include/urcu/uatomic.h:85,
from /usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/include/urcu/static/wfcqueue.h:21,
from /usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/include/urcu/wfcqueue.h:177,
from /usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/src/urcu.c:30:
In function '_uatomic_add_return',
inlined from 'wait_defer' at /usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/src/urcu-defer-impl.h:169:2:
/usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/include/urcu/uatomic/generic.h:301:24: error: '__sync_add_and_fetch_8' writing 8 bytes into a region of size 4 overflows the destination [-Werror=stringop-overflow=]
301 | return __sync_add_and_fetch_8((uint64_t *) addr, val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/src/urcu.c:558:
/usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/src/urcu-defer-impl.h: In function 'wait_defer':
/usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/src/urcu-defer-impl.h:109:16: note: destination object 'defer_thread_futex' of size 4
109 | static int32_t defer_thread_futex;
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Home |
Main Index |
Thread Index |
Old Index