Hi all,

I spent the last couple of hours tracking down PR29867 through fixincludes. 
Now, as the actual problem is identified, I lack the knowledge to fix it 
appropriately. Could someone more involved with fixincludes comment on this? 
Thanks.

The problem: fixes "glibc_c99_inline_1" and "glibc_c99_inline_2" are looking 
for "features.h" and "sys/stat.h" respectively. In some x86_64 distros, these 
files are placed "/usr/include/x86_64-linux", with compat(?) versions of both 
files in "/usr/include". Adding some debug output to fixincl.c(fix_applies), 
line 1120, one finds:

        bailing in glibc_c99_inline_1, 
        looking for file x86_64-linux/features.h in |features.h|
        bailing in glibc_c99_inline_2, 
        looking for file x86_64-linux/sys/stat.h in |sys/stat.h|

[format string:
        fprintf (myfile, "bailing in %s, looking for file %s in %s\n", 
                 p_fixd->fix_name, pz_fname, p_fixd->file_list);]


OTOH, some files in /usr/include/x86_64 are fixed (neither fix specifies a 
file name):

        Applying ctrl_quotes_def to x86_64-linux/readline/chardefs.h
        Applying io_quotes_use to x86_64-linux/sys/mount.h
        Applying io_quotes_use to x86_64-linux/sys/raw.h


Some pointers/help how to address this issue would be appreciated.

Regards
        Daniel

Reply via email to