From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113764 invoked by alias); 22 Apr 2015 09:19:41 -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 113735 invoked by uid 48); 22 Apr 2015 09:19:40 -0000 From: "ro at TechFak dot Uni-Bielefeld.DE" To: gdb-prs@sourceware.org Subject: [Bug build/18294] New: gdb compilation fails on 32-bit Solaris: largefile vs. procfs Date: Wed, 22 Apr 2015 09:19: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: 7.9 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at TechFak dot Uni-Bielefeld.DE X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 8.0 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 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: 2015-q2/txt/msg00099.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18294 Bug ID: 18294 Summary: gdb compilation fails on 32-bit Solaris: largefile vs. procfs Product: gdb Version: 7.9 Status: NEW Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: ro at TechFak dot Uni-Bielefeld.DE Host: i?86-*-solaris2*, sparc-sun-solaris2* Target: i?86-*-solaris2*, sparc-sun-solaris2* Contrary to gdb 7.8, 7.9 fails to compile on 32-bit Solaris: gcc -g -O2 -I. -I/vol/src/gnu/gdb/gdb-7.9/gdb -I/vol/src/gnu/gdb/gdb-7.9/gdb/common -I/vol/src/gnu/gdb/gdb-7.9/gdb/config -DLOCALEDIR="\"/vol/gcc/share/locale\"" -DHAVE_CONFIG_H -I/vol/src/gnu/gdb/gdb-7.9/gdb/../include/opcode -I/vol/src/gnu/gdb/gdb-7.9/gdb/../opcodes/.. -I/vol/src/gnu/gdb/gdb-7.9/gdb/../readline/.. -I../bfd -I/vol/src/gnu/gdb/gdb-7.9/gdb/../bfd -I/vol/src/gnu/gdb/gdb-7.9/gdb/../include -I../libdecnumber -I/vol/src/gnu/gdb/gdb-7.9/gdb/../libdecnumber -I/vol/src/gnu/gdb/gdb-7.9/gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1 -I/usr/include/python2.6 -I/usr/include/python2.6 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral -c -o i386-sol2-nat.o -MT i386-sol2-nat.o -MMD -MP -MF .deps/i386-sol2-nat.Tpo /vol/src/gnu/gdb/gdb-7.9/gdb/i386-sol2-nat.c In file included from /vol/src/gnu/gdb/gdb-7.9/gdb/i386-sol2-nat.c:23:0: /usr/include/sys/procfs.h:24:2: error: #error "Cannot use procfs in the large file compilation environment" make: *** [i386-sol2-nat.o] Error 1 I could track this down as follows: * before, gdb/config.h didn't define _FILE_OFFSET_BITS, now it has #define _FILE_OFFSET_BITS 64 * in gdb 7.8, the `checking for special C compiler options needed for large files' tests in gdb/configure weren't run at all since they were guarded by test "$enable_largefile" != no * enable_largefile was set to no in config/largefile.m4 * in gdb 7.9, the default for $plugins changed from its previous no, so suddenly the largefile support gets enabled again, breaking the gdb build Rainer -- You are receiving this mail because: You are on the CC list for the bug.