mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Gernot Reisinger <Gernot.Reisinger@omnino.at>
Cc: musl@lists.openwall.com
Subject: Re: Question regarding dynamic loader
Date: Fri, 23 Nov 2018 10:29:40 +0100	[thread overview]
Message-ID: <87lg5kw397.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <CALsoeqnLKzNMdkEUtkevpG3Upgn6HFJMvESc+N=D796acTdA2g@mail.gmail.com> (Gernot Reisinger's message of "Wed, 21 Nov 2018 14:55:19 +0100")

* Gernot Reisinger:

> I recently stumbled upon an issue with preloading a shared object into
> a Go application (see related Go ticket
> https://github.com/golang/go/issues/28909).

The bug here is that Go does not call __libc_start_main at all and does
not link crt1.o.  That is a major toolchain bug.  It's surprising that
this works at all.

Thanks,
Florian


      parent reply	other threads:[~2018-11-23  9:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-21 13:55 Gernot Reisinger
2018-11-21 14:25 ` Rich Felker
2018-11-21 15:52   ` Gernot Reisinger
2018-11-21 16:41     ` Szabolcs Nagy
2018-11-23 11:34       ` Gernot Reisinger
2018-11-21 16:14   ` Rich Felker
2018-11-21 14:46 ` Szabolcs Nagy
2018-11-23  9:29 ` Florian Weimer [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=87lg5kw397.fsf@oldenburg.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=Gernot.Reisinger@omnino.at \
    --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).