From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12168 invoked by alias); 10 Feb 2014 14:11:24 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 12146 invoked by uid 48); 10 Feb 2014 14:11:23 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gdb-prs@sourceware.org Subject: [Bug build/16550] New: bfd/cache.c doesn't compile with gcc -m64 on Solaris Date: Mon, 10 Feb 2014 14:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q1/txt/msg00154.txt.bz2 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 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.