public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/16550] New: bfd/cache.c doesn't compile with gcc -m64 on Solaris
@ 2014-02-10 14:11 ro at CeBiTec dot Uni-Bielefeld.DE
  2014-02-10 15:28 ` [Bug build/16550] " cvs-commit at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2014-02-10 14:11 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 16550
           Summary: bfd/cache.c doesn't compile with gcc -m64 on Solaris
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: ro at CeBiTec dot Uni-Bielefeld.DE
          Reporter: ro at CeBiTec dot Uni-Bielefeld.DE
              Host: *-*-solaris2.*
            Target: *-*-solaris2.*
             Build: *-*-solaris2.*

On current mainline, gdb 7.7 and binutils 2.24 branches, bfd/cache.c doesn't
compile with gcc -m64 on Solaris 8 to 11:

cc1: warnings being treated as errors
/vol/src/gnu/gdb/gdb-7.7/bfd/cache.c: In function 'bfd_cache_max_open':
/vol/src/gnu/gdb/gdb-7.7/bfd/cache.c:85: error: comparison between signed and
unsigned integer expressions

This is a regression from previous releases.

The error is about

      && rlim.rlim_cur != RLIM_INFINITY)

where <sys/resource.h> has

typedef unsigned long   rlim_t;
#define RLIM_INFINITY   (-3l)

  Rainer

-- 
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:[~2014-05-05 21:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-10 14:11 [Bug build/16550] New: bfd/cache.c doesn't compile with gcc -m64 on Solaris ro at CeBiTec dot Uni-Bielefeld.DE
2014-02-10 15:28 ` [Bug build/16550] " cvs-commit at gcc dot gnu.org
2014-02-10 15:44 ` ro at CeBiTec dot Uni-Bielefeld.DE
2014-05-05 21:54 ` cvs-commit 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).