From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13474 Path: news.gmane.org!.POSTED!not-for-mail From: Florian Weimer Newsgroups: gmane.linux.lib.musl.general Subject: Re: Question regarding dynamic loader Date: Fri, 23 Nov 2018 10:29:40 +0100 Message-ID: <87lg5kw397.fsf@oldenburg.str.redhat.com> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1542965279 17091 195.159.176.226 (23 Nov 2018 09:27:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2018 09:27:59 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: musl@lists.openwall.com To: Gernot Reisinger Original-X-From: musl-return-13490-gllmg-musl=m.gmane.org@lists.openwall.com Fri Nov 23 10:27:54 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1gQ7kg-0004KX-KS for gllmg-musl@m.gmane.org; Fri, 23 Nov 2018 10:27:54 +0100 Original-Received: (qmail 20041 invoked by uid 550); 23 Nov 2018 09:30:02 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 20020 invoked from network); 23 Nov 2018 09:30:01 -0000 In-Reply-To: (Gernot Reisinger's message of "Wed, 21 Nov 2018 14:55:19 +0100") X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Fri, 23 Nov 2018 09:29:49 +0000 (UTC) Xref: news.gmane.org gmane.linux.lib.musl.general:13474 Archived-At: * 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