disable largefile support on x86-solaris by default

Joel Brobecker brobecker@adacore.com
Sat Nov 22 16:48:00 GMT 2008


Hello,

I recently checked in a patch that disable largefile support on
sparc-solaris (no problem on sparc64-solaris). There is a similar
problem on x86-solaris, so I applied the same remedy...

2008-11-22  Joel Brobecker  <brobecker@adacore.com>

        * configure.in: Deactivate large-file support on native x86-solaris
        as well unless the user explicitly requested it.
        * configure: Regenerate.

Tested on x86-solaris by verifying that GDB builds again.
OK to apply?

Thanks,
-- 
Joel
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 138937)
+++ configure	(working copy)
@@ -4936,9 +4936,9 @@ _ACEOF
 
 
 case "${target}" in
-  sparc-*-solaris*)
-    # On native 32bit sparc-solaris, large-file and procfs support are
-    # mutually exclusive; and without procfs support, the elf module
+  sparc-*-solaris*|i[3-7]86-*-solaris*)
+    # On native 32bit sparc and ia32 solaris, large-file and procfs support
+    # are mutually exclusive; and without procfs support, the elf module
     # cannot provide certain routines such as elfcore_write_prpsinfo
     # or elfcore_write_prstatus.  So unless the user explicitly requested
     # large-file support through the --enable-largefile switch, disable
Index: configure.in
===================================================================
--- configure.in	(revision 138937)
+++ configure.in	(working copy)
@@ -24,9 +24,9 @@ AC_GNU_SOURCE
 AC_USE_SYSTEM_EXTENSIONS
 
 case "${target}" in
-  sparc-*-solaris*)
-    # On native 32bit sparc-solaris, large-file and procfs support are
-    # mutually exclusive; and without procfs support, the elf module
+  sparc-*-solaris*|i[[3-7]]86-*-solaris*)
+    # On native 32bit sparc and ia32 solaris, large-file and procfs support
+    # are mutually exclusive; and without procfs support, the elf module
     # cannot provide certain routines such as elfcore_write_prpsinfo
     # or elfcore_write_prstatus.  So unless the user explicitly requested
     # large-file support through the --enable-largefile switch, disable


More information about the Binutils mailing list