Changeset 3302

Show
Ignore:
Timestamp:
07/20/07 18:02:59 (1 year ago)
Author:
tg
Message:

- remove avr32: there is no support in uClibc for this architecture
- for all targets:

  • sync configuration with mipsel
  • support DT_RPATH, since we use it
  • enable initfini-compat for binary compatibility with
    older uClibc versions we might encounter on other sy-
    stems we copy our packages onto (especially thinking
    of nokernel targets or 1.0 or OpenWrt? compat here)
  • enable pthreads debugging support, req'd by wbx@
    (package for that will follow)
  • disable shadow passwords support, as we don't use it
  • disable $TZ caching, as we use /etc/TZ instead
  • disable the scanf() glibc-compatible 'a' flag,
    since it conflicts with the ISO C99 'a' flag
  • enable sys_errlist[] and sys_siglist[] since we build
    programmes that can make use of them
  • enable a few security features - more (i.e. ProPolice?) to come

- regenerate ("make oldconfig") all configuration files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/toolchain/uClibc/files/config.arm

    r3051 r3302  
    44# TARGET_alpha is not set 
    55TARGET_arm=y 
    6 # TARGET_avr32 is not set 
    76# TARGET_bfin is not set 
    87# TARGET_cris is not set 
     
    3029ARCH_SUPPORTS_LITTLE_ENDIAN=y 
    3130TARGET_ARCH="arm" 
    32 # ARCH_SUPPORTS_BIG_ENDIAN is not set 
     31ARCH_SUPPORTS_BIG_ENDIAN=y 
    3332# CONFIG_GENERIC_ARM is not set 
    3433# CONFIG_ARM610 is not set 
     
    6867# LDSO_PRELOAD_FILE_SUPPORT is not set 
    6968LDSO_BASE_FILENAME="ld.so" 
    70 # LDSO_RUNPATH is not set 
    71 # DL_FINI_CRT_COMPAT is not set 
     69LDSO_RUNPATH=y 
     70DL_FINI_CRT_COMPAT=y 
    7271UCLIBC_CTOR_DTOR=y 
    7372# HAS_NO_THREADS is not set 
    7473UCLIBC_HAS_THREADS=y 
    75 # PTHREADS_DEBUG_SUPPORT is not set 
     74PTHREADS_DEBUG_SUPPORT=y 
    7675UCLIBC_HAS_LFS=y 
    7776# UCLIBC_STATIC_LDCONFIG is not set 
     
    8180MALLOC_GLIBC_COMPAT=y 
    8281UCLIBC_DYNAMIC_ATEXIT=y 
    83 HAS_SHADOW=y 
     82# HAS_SHADOW is not set 
    8483# UNIX98PTY_ONLY is not set 
    8584ASSUME_DEVPTS=y 
    8685UCLIBC_HAS_TM_EXTENSIONS=y 
    87 UCLIBC_HAS_TZ_CACHING=y 
     86# UCLIBC_HAS_TZ_CACHING is not set 
    8887UCLIBC_HAS_TZ_FILE=y 
    8988UCLIBC_HAS_TZ_FILE_READ_MANY=y 
     
    112111UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y 
    113112UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 
    114 UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y 
     113# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set 
    115114# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set 
    116115# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set 
     
    132131UCLIBC_HAS_PRINTF_M_SPEC=y 
    133132UCLIBC_HAS_ERRNO_MESSAGES=y 
    134 # UCLIBC_HAS_SYS_ERRLIST is not set 
     133UCLIBC_HAS_SYS_ERRLIST=y 
    135134UCLIBC_HAS_SIGNUM_MESSAGES=y 
    136 # UCLIBC_HAS_SYS_SIGLIST is not set 
     135UCLIBC_HAS_SYS_SIGLIST=y 
    137136UCLIBC_HAS_GNU_GETOPT=y 
    138137 
     
    155154# uClibc security related options 
    156155# 
    157 # UCLIBC_SECURITY is not set 
     156UCLIBC_SECURITY=y 
     157# UCLIBC_BUILD_PIE is not set 
     158# UCLIBC_HAS_SSP is not set 
     159UCLIBC_BUILD_RELRO=y 
     160UCLIBC_BUILD_NOW=y 
     161UCLIBC_BUILD_NOEXECSTACK=y 
    158162 
    159163# 
  • trunk/freewrt/toolchain/uClibc/files/config.armeb

    r2905 r3302  
    6767# LDSO_PRELOAD_FILE_SUPPORT is not set 
    6868LDSO_BASE_FILENAME="ld.so" 
    69 # LDSO_RUNPATH is not set 
    70 # DL_FINI_CRT_COMPAT is not set 
     69LDSO_RUNPATH=y 
     70DL_FINI_CRT_COMPAT=y 
    7171UCLIBC_CTOR_DTOR=y 
    7272# HAS_NO_THREADS is not set 
    7373UCLIBC_HAS_THREADS=y 
    74 # PTHREADS_DEBUG_SUPPORT is not set 
     74PTHREADS_DEBUG_SUPPORT=y 
    7575UCLIBC_HAS_LFS=y 
    7676# UCLIBC_STATIC_LDCONFIG is not set 
     
    8080MALLOC_GLIBC_COMPAT=y 
    8181UCLIBC_DYNAMIC_ATEXIT=y 
    82 HAS_SHADOW=y 
     82# HAS_SHADOW is not set 
    8383# UNIX98PTY_ONLY is not set 
    8484ASSUME_DEVPTS=y 
    8585UCLIBC_HAS_TM_EXTENSIONS=y 
    86 UCLIBC_HAS_TZ_CACHING=y 
     86# UCLIBC_HAS_TZ_CACHING is not set 
    8787UCLIBC_HAS_TZ_FILE=y 
    8888UCLIBC_HAS_TZ_FILE_READ_MANY=y 
     
    111111UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y 
    112112UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 
    113 UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y 
     113# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set 
    114114# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set 
    115115# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set 
     
    131131UCLIBC_HAS_PRINTF_M_SPEC=y 
    132132UCLIBC_HAS_ERRNO_MESSAGES=y 
    133 # UCLIBC_HAS_SYS_ERRLIST is not set 
     133UCLIBC_HAS_SYS_ERRLIST=y 
    134134UCLIBC_HAS_SIGNUM_MESSAGES=y 
    135 # UCLIBC_HAS_SYS_SIGLIST is not set 
     135UCLIBC_HAS_SYS_SIGLIST=y 
    136136UCLIBC_HAS_GNU_GETOPT=y 
    137137 
     
    154154# uClibc security related options 
    155155# 
    156 # UCLIBC_SECURITY is not set 
     156UCLIBC_SECURITY=y 
     157# UCLIBC_BUILD_PIE is not set 
     158# UCLIBC_HAS_SSP is not set 
     159UCLIBC_BUILD_RELRO=y 
     160UCLIBC_BUILD_NOW=y 
     161UCLIBC_BUILD_NOEXECSTACK=y 
    157162 
    158163# 
  • trunk/freewrt/toolchain/uClibc/files/config.cris

    r3051 r3302  
    44# TARGET_alpha is not set 
    55# TARGET_arm is not set 
    6 # TARGET_avr32 is not set 
    76# TARGET_bfin is not set 
    87TARGET_cris=y 
     
    5756# LDSO_PRELOAD_FILE_SUPPORT is not set 
    5857LDSO_BASE_FILENAME="ld.so" 
    59 # LDSO_RUNPATH is not set 
    60 # DL_FINI_CRT_COMPAT is not set 
    61 # UCLIBC_CTOR_DTOR is not set 
     58LDSO_RUNPATH=y 
     59DL_FINI_CRT_COMPAT=y 
     60UCLIBC_CTOR_DTOR=y 
    6261# HAS_NO_THREADS is not set 
    6362UCLIBC_HAS_THREADS=y 
    64 # PTHREADS_DEBUG_SUPPORT is not set 
     63PTHREADS_DEBUG_SUPPORT=y 
    6564UCLIBC_HAS_LFS=y 
    6665# UCLIBC_STATIC_LDCONFIG is not set 
     
    7069MALLOC_GLIBC_COMPAT=y 
    7170UCLIBC_DYNAMIC_ATEXIT=y 
    72 HAS_SHADOW=y 
     71# HAS_SHADOW is not set 
    7372# UNIX98PTY_ONLY is not set 
    7473ASSUME_DEVPTS=y 
    7574UCLIBC_HAS_TM_EXTENSIONS=y 
    76 UCLIBC_HAS_TZ_CACHING=y 
     75# UCLIBC_HAS_TZ_CACHING is not set 
    7776UCLIBC_HAS_TZ_FILE=y 
    7877UCLIBC_HAS_TZ_FILE_READ_MANY=y 
     
    101100UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y 
    102101UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 
    103 UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y 
     102# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set 
    104103# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set 
    105104# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set 
     
    121120UCLIBC_HAS_PRINTF_M_SPEC=y 
    122121UCLIBC_HAS_ERRNO_MESSAGES=y 
    123 # UCLIBC_HAS_SYS_ERRLIST is not set 
     122UCLIBC_HAS_SYS_ERRLIST=y 
    124123UCLIBC_HAS_SIGNUM_MESSAGES=y 
    125 # UCLIBC_HAS_SYS_SIGLIST is not set 
     124UCLIBC_HAS_SYS_SIGLIST=y 
    126125UCLIBC_HAS_GNU_GETOPT=y 
    127126 
     
    144143# uClibc security related options 
    145144# 
    146 # UCLIBC_SECURITY is not set 
     145UCLIBC_SECURITY=y 
     146# UCLIBC_HAS_SSP is not set 
     147UCLIBC_BUILD_RELRO=y 
     148UCLIBC_BUILD_NOW=y 
     149UCLIBC_BUILD_NOEXECSTACK=y 
    147150 
    148151# 
  • trunk/freewrt/toolchain/uClibc/files/config.i386

    r2035 r3302  
    4646# CONFIG_CYRIXIII is not set 
    4747# CONFIG_NEHEMIAH is not set 
    48 # CONFIG_MIPS_ISA_1 is not set 
    49 # CONFIG_MIPS_ISA_2 is not set 
    50 # CONFIG_MIPS_ISA_3 is not set 
    51 # CONFIG_MIPS_ISA_4 is not set 
    52 # CONFIG_MIPS_ISA_MIPS32 is not set 
    53 # CONFIG_MIPS_ISA_MIPS64 is not set 
    5448ARCH_LITTLE_ENDIAN=y 
    5549# ARCH_BIG_ENDIAN is not set 
     
    7771# LDSO_PRELOAD_FILE_SUPPORT is not set 
    7872LDSO_BASE_FILENAME="ld.so" 
    79 # LDSO_RUNPATH is not set 
     73LDSO_RUNPATH=y 
    8074DL_FINI_CRT_COMPAT=y 
    8175UCLIBC_CTOR_DTOR=y 
    8276# HAS_NO_THREADS is not set 
    8377UCLIBC_HAS_THREADS=y 
    84 # PTHREADS_DEBUG_SUPPORT is not set 
     78PTHREADS_DEBUG_SUPPORT=y 
    8579UCLIBC_HAS_LFS=y 
    8680# UCLIBC_STATIC_LDCONFIG is not set 
     
    9084MALLOC_GLIBC_COMPAT=y 
    9185UCLIBC_DYNAMIC_ATEXIT=y 
    92 HAS_SHADOW=y 
     86# HAS_SHADOW is not set 
    9387# UNIX98PTY_ONLY is not set 
    9488ASSUME_DEVPTS=y 
    9589UCLIBC_HAS_TM_EXTENSIONS=y 
    96 UCLIBC_HAS_TZ_CACHING=y 
     90# UCLIBC_HAS_TZ_CACHING is not set 
    9791UCLIBC_HAS_TZ_FILE=y 
    9892UCLIBC_HAS_TZ_FILE_READ_MANY=y 
     
    121115UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y 
    122116UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 
    123 UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y 
     117# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set 
    124118# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set 
    125119# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set 
     
    141135UCLIBC_HAS_PRINTF_M_SPEC=y 
    142136UCLIBC_HAS_ERRNO_MESSAGES=y 
    143 # UCLIBC_HAS_SYS_ERRLIST is not set 
     137UCLIBC_HAS_SYS_ERRLIST=y 
    144138UCLIBC_HAS_SIGNUM_MESSAGES=y 
    145 # UCLIBC_HAS_SYS_SIGLIST is not set 
     139UCLIBC_HAS_SYS_SIGLIST=y 
    146140UCLIBC_HAS_GNU_GETOPT=y 
    147141 
     
    164158# uClibc security related options 
    165159# 
    166 # UCLIBC_SECURITY is not set 
     160UCLIBC_SECURITY=y 
     161# UCLIBC_BUILD_PIE is not set 
     162# UCLIBC_HAS_SSP is not set 
     163UCLIBC_BUILD_RELRO=y 
     164UCLIBC_BUILD_NOW=y 
     165UCLIBC_BUILD_NOEXECSTACK=y 
    167166 
    168167# 
  • trunk/freewrt/toolchain/uClibc/files/config.mipsel

    r596 r3302  
    6262# LDSO_PRELOAD_FILE_SUPPORT is not set 
    6363LDSO_BASE_FILENAME="ld.so" 
    64 # LDSO_RUNPATH is not set 
     64LDSO_RUNPATH=y 
    6565DL_FINI_CRT_COMPAT=y 
    6666UCLIBC_CTOR_DTOR=y 
    6767# HAS_NO_THREADS is not set 
    6868UCLIBC_HAS_THREADS=y 
    69 # PTHREADS_DEBUG_SUPPORT is not set 
     69PTHREADS_DEBUG_SUPPORT=y 
    7070UCLIBC_HAS_LFS=y 
    7171# UCLIBC_STATIC_LDCONFIG is not set 
     
    7575MALLOC_GLIBC_COMPAT=y 
    7676UCLIBC_DYNAMIC_ATEXIT=y 
    77 HAS_SHADOW=y 
     77# HAS_SHADOW is not set 
    7878# UNIX98PTY_ONLY is not set 
    7979ASSUME_DEVPTS=y 
    8080UCLIBC_HAS_TM_EXTENSIONS=y 
    81 UCLIBC_HAS_TZ_CACHING=y 
     81# UCLIBC_HAS_TZ_CACHING is not set 
    8282UCLIBC_HAS_TZ_FILE=y 
    8383UCLIBC_HAS_TZ_FILE_READ_MANY=y 
     
    106106UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y 
    107107UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 
    108 UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y 
     108# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set 
    109109# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set 
    110110# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set 
     
    126126UCLIBC_HAS_PRINTF_M_SPEC=y 
    127127UCLIBC_HAS_ERRNO_MESSAGES=y 
    128 # UCLIBC_HAS_SYS_ERRLIST is not set 
     128UCLIBC_HAS_SYS_ERRLIST=y 
    129129UCLIBC_HAS_SIGNUM_MESSAGES=y 
    130 # UCLIBC_HAS_SYS_SIGLIST is not set 
     130UCLIBC_HAS_SYS_SIGLIST=y 
    131131UCLIBC_HAS_GNU_GETOPT=y 
    132132 
     
    149149# uClibc security related options 
    150150# 
    151 # UCLIBC_SECURITY is not set 
     151UCLIBC_SECURITY=y 
     152# UCLIBC_BUILD_PIE is not set 
     153# UCLIBC_HAS_SSP is not set 
     154UCLIBC_BUILD_RELRO=y 
     155UCLIBC_BUILD_NOW=y 
     156UCLIBC_BUILD_NOEXECSTACK=y 
    152157 
    153158# 
  • trunk/freewrt/toolchain/uClibc/files/config.powerpc

    r3051 r3302  
    1 #  
    2 # Copyright (C) 2006 OpenWrt.org 
    31# 
    4 # This is free software, licensed under the GNU General Public License v2. 
    5 # See /LICENSE for more information. 
    6 # 
    7 # 
    8  
    92# Automatically generated make config: don't edit 
    103# 
    114# TARGET_alpha is not set 
    125# TARGET_arm is not set 
    13 # TARGET_avr32 is not set 
    146# TARGET_bfin is not set 
    157# TARGET_cris is not set 
     
    3729TARGET_ARCH="powerpc" 
    3830ARCH_SUPPORTS_BIG_ENDIAN=y 
    39 # CONFIG_MIPS_ISA_1 is not set 
    40 # CONFIG_MIPS_ISA_2 is not set 
    41 # CONFIG_MIPS_ISA_3 is not set 
    42 # CONFIG_MIPS_ISA_4 is not set 
    43 # CONFIG_MIPS_ISA_MIPS32 is not set 
    44 # CONFIG_MIPS_ISA_MIPS64 is not set 
    4531# ARCH_LITTLE_ENDIAN is not set 
    4632ARCH_BIG_ENDIAN=y 
     
    6854# LDSO_PRELOAD_FILE_SUPPORT is not set 
    6955LDSO_BASE_FILENAME="ld.so" 
    70 # LDSO_RUNPATH is not set 
     56LDSO_RUNPATH=y 
    7157DL_FINI_CRT_COMPAT=y 
    7258UCLIBC_CTOR_DTOR=y 
    7359# HAS_NO_THREADS is not set 
    7460UCLIBC_HAS_THREADS=y 
    75 # PTHREADS_DEBUG_SUPPORT is not set 
     61PTHREADS_DEBUG_SUPPORT=y 
    7662UCLIBC_HAS_LFS=y 
    7763# UCLIBC_STATIC_LDCONFIG is not set 
     
    8167MALLOC_GLIBC_COMPAT=y 
    8268UCLIBC_DYNAMIC_ATEXIT=y 
    83 HAS_SHADOW=y 
     69# HAS_SHADOW is not set 
    8470# UNIX98PTY_ONLY is not set 
    8571ASSUME_DEVPTS=y 
    8672UCLIBC_HAS_TM_EXTENSIONS=y 
    87 UCLIBC_HAS_TZ_CACHING=y 
     73# UCLIBC_HAS_TZ_CACHING is not set 
    8874UCLIBC_HAS_TZ_FILE=y 
    8975UCLIBC_HAS_TZ_FILE_READ_MANY=y 
     
    11298UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y 
    11399UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 
    114 UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y 
     100# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set 
    115101# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set 
    116102# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set 
     
    132118UCLIBC_HAS_PRINTF_M_SPEC=y 
    133119UCLIBC_HAS_ERRNO_MESSAGES=y 
    134 # UCLIBC_HAS_SYS_ERRLIST is not set 
     120UCLIBC_HAS_SYS_ERRLIST=y 
    135121UCLIBC_HAS_SIGNUM_MESSAGES=y 
    136 # UCLIBC_HAS_SYS_SIGLIST is not set 
     122UCLIBC_HAS_SYS_SIGLIST=y 
    137123UCLIBC_HAS_GNU_GETOPT=y 
    138124 
     
    155141# uClibc security related options 
    156142# 
    157 # UCLIBC_SECURITY is not set 
     143UCLIBC_SECURITY=y 
     144# UCLIBC_BUILD_PIE is not set 
     145# UCLIBC_HAS_SSP is not set 
     146UCLIBC_BUILD_RELRO=y 
     147UCLIBC_BUILD_NOW=y 
     148UCLIBC_BUILD_NOEXECSTACK=y 
    158149 
    159150#