[Bug 1287796] Re: gcc-i686-linux-android: ssp feature not working properly

Matthias Klose doko at ubuntu.com
Wed Jun 11 11:42:25 UTC 2014


** Package changed: gcc-defaults (Ubuntu) => gcc-i686-linux-android
(Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1287796

Title:
  gcc-i686-linux-android: ssp feature not working properly

Status in “gcc-i686-linux-android” package in Ubuntu:
  New

Bug description:
  When compiling android with gcc-i686-linux-android toolchain i get a lot of:
  bionic/libc/bionic/libc_logging.cpp:402: error: undefined reference to '__stack_chk_fail_local'
  bionic/libc/bionic/libc_logging.cpp:500: error: undefined reference to '__stack_chk_fail_local'
  bionic/libc/bionic/libc_logging.cpp:446: error: undefined reference to '__stack_chk_fail_local'

  But:
  readelf -a ./out/target/product/generic_x86/system/lib/crtbegin_so.o
      18: 0000005f    31 FUNC    GLOBAL HIDDEN     2 __stack_chk_fail_local

  has that symbol, albeit hidden.

  compared with arm toolchain, i'm not sure if that one is or isn't
  using stack-protector, and whether it supports stack-protector or not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-i686-linux-android/+bug/1287796/+subscriptions



More information about the foundations-bugs mailing list