• Bug#851924: libgc: Please update symbols for sh3

    From John Paul Adrian Glaubitz@21:1/5 to All on Fri Jan 20 02:00:02 2017
    XPost: linux.debian.bugs.dist

    This is a multi-part MIME message sent by reportbug.


    Source: libgc
    Version: 1:7.4.2-8
    Severity: normal
    Tags: patch
    User: helmutg@debian.org
    Usertags: rebootstrap

    Hi!

    We're currently adding sh3 as a new architecture to rebootstrap which
    allows to cross-bootstrap Debian for architectures. sh3 is an older architecture which is currently being redesigned as an open source
    CPU with the name J-Core.

    While cross-bootstrapping, the build stopped because the symbols for
    libgc need to be updated for sh3. This can be trivially achieved by
    globally replacing "!sh4" with "!sh3 !sh4" in libgc1c2.symbols:

    $ sed -i '/^ /s/!sh4/!sh3 &/' debian/libgc1c2.symbols

    But it's also possible just to apply the attached debdiff.

    Thanks,
    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    diff -Nru c/libgc-7.4.2/debian/libgc1c2.symbols d/libgc-7.4.2/debian/libgc1c2.symbols
    --- c/libgc-7.4.2/debian/libgc1c2.symbols 2016-05-17 16:29:59.000000000 +0200
    +++ d/libgc-7.4.2/debian/libgc1c2.symbols 2017-01-20 01:46:46.562587256 +0100
    @@ -9,8 +9,8 @@
    GC_FirstDLOpenedLinkMap@Base 1:7.2d
    (arch=kfreebsd-amd64 kfreebsd-i386)GC_FreeBSDGetDataStart@Base 1:7.2d
    (arch=sparc sparc64)GC_SysVGetDataStart@Base 1:7.2d
    - (arch=!arm64 !nios2 !hppa !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !ppc64el !sh4)GC_acquire_mark_lock@Base 1:7.4.2
    - (arch=!arm64 !nios2 !hppa !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !ppc64el !sh4)GC_active_count@Base 1:7.4.2
    + (arch=!arm64 !nios2 !hppa !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !ppc64el !sh3 !sh4)GC_acquire_mark_lock@Base 1:7.4.2
    + (arch=!arm64 !nios2 !hppa !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !ppc64el !sh3 !sh4)GC_active_count@Base 1:7.4.2
    GC_add_ext_descriptor@Base 1:7.2d
    GC_add_map_entry@Base 1:7.2d
    GC_add_roots@Base 1:7.2d
    @@ -28,7 +28,7 @@
    GC_alloc_large_and_clear@Base 1:7.2d
    GC_alloc_reclaim_list@Base 1:7.2d
    (arch=arm64