Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 312965 Details for
Bug 457187
Unable to Open vmcore from Kdump
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
BFD AC_SYS_LARGEFILE.
bfd-cvs-largefile.patch (text/plain), 12.15 KB, created by
Jan Kratochvil
on 2008-07-30 07:13:11 UTC
(
hide
)
Description:
BFD AC_SYS_LARGEFILE.
Filename:
MIME Type:
Creator:
Jan Kratochvil
Created:
2008-07-30 07:13:11 UTC
Size:
12.15 KB
patch
obsolete
>2008-07-30 Jan Kratochvil <jan.kratochvil@redhat.com> > > Fix loading large elf64 binaries on 32bit hosts. > * configure.in: Call AC_SYS_LARGEFILE. > * config.in: Regenerate. > * configure: Regenerate. > >--- ./bfd/configure.in 10 Jul 2008 01:32:22 -0000 1.241 >+++ ./bfd/configure.in 30 Jul 2008 06:53:39 -0000 >@@ -21,6 +21,7 @@ AM_DISABLE_SHARED > > AC_PROG_CC > AC_GNU_SOURCE >+AC_SYS_LARGEFILE > > AC_PROG_LIBTOOL > >--- ./bfd/config.in 10 Jul 2008 01:32:21 -0000 1.39 >+++ ./bfd/config.in 30 Jul 2008 06:53:23 -0000 >@@ -297,7 +297,13 @@ > /* Version number of package */ > #undef VERSION > >+/* Number of bits in a file offset, on hosts where this is settable. */ >+#undef _FILE_OFFSET_BITS >+ > /* Enable GNU extensions on systems that have them. */ > #ifndef _GNU_SOURCE > # undef _GNU_SOURCE > #endif >+ >+/* Define for large files, on AIX-style hosts. */ >+#undef _LARGE_FILES >--- ./bfd/configure 10 Jul 2008 01:32:21 -0000 1.280 >+++ ./bfd/configure 30 Jul 2008 06:53:39 -0000 >@@ -1003,6 +1003,7 @@ Optional Features: > --enable-dependency-tracking do not reject slow dependency extractors > --enable-shared[=PKGS] > build shared libraries [default=no] >+ --disable-largefile omit support for large files > --enable-static[=PKGS] > build static libraries [default=yes] > --enable-fast-install[=PKGS] >@@ -4169,6 +4170,370 @@ cat >>confdefs.h <<\_ACEOF > _ACEOF > > >+# Check whether --enable-largefile or --disable-largefile was given. >+if test "${enable_largefile+set}" = set; then >+ enableval="$enable_largefile" >+ >+fi; >+if test "$enable_largefile" != no; then >+ >+ echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 >+echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 >+if test "${ac_cv_sys_largefile_CC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_cv_sys_largefile_CC=no >+ if test "$GCC" != yes; then >+ ac_save_CC=$CC >+ while :; do >+ # IRIX 6.2 and later do not support large files by default, >+ # so use the C compiler's -n32 option if that helps. >+ cat >conftest.$ac_ext <<_ACEOF >+/* confdefs.h. */ >+_ACEOF >+cat confdefs.h >>conftest.$ac_ext >+cat >>conftest.$ac_ext <<_ACEOF >+/* end confdefs.h. */ >+#include <sys/types.h> >+ /* Check that off_t can represent 2**63 - 1 correctly. >+ We can't simply define LARGE_OFF_T to be 9223372036854775807, >+ since some C++ compilers masquerading as C compilers >+ incorrectly reject 9223372036854775807. */ >+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) >+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 >+ && LARGE_OFF_T % 2147483647 == 1) >+ ? 1 : -1]; >+int >+main () >+{ >+ >+ ; >+ return 0; >+} >+_ACEOF >+ rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>conftest.er1 >+ ac_status=$? >+ grep -v '^ *+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -z "$ac_c_werror_flag" >+ || test ! -s conftest.err' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ break >+else >+ echo "$as_me: failed program was:" >&5 >+sed 's/^/| /' conftest.$ac_ext >&5 >+ >+fi >+rm -f conftest.err conftest.$ac_objext >+ CC="$CC -n32" >+ rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>conftest.er1 >+ ac_status=$? >+ grep -v '^ *+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -z "$ac_c_werror_flag" >+ || test ! -s conftest.err' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sys_largefile_CC=' -n32'; break >+else >+ echo "$as_me: failed program was:" >&5 >+sed 's/^/| /' conftest.$ac_ext >&5 >+ >+fi >+rm -f conftest.err conftest.$ac_objext >+ break >+ done >+ CC=$ac_save_CC >+ rm -f conftest.$ac_ext >+ fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 >+echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 >+ if test "$ac_cv_sys_largefile_CC" != no; then >+ CC=$CC$ac_cv_sys_largefile_CC >+ fi >+ >+ echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 >+echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 >+if test "${ac_cv_sys_file_offset_bits+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ while :; do >+ ac_cv_sys_file_offset_bits=no >+ cat >conftest.$ac_ext <<_ACEOF >+/* confdefs.h. */ >+_ACEOF >+cat confdefs.h >>conftest.$ac_ext >+cat >>conftest.$ac_ext <<_ACEOF >+/* end confdefs.h. */ >+#include <sys/types.h> >+ /* Check that off_t can represent 2**63 - 1 correctly. >+ We can't simply define LARGE_OFF_T to be 9223372036854775807, >+ since some C++ compilers masquerading as C compilers >+ incorrectly reject 9223372036854775807. */ >+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) >+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 >+ && LARGE_OFF_T % 2147483647 == 1) >+ ? 1 : -1]; >+int >+main () >+{ >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>conftest.er1 >+ ac_status=$? >+ grep -v '^ *+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -z "$ac_c_werror_flag" >+ || test ! -s conftest.err' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ break >+else >+ echo "$as_me: failed program was:" >&5 >+sed 's/^/| /' conftest.$ac_ext >&5 >+ >+fi >+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext >+ cat >conftest.$ac_ext <<_ACEOF >+/* confdefs.h. */ >+_ACEOF >+cat confdefs.h >>conftest.$ac_ext >+cat >>conftest.$ac_ext <<_ACEOF >+/* end confdefs.h. */ >+#define _FILE_OFFSET_BITS 64 >+#include <sys/types.h> >+ /* Check that off_t can represent 2**63 - 1 correctly. >+ We can't simply define LARGE_OFF_T to be 9223372036854775807, >+ since some C++ compilers masquerading as C compilers >+ incorrectly reject 9223372036854775807. */ >+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) >+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 >+ && LARGE_OFF_T % 2147483647 == 1) >+ ? 1 : -1]; >+int >+main () >+{ >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>conftest.er1 >+ ac_status=$? >+ grep -v '^ *+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -z "$ac_c_werror_flag" >+ || test ! -s conftest.err' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sys_file_offset_bits=64; break >+else >+ echo "$as_me: failed program was:" >&5 >+sed 's/^/| /' conftest.$ac_ext >&5 >+ >+fi >+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext >+ break >+done >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 >+echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 >+if test "$ac_cv_sys_file_offset_bits" != no; then >+ >+cat >>confdefs.h <<_ACEOF >+#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits >+_ACEOF >+ >+fi >+rm -f conftest* >+ echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 >+echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 >+if test "${ac_cv_sys_large_files+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ while :; do >+ ac_cv_sys_large_files=no >+ cat >conftest.$ac_ext <<_ACEOF >+/* confdefs.h. */ >+_ACEOF >+cat confdefs.h >>conftest.$ac_ext >+cat >>conftest.$ac_ext <<_ACEOF >+/* end confdefs.h. */ >+#include <sys/types.h> >+ /* Check that off_t can represent 2**63 - 1 correctly. >+ We can't simply define LARGE_OFF_T to be 9223372036854775807, >+ since some C++ compilers masquerading as C compilers >+ incorrectly reject 9223372036854775807. */ >+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) >+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 >+ && LARGE_OFF_T % 2147483647 == 1) >+ ? 1 : -1]; >+int >+main () >+{ >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>conftest.er1 >+ ac_status=$? >+ grep -v '^ *+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -z "$ac_c_werror_flag" >+ || test ! -s conftest.err' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ break >+else >+ echo "$as_me: failed program was:" >&5 >+sed 's/^/| /' conftest.$ac_ext >&5 >+ >+fi >+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext >+ cat >conftest.$ac_ext <<_ACEOF >+/* confdefs.h. */ >+_ACEOF >+cat confdefs.h >>conftest.$ac_ext >+cat >>conftest.$ac_ext <<_ACEOF >+/* end confdefs.h. */ >+#define _LARGE_FILES 1 >+#include <sys/types.h> >+ /* Check that off_t can represent 2**63 - 1 correctly. >+ We can't simply define LARGE_OFF_T to be 9223372036854775807, >+ since some C++ compilers masquerading as C compilers >+ incorrectly reject 9223372036854775807. */ >+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) >+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 >+ && LARGE_OFF_T % 2147483647 == 1) >+ ? 1 : -1]; >+int >+main () >+{ >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>conftest.er1 >+ ac_status=$? >+ grep -v '^ *+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -z "$ac_c_werror_flag" >+ || test ! -s conftest.err' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sys_large_files=1; break >+else >+ echo "$as_me: failed program was:" >&5 >+sed 's/^/| /' conftest.$ac_ext >&5 >+ >+fi >+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext >+ break >+done >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 >+echo "${ECHO_T}$ac_cv_sys_large_files" >&6 >+if test "$ac_cv_sys_large_files" != no; then >+ >+cat >>confdefs.h <<_ACEOF >+#define _LARGE_FILES $ac_cv_sys_large_files >+_ACEOF >+ >+fi >+rm -f conftest* >+fi >+ > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 457187
:
312964
| 312965 |
312966