public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/61900] New: loc_descr_plus_const sanitizer runtime error in xgcc while building libgcc_s
@ 2014-07-25 5:07 zeccav at gmail dot com
2014-09-04 10:25 ` [Bug debug/61900] " mpolacek at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: zeccav at gmail dot com @ 2014-07-25 5:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61900
Bug ID: 61900
Summary: loc_descr_plus_const sanitizer runtime error in xgcc
while building libgcc_s
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: zeccav at gmail dot com
While building gcc/libgcc_s and using -fsanitize=undefined a runtime error is
detected in dwarf2out.c:1488:53
"loc->dw_loc_next = int_loc_descriptor (-offset);"
because offset==LONG_MIN
This is on x86-64.
The sanitizer exact message is
"../../gcc-4.9.1/gcc/dwarf2out.c:1488:53: runtime error:
negation of -9223372036854775808 cannot be represented in type 'long int';
cast to an unsigned type to negate this value to itself"
This is in xgcc compiling bid128_add.c/bid128_to_int32.c/bid128_to_uint32.c
bid128_to_int64.c/bid128_to_uint64.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/61900] loc_descr_plus_const sanitizer runtime error in xgcc while building libgcc_s
2014-07-25 5:07 [Bug c/61900] New: loc_descr_plus_const sanitizer runtime error in xgcc while building libgcc_s zeccav at gmail dot com
@ 2014-09-04 10:25 ` mpolacek at gcc dot gnu.org
2014-09-06 6:50 ` zeccav at gmail dot com
2020-05-11 5:20 ` zeccav at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-09-04 10:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61900
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I don't see this with trunk.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/61900] loc_descr_plus_const sanitizer runtime error in xgcc while building libgcc_s
2014-07-25 5:07 [Bug c/61900] New: loc_descr_plus_const sanitizer runtime error in xgcc while building libgcc_s zeccav at gmail dot com
2014-09-04 10:25 ` [Bug debug/61900] " mpolacek at gcc dot gnu.org
@ 2014-09-06 6:50 ` zeccav at gmail dot com
2020-05-11 5:20 ` zeccav at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: zeccav at gmail dot com @ 2014-09-06 6:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61900
--- Comment #2 from Vittorio Zecca <zeccav at gmail dot com> ---
This happens when I build gcc itself with option -fsanitize=undefined,
at build time, in directory x86_64-unknown-linux-gnu/32/libgcc.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/61900] loc_descr_plus_const sanitizer runtime error in xgcc while building libgcc_s
2014-07-25 5:07 [Bug c/61900] New: loc_descr_plus_const sanitizer runtime error in xgcc while building libgcc_s zeccav at gmail dot com
2014-09-04 10:25 ` [Bug debug/61900] " mpolacek at gcc dot gnu.org
2014-09-06 6:50 ` zeccav at gmail dot com
@ 2020-05-11 5:20 ` zeccav at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: zeccav at gmail dot com @ 2020-05-11 5:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61900
Vittorio Zecca <zeccav at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Vittorio Zecca <zeccav at gmail dot com> ---
Fixed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-05-11 5:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-25 5:07 [Bug c/61900] New: loc_descr_plus_const sanitizer runtime error in xgcc while building libgcc_s zeccav at gmail dot com
2014-09-04 10:25 ` [Bug debug/61900] " mpolacek at gcc dot gnu.org
2014-09-06 6:50 ` zeccav at gmail dot com
2020-05-11 5:20 ` zeccav at gmail dot com
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).