build/2006: "Cannot use procfs in large file compilation environment"

joel.wagler@utstar.com joel.wagler@utstar.com
Fri Sep 9 06:08:00 GMT 2005


>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:



More information about the Gdb-prs mailing list