HomeDefectsLIN1025-4003
Fixed

LIN1025-4003 : gawk: disable persistent memory allocator due to licensing

Created: Sep 17, 2025    Updated: Oct 13, 2025
Resolved Date: Oct 13, 2025
Found In Version: 10.25.33.1
Fix Version: 10.25.33.2
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Userspace

Description

    In gawk-5.2, a feature that allows gawk to preserve memory between runs:
       https://www.gnu.org/software/gawk/manual/html_node/Persistent-Memory.html
    was added. The files that implement this, support/pma.[ch], are licensed
    under the AGPL3 which some entities perfer to avoid. Force people to knowingly
    opt into using this feature and license using:
       PACKAGECONFIG:append:pn-gawk = " pma-if-64bit"
    where pma is an abbreviation for persistent memory allocator and the
    "-if-64bit" suffix is a indicator to users that the feature only works
    for 64 bit targets. Also add AGPL to LICENSE and LICENSE:${PN}, when using pma.
    
    Correct the license to be AGPL-3.0-or-later. There hasn't been a change in
    the license terms, at least for main.c, haven't changed significantly in
    the last 15 years: