bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] $0 reassignment corruption in 4.2


From: Eric Pruitt
Subject: Re: [bug-gawk] $0 reassignment corruption in 4.2
Date: Tue, 14 Nov 2017 13:19:40 -0800
User-agent: NeoMutt/20170113 (1.7.2)

On Tue, Nov 14, 2017 at 12:19:02PM -0700, address@hidden wrote:
> Eric Pruitt <address@hidden> wrote:
> > Secondarily, I run a statically linked copy of GAWK built against musl
> > libc, so I don't think it would be an option even if I only cared about
> > supporting GAWK.
>
> Having gawk statically linked should not prevent it from dynamically
> loading an extension; it uses dlopen to do so.

As far as I'm aware, you can't use dlopen in a statically compiled
application built against musl:

- 
https://git.musl-libc.org/cgit/musl/tree/WHATSNEW?id=105eff9dec51bc4898a74af2854ab71f927a5c3b#n425
- 
https://git.musl-libc.org/cgit/musl/tree/ldso/dlstart.c?id=105eff9dec51bc4898a74af2854ab71f927a5c3b#n8

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]