This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/16550] New: bfd/cache.c doesn't compile with gcc -m64 on Solaris
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 10 Feb 2014 14:11:23 +0000
- Subject: [Bug build/16550] New: bfd/cache.c doesn't compile with gcc -m64 on Solaris
- Auto-submitted: auto-generated
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.