Summary: | konsole won't start due to stack smashing attack on hardened ppc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | nixnut (RETIRED) <nixnut> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | hardened, kurt.hindenburg |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 86857 | ||
Bug Blocks: |
Description
nixnut (RETIRED)
![]() same problem with konsole-3.5.0 Qt: 3.3.4 KDE: 3.5.0 Konsole: 1.6 I'm the maintainer of Konsole... I don't use Gentoo's KDE ebuilds since I have the SVN source trees. 1. Is this PPC only? I have only i386 systems. 2. Can this be reproduced on a non-hardened system easily? What would I need to recompile? Thread model: posix gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) re: 1: Konsole is built here with SSP on x86 no problem re. 2: If you have access to a non-hardened ppc system you can try: CFLAGS="-fstack-protector-all" emerge konsole All the hardened compiler does w.r.t. ssp is to switch on -fstack-protector-all by default (in most situations). The only thing you'll be missing is the support libraries (libstdc++ etc) which are built with the stack protector when gcc is built USE=hardened. nixnut, is this still an issue for you? If so, provide information, please. Ok, seems this too is a problem with a clashing -fno-strict-aliasing and ssp as described in bug 86857. Although solar mentions pie the problem seems more an ssp <-> -fno-strict-aliasing problem. If I compile konsole with ssp and -fno-strict-aliasing I will get the stack smashing error. Compiling with either the nossp gcc profile or filtering -fno-strict-aliasing will get me a functional konsole. Same with kontact. I haven't tested this with some of other kde packages (konqueror, kghostview, kstars and others) that seem to fall victim to the same problem, but it looks like ssp and -fno-strict-aliasing on ppc seem to not like each other. If you want more info please tell me what you need and how I can produce that info for you. |