[Bug debug/84637] gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- Fixed.
[Bug debug/84637] gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Apr 17 22:18:47 2018 New Revision: 259451 URL: https://gcc.gnu.org/viewcvs?rev=259451=gcc=rev Log: PR debug/84637 * dbxout.c (dbxout_int): Perform negation in unsigned int type. (stabstr_D): Change type of unum from unsigned int to unsigned HOST_WIDE_INT. Perform negation in unsigned HOST_WIDE_INT type. Modified: trunk/gcc/ChangeLog trunk/gcc/dbxout.c
[Bug debug/84637] gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- Created attachment 43963 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43963=edit gcc8-pr84637.patch I think in this case the fix is rather obvious (though, untested so far and not proposing it for GCC8).
[Bug debug/84637] gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637 --- Comment #2 from Martin Liška --- Thanks for explanation. Do you plan to remove it in the future from GCC or will you leave it there unmaintained?
[Bug debug/84637] gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #1 from Jim Wilson --- The stabs support is obsolete and unmaintained. The best solution is to disable the stabs support for the compiler target you are trying to build. If you disable the stabs support for your target, the testsuite will stop running stabs tests, and you won't see these errors anymore. The stabs support can be disabled by removing the dbxelf.h reference in config.sub for x86 linux (and optionally other x86 targets), or by undeffing DBX_DEBUGGING_INFO somewhere in the config/i386 dir.