public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug sim/29276] New: sim/mips/sim-main.h:41:25: error: conversion from ‘long long unsigned int’ to ‘unsigned_word’
@ 2022-06-22 19:02 hector.oron at gmail dot com
  2022-10-23 18:29 ` [Bug sim/29276] " vapier at gentoo dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hector.oron at gmail dot com @ 2022-06-22 19:02 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29276

            Bug ID: 29276
           Summary: sim/mips/sim-main.h:41:25: error: conversion from
                    ‘long long unsigned int’ to ‘unsigned_word’
           Product: gdb
           Version: 12.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: sim
          Assignee: unassigned at sourceware dot org
          Reporter: hector.oron at gmail dot com
                CC: vapier at gentoo dot org
  Target Milestone: ---

When building mipsel simulator, on GDB 12.1, build fails with:

In file included from support.c:25:
/<<PKGBUILDDIR>>/sim/mips/mips.igen: In function ‘do_dmfc1b’:
/<<PKGBUILDDIR>>/sim/mips/sim-main.h:41:25: error: conversion from ‘long long
unsigned int’ to ‘unsigned_word’ {aka ‘unsigned int’} changes value from
‘16045693110240459472’ to ‘3134241488’ [-Werror=overflow]
   41 | #define SET64HI(t)      (((uword64)(t))<<32)
      |                         ^
/<<PKGBUILDDIR>>/sim/mips/mips.igen:1453:15: note: in expansion of macro
‘SET64HI’
 1453 |     GPR[rt] = SET64HI (0xDEADC0DE) | 0xBAD0BAD0;
      |               ^~~~~~~

Full log:
https://buildd.debian.org/status/fetch.php?pkg=gdb&arch=mipsel&ver=12.1-1&stamp=1655916813&raw=0

Build was fine on 11.2 release.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-08  7:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22 19:02 [Bug sim/29276] New: sim/mips/sim-main.h:41:25: error: conversion from ‘long long unsigned int’ to ‘unsigned_word’ hector.oron at gmail dot com
2022-10-23 18:29 ` [Bug sim/29276] " vapier at gentoo dot org
2022-10-23 19:44 ` [Bug sim/29276] mips: mips.igen:1453:15: " vapier at gentoo dot org
2022-10-23 19:49 ` vapier at gentoo dot org
2022-11-04  0:45 ` vapier at gentoo dot org
2022-11-08  7:57 ` vapier at gentoo dot 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).