patches/glibc/2.1.3/glibc-2.1.3-allow-gcc-3.4-locale.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu May 17 16:22:51 2007 +0000 (2007-05-17)
changeset 96 aa1a9fbd6eb8
permissions -rw-r--r--
Debug facilities:
- add a framework to easily add new ones
- add gdb as a first debug facility
- add patches for gdb
After the kernel checked its installed headers, clean up the mess of .checked.* files.
Reorder scripts/crosstool.sh:
- dump the configuration early
- renice early
- get info about build system early, when setting up the environment
- when in cross or native, the host tools are those of the build system, and only in this case
- elapsed time calculations moved to scripts/functions
Remove handling of the color: it's gone once and for all.
Update tools/addToolVersion.sh:
- handle debug facilities
- commonalise some code
- remove dead tools (cygwin, tcc)
Point to my address for bug reports.
     1 programs/locfile.c: In function `locfile_read':
     2 programs/locfile.c:863: error: label at end of compound statement
     3 make[2]: *** [/home/dank/wk/crosstool-0.28-rc4h/build/i686-unknown-linux-gnu/gcc-3.4.0-20040406-glibc-2.1.3/build-glibc/locale/locfile.o] Error 1
     4 make[2]: Leaving directory `/home/dank/wk/crosstool-0.28-rc4h/build/i686-unknown-linux-gnu/gcc-3.4.0-20040406-glibc-2.1.3/glibc-2.1.3/locale'
     5 
     6 programs/locale.c: In function `print_item':
     7 programs/locale.c:666: error: label at end of compound statement
     8 make[2]: *** [/home/dank/wk/crosstool-0.28-rc4h/build/i686-unknown-linux-gnu/gcc-3.4.0-20040406-glibc-2.1.3/build-glibc/locale/locale.o] Error 1
     9 make[2]: Leaving directory `/home/dank/wk/crosstool-0.28-rc4h/build/i686-unknown-linux-gnu/gcc-3.4.0-20040406-glibc-2.1.3/glibc-2.1.3/locale'
    10 
    11 
    12 Mechanical changes to quiet the errors.
    13 
    14 --- glibc-2.1.3/locale/programs/locfile.c.old	Sun Apr 11 20:03:52 2004
    15 +++ glibc-2.1.3/locale/programs/locfile.c	Sun Apr 11 20:04:47 2004
    16 @@ -860,6 +860,7 @@
    17  
    18  	    collate_end_weight (ldfile, result);
    19  	  illegal_weight:
    20 +		;	/* gcc-3.4 requires a statement here */
    21  	  }
    22  	  continue;
    23  
    24 --- glibc-2.1.3/locale/programs/locale.c.old	Sun Apr 11 20:08:48 2004
    25 +++ glibc-2.1.3/locale/programs/locale.c	Sun Apr 11 20:09:04 2004
    26 @@ -663,6 +663,7 @@
    27  	  }
    28  	  break;
    29  	default:
    30 +		;       /* gcc-3.4 requires a statement here */
    31  	}
    32        putchar ('\n');
    33      }