[Buildroot] [PATCH RFC v1 1/1] gcc: fix problem with detecting SSP under uclibc-ng

Waldemar Brodkorb wbx at openadk.org
Thu Sep 17 17:42:10 UTC 2015


Hi,
Brendan Heading wrote,

> Aside from that .. GCC actually already has a block which checks
> UCLIBC_HAS_SSP. The problem is that it reaches it only if the glibc
> version check returns that the version is 2.3 or lower. The fix might
> simply be to reorder the check.
> 
> I'm curious why GCC have done this rather than doing a check for the
> __stack_chk symbols. Would be interested in hearing from Alexey and
> Waldemar.

I vote for the GCC patch, if there is already a __UCLIBC_HAS_SSP__
check.

best regards
 Waldemar


More information about the buildroot mailing list