[Make failure with GCC-3.3.X and GCC-3.4.0 on Solaris 8 ] : gmake: *** [all-libiberty] Error 2

Dom dsuares@nortelnetworks.com
Thu May 27 14:42:00 GMT 2004


Eric,

from my side, I don't see what's wrong

Extracts of the stat.h file on one of my solaris 8 box :

***********

    233
    234 struct  stat {
    235         dev_t           st_dev;
    236         long            st_pad1[3];     /* reserved for network 
id */
    237         ino_t           st_ino;
    238         mode_t          st_mode;
    239         nlink_t         st_nlink;
    240         uid_t           st_uid;
    241         gid_t           st_gid;
    242         dev_t           st_rdev;
    243         long            st_pad2[2];
    244         off_t           st_size;
    245 #if _FILE_OFFSET_BITS != 64
    246         long            st_pad3;        /* future off_t 
expansion */
    247 #endif
    248 #if !defined(_XOPEN_SOURCE) && !defined(_POSIX_C_SOURCE) || \
    249         defined(__EXTENSIONS__)
    250         timestruc_t     st_atim;
    251         timestruc_t     st_mtim;
    252         timestruc_t     st_ctim;
    253 #else
    254         _timestruc_t    st_atim;
    255         _timestruc_t    st_mtim;
    256         _timestruc_t    st_ctim;
    257 #endif
    258         blksize_t       st_blksize;
    259         blkcnt_t        st_blocks;
    260         char            st_fstype[_ST_FSTYPSZ];
    261         long            st_pad4[8];     /* expansion area */
    262 };
    263

****

        295 #else   /* _LP64 */
    296
    297 struct  stat64 {
    298         dev_t           st_dev;
    299         long            st_pad1[3];     /* reserved for network 
id */
    300         ino64_t         st_ino;
    301         mode_t          st_mode;
    302         nlink_t         st_nlink;
    303         uid_t           st_uid;
    304         gid_t           st_gid;
    305         dev_t           st_rdev;
    306         long            st_pad2[2];
    307         off64_t         st_size;
    308 #if !defined(_XOPEN_SOURCE) && !defined(_POSIX_C_SOURCE) || \
    309         defined(__EXTENSIONS__)
    310         timestruc_t     st_atim;
    311         timestruc_t     st_mtim;
    312         timestruc_t     st_ctim;
    313 #else
    314         _timestruc_t    st_atim;
    315         _timestruc_t    st_mtim;
    316         _timestruc_t    st_ctim;
    317 #endif
    318         blksize_t       st_blksize;
    319         blkcnt64_t      st_blocks;
    320         char            st_fstype[_ST_FSTYPSZ];
    321         long            st_pad4[8];     /* expansion area */
    322 };

I'm searching information on the Web about stat.h, parse error of the 
stat.h and what could prevent the gcc build on solaris 8... and for the 
moment, I don't find any closer information about that.

I'll succeed.... one day maybe.

Rgds,

D.





More information about the Gcc mailing list