public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/25922] New: Build error: '_dl_main_map_l_relro_size_lsm.124' may be used uninitialized
@ 2020-05-05 13:33 vvinayag at arm dot com
2020-05-05 13:34 ` [Bug build/25922] " vvinayag at arm dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: vvinayag at arm dot com @ 2020-05-05 13:33 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25922
Bug ID: 25922
Summary: Build error: '_dl_main_map_l_relro_size_lsm.124' may
be used uninitialized
Product: glibc
Version: 2.32
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: vvinayag at arm dot com
CC: carlos at redhat dot com
Target Milestone: ---
Hi
On a native arm-none-linux-gnueabihf environment, I am seeing this error when
trying to build trunk glibc with gcc 11:
arm-none-linux-gnueabihf-gcc dl-support.c -c -std=gnu11 -fgnu89-inline -g -O2
-Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math
-fno-stack-protector -Wstrict-prototypes -Wold-style-definition -fmath-errno
-fno-stack-protector -DSTACK_PROTECTOR_LEVEL=0 -ftls-model=initial-exec -o
dl-support.o
dl-support.c: In function '_dl_non_dynamic_init':
dl-support.c:392:6: error: '_dl_main_map_l_relro_size_lsm.124' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
392 | if (_dl_main_map.l_relro_size != 0)
| ^
The problem started between these two gcc commits:
22b6b5d6cfb76deb68ca5bc0bcae8b4245df946d and
05be85b649173b10d0bf10255eb15275c2dcf509.
I am investigating further.
Kind Regards
Vasee
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug build/25922] Build error: '_dl_main_map_l_relro_size_lsm.124' may be used uninitialized
2020-05-05 13:33 [Bug build/25922] New: Build error: '_dl_main_map_l_relro_size_lsm.124' may be used uninitialized vvinayag at arm dot com
@ 2020-05-05 13:34 ` vvinayag at arm dot com
2020-05-05 13:59 ` fw at deneb dot enyo.de
2020-05-05 22:45 ` jsm28 at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vvinayag at arm dot com @ 2020-05-05 13:34 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25922
vvinayag at arm dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |arm-none-linux-gnueabihf
Host| |arm-none-linux-gnueabihf
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug build/25922] Build error: '_dl_main_map_l_relro_size_lsm.124' may be used uninitialized
2020-05-05 13:33 [Bug build/25922] New: Build error: '_dl_main_map_l_relro_size_lsm.124' may be used uninitialized vvinayag at arm dot com
2020-05-05 13:34 ` [Bug build/25922] " vvinayag at arm dot com
@ 2020-05-05 13:59 ` fw at deneb dot enyo.de
2020-05-05 22:45 ` jsm28 at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: fw at deneb dot enyo.de @ 2020-05-05 13:59 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25922
Florian Weimer <fw at deneb dot enyo.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fw at deneb dot enyo.de
--- Comment #1 from Florian Weimer <fw at deneb dot enyo.de> ---
This looks like a GCC bug. _dl_main_map has static storage duration, so it is
always initialized.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug build/25922] Build error: '_dl_main_map_l_relro_size_lsm.124' may be used uninitialized
2020-05-05 13:33 [Bug build/25922] New: Build error: '_dl_main_map_l_relro_size_lsm.124' may be used uninitialized vvinayag at arm dot com
2020-05-05 13:34 ` [Bug build/25922] " vvinayag at arm dot com
2020-05-05 13:59 ` fw at deneb dot enyo.de
@ 2020-05-05 22:45 ` jsm28 at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2020-05-05 22:45 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25922
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
GCC bug filed as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94963 .
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-05-05 22:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 13:33 [Bug build/25922] New: Build error: '_dl_main_map_l_relro_size_lsm.124' may be used uninitialized vvinayag at arm dot com
2020-05-05 13:34 ` [Bug build/25922] " vvinayag at arm dot com
2020-05-05 13:59 ` fw at deneb dot enyo.de
2020-05-05 22:45 ` jsm28 at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).