Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] uClibc fails to build with stack smash protection
Date: Wed, 18 Sep 2013 22:22:31 +0200	[thread overview]
Message-ID: <20130918222231.78903d56@skate> (raw)
In-Reply-To: <20130916142501.GA13623@pc-eric>

Dear Eric Le Bihan,

On Mon, 16 Sep 2013 16:25:02 +0200, Eric Le Bihan wrote:

> I can not build uclibc 0.9.33.2 when stack smashing protection is activated and
> GCC 4.7.x is selected. The build fails as follow:
> 
> --8<--
> [...]
>   STRIP -x -R .note -R .comment libc/libc_so.a
>   LD libuClibc-0.9.33.2.so
> libc/libc_so.a(fnmatch.os):(.text+0xe0): undefined reference to `__stack_chk_guard'
> collect2: error: ld returned 1 exit status
> -->8--

Hum, interesting, I am not reproducing the exact same problem (but I
was testing on ARM, with a slightly different defconfig). I believed
I've fixed the problem I was seeing. I've now started a build with your
defconfig, to see if I reproduce the same problem.

So, it's under investigation.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

      reply	other threads:[~2013-09-18 20:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-16 14:25 [Buildroot] uClibc fails to build with stack smash protection Eric Le Bihan
2013-09-18 20:22 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130918222231.78903d56@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox