This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
build/2006: "Cannot use procfs in large file compilation environment"
- From: joel dot wagler at utstar dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 6 Sep 2005 18:42:36 -0000
- Subject: build/2006: "Cannot use procfs in large file compilation environment"
- Reply-to: joel dot wagler at utstar dot com
>Number: 2006
>Category: build
>Synopsis: "Cannot use procfs in large file compilation environment"
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 06 18:48:01 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator: Joel Wagler
>Release: unknown-1.0
>Organization:
>Environment:
Solairs 8
SunOS erat 5.8 Generic117350-08 sun4u sparc SUNW,Sun-Blade-100 Solaris
export CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
gdb 6.3 (stable)
>Description:
When configuring gdb with large file support exporting the following flags in the configure process
export CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
I get the error
/usr/include/sys/old_procfs.h:39:2 #error
"Cannot use procfs in large file compilation environment"
I'm trying to load large core files (greater than 2Gig) into
gdb so I tried compiling gdb with large file support as mentioned above on a Solaris 8 system. It doesn't seem to be working
>How-To-Repeat:
download gdb 6.3 stable
export CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
go to the directory and type ./configure
type make
You should see the problem now.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: