mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Justin Cormack <justin@specialbusservice.com>
To: musl@lists.openwall.com
Subject: Re: stack protector and wrapper
Date: Wed, 19 Mar 2014 23:16:38 +0000	[thread overview]
Message-ID: <CAK4o1Wxn2Un9ykGHdgAD3N7o-C5_UxBdPO3=SVjUksLNRqfgNQ@mail.gmail.com> (raw)
In-Reply-To: <20140319214838.GW26358@brightrain.aerifal.cx>

On Wed, Mar 19, 2014 at 9:48 PM, Rich Felker <dalias@aerifal.cx> wrote:
> On Wed, Mar 19, 2014 at 04:15:34PM +0000, Justin Cormack wrote:
>> I just noticed that using the musl-gcc wrapper on latest Ubuntu will
>> not link anything unless you compile with -fno-stack-protector (you
>> get undefined references to __stack_chk_fail_local)
>
> Are you linking apps or libraries? This symbol normally is not needed
> except with -shared or -pie. It would be nicer if we could provide it
> rather than disabling ssp, but I don't know an easy way to do so.

Ah I think it was pie-related, so not really a problem, some unneeded
flags had been set.

Justin


      reply	other threads:[~2014-03-19 23:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-19 16:15 Justin Cormack
2014-03-19 21:48 ` Rich Felker
2014-03-19 23:16   ` Justin Cormack [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='CAK4o1Wxn2Un9ykGHdgAD3N7o-C5_UxBdPO3=SVjUksLNRqfgNQ@mail.gmail.com' \
    --to=justin@specialbusservice.com \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).