source: patches/eglibc-2.10.1-fixes-1.patch@ fc9ce67

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since fc9ce67 was d8f87e8, checked in by Jim Gifford <clfs@…>, 16 years ago

This commit will address most of the EGLIBC test suite failures

  • Property mode set to 100644
File size: 2.9 KB
  • elf/ldd.bash.in

    Submitted By: Jim Gifford (jim at cross-lfs dot org)
    Date: 06-07-2009
    Initial Package Version: 2.10.1
    Origin: Upstream
    Upstream Status: Applied
    Description: These are fixes eglibc-2.10.1, and should be
                 rechecked periodically.
    
    diff -Naur libc.orig/elf/ldd.bash.in libc/elf/ldd.bash.in
    old new  
    1 #! @BASH@
     1#! /bin/bash
    22# Copyright (C) 1996-2008, 2009 Free Software Foundation, Inc.
    33# This file is part of the GNU C Library.
    44
  • libio/Makefile

    diff -Naur libc.orig/libio/Makefile libc/libio/Makefile
    old new  
    170170tst-fopenloc-ENV = LOCPATH=$(common-objpfx)localedata \
    171171                   MALLOC_TRACE=$(objpfx)tst-fopenloc.mtrace
    172172tst-fgetws-ENV = LOCPATH=$(common-objpfx)localedata
     173tst-fgetwc-ENV = LOCPATH=$(common-objpfx)localedata
    173174tst-ungetwc1-ENV = LOCPATH=$(common-objpfx)localedata
    174175tst-ungetwc2-ENV = LOCPATH=$(common-objpfx)localedata
    175176bug-ungetwc2-ENV = LOCPATH=$(common-objpfx)localedata
  • libio/tst-fgetwc.c

    diff -Naur libc.orig/libio/tst-fgetwc.c libc/libio/tst-fgetwc.c
    old new  
    66static int
    77do_test (void)
    88{
    9   if (setlocale (LC_ALL, "de_DE.utf8") == NULL)
     9  if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL)
    1010    {
    1111      puts ("setlocale failed");
    1212      return 1;
  • sunrpc/Makefile

    diff -Naur libc.orig/sunrpc/Makefile libc/sunrpc/Makefile
    old new  
    144144        $(+link)
    145145
    146146$(addprefix $(objpfx)cross-,$(rpcgen-objs)): $(objpfx)cross-%.o: %.c
    147         gcc $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
     147        $(BUILD_CC) $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \
    148148                $(OUTPUT_OPTION) $(compile-mkdep-flags)
    149149
    150150$(objpfx)cross-rpcgen: $(addprefix $(objpfx)cross-,$(rpcgen-objs))
    151         gcc $^ -o $@
     151        $(BUILD_CC) $^ -o $@
    152152
    153153# This makes sure -DNOT_IN_libc is passed for all these modules.
    154154cpp-srcs-left := $(rpcgen-objs:.o=.c)
  • timezone/Makefile

    diff -Naur libc.orig/timezone/Makefile libc/timezone/Makefile
    old new  
    181181$(objpfx)zic: $(addprefix $(objpfx), $(zic-objs))
    182182
    183183$(addprefix $(objpfx)cross-,$(zic-objs)): $(objpfx)cross-%.o: %.c
    184         gcc $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
     184        $(BUILD_CC) $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \
    185185                -DCROSS_ZIC $(compile-mkdep-flags)
    186186
    187187$(objpfx)cross-zic: $(addprefix $(objpfx)cross-,$(zic-objs))
    188         gcc $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@
     188        $(BUILD_CC) $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@
    189189
    190190tz-cflags = -DTZDIR='"$(zonedir)"' \
    191191            -DTZDEFAULT='"$(localtime-file)"' \
Note: See TracBrowser for help on using the repository browser.