Skip to content
Snippets Groups Projects
  1. May 25, 2015
  2. May 23, 2015
    • John Crispin's avatar
      uClibc: add signal info for seccomp related SIGSYS · 6ab2bcfe
      John Crispin authored
      
      uClibc doesn't define signal info for the SIGSYS signal which is issued
      in case of hitting a syscall prohibited by seccomp.
      This is sad as it makes debugging seccomp filter policies impossible on
      some architectures (at least ARM and PowerPC, maybe also others) which
      do not coincidentally set si_value.sival_int as the syscall number.
      
      To fix this, import the definitions and macros needed from glibc.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      
      SVN-Revision: 45720
      6ab2bcfe
  3. May 10, 2015
  4. Apr 02, 2015
  5. Mar 29, 2015
  6. Mar 28, 2015
  7. Mar 26, 2015
  8. Mar 25, 2015
  9. Mar 24, 2015
  10. Mar 17, 2015
  11. Mar 15, 2015
  12. Mar 12, 2015
  13. Feb 11, 2015
  14. Jan 28, 2015
  15. Jan 17, 2015
    • John Crispin's avatar
      Support for building an hardened OpenWRT · 491f3fc0
      John Crispin authored
      
      Introduce configuration options to build an "hardened" OpenWRT.
      
      Options to enable Stack-Smashing Protection, FORTIFY_SOURCE and RELRO
      have been introduced.
      
      uClibc makefile now automatically detects if SSP support is necessary.
      
      hostapd makefile has been fixed to use "^" as sed separator since
      using a comma was problematic when using "-Wl,-z,now" and the like in
      TARGET_CFLAGS.
      
      Currently enabling SSP on user space depends on enabling SSP kernel
      side, this is due to the fact that TARGET_CFLAGS are used to build
      kernel modules (at least). Suggestions on how to avoid this are welcome.
      Using "select" instead of "depends on" doesn't seem to work with choice
      entries.
      
      Tested with a lantiq (WBMR) router, GCC 4.8, uClibc and a subset of
      the available packages.
      Needs to be tested with GCC 4.9 and the remaining packages.
      PIE not currently included.
      
      Signed-off-by: default avatarAlessandro Di Federico <ale+owrt@clearmind.me>
      
      SVN-Revision: 44005
      491f3fc0
  16. Jan 15, 2015
  17. Jan 11, 2015
  18. Dec 27, 2014
  19. Dec 13, 2014
  20. Dec 12, 2014
    • Felix Fietkau's avatar
      gcc: don't clobber stamp-bits with a symlink to itself · 548d9a00
      Felix Fietkau authored
      
      Several versions of gcc have an issue in libstdc++v3 where the build may
      clobber stamp-bits with a link to itself.  This doesn't manifest itself
      on all systems.  On several Ubuntu systems, this doesn't appear to be a
      problem, but it is an issue on Fedora 16 systems.
      
      To fix the issue, we'll simply filter out stamp-bits from the symlinks
      to be generated.
      
      Note: gcc 4.4.7 is unaffected by this issue, so no fix is necessary
      there.
      
      Signed-off-by: default avatarJohn Szakmeister <john@szakmeister.net>
      
      SVN-Revision: 43669
      548d9a00
  21. Dec 11, 2014
  22. Dec 01, 2014
  23. Nov 30, 2014
    • Felix Fietkau's avatar
      toolchain: uClibc: fix compile with full language support enabled (fixes #13095) · 309cdd61
      Felix Fietkau authored
      When building with CONFIG_BUILD_NLS=y, uClibc fails to compile with following
      message (or similar, according to https://dev.openwrt.org/ticket/13095
      
      ):
      
      -snip-
      ...
      Warning: adding UNDEFINED entry for ar_AE
      Warning: adding UNDEFINED entry for am_ET
      Warning: adding UNDEFINED entry for af_ZA
      grep "^#define" extra/locale/locale_tables.h > extra/locale/lt_defines.h
      grep "^#define __lc" extra/locale/locale_collate.h >> extra/locale/lt_defines.h
      gcc extra/locale/gen_wctype.c  -o extra/locale/gen_wctype    -Os -Wall  -D__UCLIBC_GEN_LOCALE -I./
      extra/locale/gen_wctype.c: In function 'main':
      extra/locale/gen_wctype.c:684:2: warning: #warning fix the upper bound on the upper/lower tables... save 200 bytes or so [-Wcpp]
      for locale in  en_US en_GB; do \
                      extra/locale/gen_wctype  $locale > extra/locale/wctables.h || \
                      extra/locale/gen_wctype  $locale.UTF-8 > extra/locale/wctables.h || \
                      extra/locale/gen_wctype  $locale.iso8859-1 > extra/locale/wctables.h && break; \
              done
      make[4]: *** [extra/locale/wctables.h] Error 1
      -snap-
      
      This seems to also depend on the host system used, e.g. running a fresh
      checkout on a Debian 7.6 system triggered this error, while running the
      very same stuff on an Ubuntu 12.10 Quantal Quetzal does not trigger it.
      
      This is the configuration I used:
      
      -snip-
      buildbot@buildbot:~/openwrt-nls.git$ scripts/diffconfig.sh
      CONFIG_TARGET_ar71xx=y
      CONFIG_TARGET_ar71xx_generic=y
      CONFIG_TARGET_ar71xx_generic_Default=y
      CONFIG_DEVEL=y
      CONFIG_BUILD_NLS=y
      CONFIG_DOWNLOAD_FOLDER="/srv/downloads/downloads"
      -snap-
      
      In the ticket mentioned above, a patch is referenced which solves this issue.
      
      Note, that this issue is also present on 14.07.
      
      Signed-off-by: default avatarMichael Heimpold <mhei@heimpold.de>
      
      SVN-Revision: 43446
      309cdd61
    • Felix Fietkau's avatar
      toolchain: uClibc: fix build with CONFIG_BUILD_NLS selected · 3f130f7a
      Felix Fietkau authored
      
      Without this patch, selecting "Compile with full language support"
      results in the following question during build:
      
      ...
      Locale Support (UCLIBC_HAS_LOCALE) [Y/n/?] y
        Locale data
        > 1. All locales (UCLIBC_BUILD_ALL_LOCALE) (NEW)
          2. Only selected locales (UCLIBC_BUILD_MINIMAL_LOCALE) (NEW)
          3. Use Pre-generated Locale Data (UCLIBC_PREGENERATED_LOCALE_DATA) (NEW)
        choice[1-3]:
      
      Signed-off-by: default avatarMichael Heimpold <mhei@heimpold.de>
      
      SVN-Revision: 43445
      3f130f7a
  24. Nov 24, 2014
Loading