mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: Hauke Mehrtens <hauke@hauke-m.de>
Cc: musl@lists.openwall.com, Harald Welte <laforge@gnumonks.org>,
	Alexander Couzens <lynxis@fe80.eu>
Subject: Re: [musl] MUSL ignores__attribute__((constructor(priority))) ?
Date: Fri, 22 May 2020 13:53:46 -0400	[thread overview]
Message-ID: <20200522175346.GZ1079@brightrain.aerifal.cx> (raw)
In-Reply-To: <57f97221-4bf1-1ee1-b06d-13c6c384fba4@hauke-m.de>

On Fri, May 22, 2020 at 07:45:48PM +0200, Hauke Mehrtens wrote:
> On 5/22/20 7:33 PM, Rich Felker wrote:
> > On Fri, May 22, 2020 at 06:50:06PM +0200, Harald Welte wrote:
> >> Hi Rich,
> >>
> >> On Thu, May 21, 2020 at 05:49:48PM -0400, Rich Felker wrote:
> >>>> According to the OpenWRT build I have been provided by a 3rd party, it's
> >>>> using musl-1-1.23.
> >>>
> >>> Can you confirm this to make sure we're not debugging an issue that's
> >>> long since fixed? Run /lib/ld-musl-armhf.so.1 as a command and it will
> >>> print its version.
> >>
> >> *sigh*. It was 1.1.20.  This specific (vendor) OpenWRT tree was broken in that
> >> it used the 1.1.20 source code but called the generated packages and
> >> path names 1.1.23 :/
> >>
> >> After updating the sources to actual 1.1.23, the constructor order is
> >> correct and I can run the unmodified libraries + application just like
> >> on glibc.
> >>
> >> Sorry for the noise then.  Normally if something is named 1.1.23 you
> >> assume it also is 1.1.23 inside...
> > 
> > OK, I'll inquire with OpenWRT about what's going on here..
> > 
> Hi,
> 
> Hauke here form OpenWrt, I am just reading this. ;-)
> 
> OpenWrt never shipped musl 1.1.20 or 1.1.23 in any final release.
> OpenWrt 19.07 uses musl 1.1.24
> OpenWrt 18.06 uses musl 1.1.19
> I also checked that this is really using this version and not just
> claims to do so.
> 
> I assume that some vendor forked a random OpenWrt master state and had a
> problem with their broken application and "fixed" it by downgrading
> musl, but they only changed the git commit hash which should be used
> and not the version number.
> 
> I saw that lynxis just send this patch to use the official tar.gz for
> musl and not check musl out from git any more, I assume this is related
> to this discussion:
> https://patchwork.ozlabs.org/project/openwrt/patch/20200522153626.1398980-1-lynxis@fe80.eu/

Thanks for the quick follow-up!

  reply	other threads:[~2020-05-22 17:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-21 20:22 Harald Welte
2020-05-21 20:40 ` Rich Felker
2020-05-21 21:19   ` Harald Welte
2020-05-21 21:49     ` Rich Felker
2020-05-22 16:50       ` Harald Welte
2020-05-22 17:33         ` Rich Felker
2020-05-22 17:45           ` Hauke Mehrtens
2020-05-22 17:53             ` Rich Felker [this message]
2020-05-22 23:37               ` Alexander 'lynxis' Couzens

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=20200522175346.GZ1079@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=hauke@hauke-m.de \
    --cc=laforge@gnumonks.org \
    --cc=lynxis@fe80.eu \
    --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).