uClibc and SSP

Mwanguhya Daniel Murungi dmurungi at dicts.mak.ac.ug
Tue Nov 10 06:59:57 UTC 2009


Hello, 

I have tried with the uClibc git master and 0_9_30 branches but with no luck. 
Compiling with '-fstack-protector' is ok but '-fstack-protector-all' 
generates a seg fault. 

I can attach the strace output if that will help.

On Sunday 08 November 2009 16:41:59 Bernhard Reutner-Fischer wrote:
> I think this was fixed on the 0_9_30 branch already (which will shortly
> become 0.9.30.2). Please verify.
>
> On Nov 8, 2009 11:32 AM, "Mwanguhya Daniel Murungi" <
> dmurungi at dicts.mak.ac.ug> wrote:
>
> Hello,
>
> Am building a system using HLFS (hardened Linux from scratch) and uClibc. I
> would like to use uClibc's SSP feature but whenever I enable it, any
> program compiled with -fstack-protector and -fstack-protector-all seg
> faults.
>
> The seg faults do not occur when I disable uClibc's SSP and use libssp from
> GCC. The reason I no longer want to link against libssp is because binary
> size increases by about 8k.
>
> Patching GCC with the gcc-fstack-protector patch (from Robert Connolly)
> doesnot help either.
>
> How do i get uClibc's SSP to work? Am using GCC 4.2.4 and uClibc 0.9.30.1
>
> --
> Mwanguhya Daniel Murungi
> Makerere University [ DICTS ]
> P.O.Box 7062, Wandegeya
> Kampala
> Uganda
>
> MYTH: Knowledge is power
> TRUTH: APPLIED Knowledge is power
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc


More information about the uClibc mailing list