View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007933CMakeCMakepublic2008-11-04 05:442016-06-10 14:30
ReporterClaudio Bantaloukas 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0007933: -D_LARGE_FILES broken on AIX-gcc
DescriptionWhen compiling cmake 2.6.2 on AIX using the gcc-4.2.4 compiler, using Large File Support trips on gcc PR 20366.

Symptom
In file included from /opt/pware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../../../include/c++/4.2.4/powerpc-ibm-aix5.3.0.0/bits/c++locale.h:49,
                 from /opt/pware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../../../include/c++/4.2.4/iosfwd:45,
                 from /opt/pware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../../../include/c++/4.2.4/bits/stl_algobase.h:70,
                 from /opt/pware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../../../include/c++/4.2.4/bits/char_traits.h:46,
                 from /opt/pware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../../../include/c++/4.2.4/string:47,
                 from /claudiofs/claudio/src/cmake-2.6.2/Source/cmsys/stl/string:38,
                 from /claudiofs/claudio/src/cmake-2.6.2/Source/kwsys/Directory.cxx:19:
/opt/pware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../../../include/c++/4.2.4/cstdio:109: error: '::fgetpos' has not been declared
/opt/pware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../../../include/c++/4.2.4/cstdio:111: error: '::fopen' has not been declared
/opt/pware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../../../include/c++/4.2.4/cstdio:116: error: '::freopen' has not been declared
/opt/pware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../../../include/c++/4.2.4/cstdio:119: error: '::fsetpos' has not been declared
gmake[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/Directory.o] Error 1
gmake[1]: *** [Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2
gmake: *** [all] Error 2
Additional InformationOriginal issue here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366 [^]
TagsNo tags attached.
Attached Filespatch file icon fix_broken_lfs_on_aix.patch [^] (1,318 bytes) 2008-11-04 05:55 [Show Content]

 Relationships

  Notes
(0014020)
Claudio Bantaloukas (reporter)
2008-11-04 05:47

this issue is similar but different in nature to issue 4691

The solution lies in gcc-land and the gcc PR has a patch to fixincludes attached.

I am preparing a workaround in bootstrap that makes bootstraping on aix with gcc possible, please check and apply if correct.
(0014021)
Claudio Bantaloukas (reporter)
2008-11-04 05:56

fix_broken_lfs_on_aix.patch allows bootstrap to succeed on AIX with gcc, please test on other platforms, kthanxbye :)
(0017508)
Bill Hoffman (manager)
2009-09-14 21:06

I think this is fixed now...
(0041466)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2008-11-04 05:44 Claudio Bantaloukas New Issue
2008-11-04 05:47 Claudio Bantaloukas Note Added: 0014020
2008-11-04 05:55 Claudio Bantaloukas File Added: fix_broken_lfs_on_aix.patch
2008-11-04 05:56 Claudio Bantaloukas Note Added: 0014021
2008-11-05 17:39 Bill Hoffman Status new => assigned
2008-11-05 17:39 Bill Hoffman Assigned To => Bill Hoffman
2009-09-14 21:06 Bill Hoffman Note Added: 0017508
2016-06-10 14:27 Kitware Robot Note Added: 0041466
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team