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

Bug #1287796 reported by Dimitri John Ledkov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-i686-linux-android (Ubuntu)
New
Undecided
Unassigned

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.

Tags: bot-comment
Changed in ubuntu:
assignee: nobody → Dimitri John Ledkov (xnox)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Hm, recompiling toolchain with ssp enabled.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1287796/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → gcc-defaults (Ubuntu)
Matthias Klose (doko)
affects: gcc-defaults (Ubuntu) → gcc-i686-linux-android (Ubuntu)
Changed in gcc-i686-linux-android (Ubuntu):
assignee: Dimitri John Ledkov (xnox) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.