Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Aug 2021 15:36:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257638] Compressed debug build fails on powerpc, mips
Message-ID:  <bug-257638-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257638

            Bug ID: 257638
           Summary: Compressed debug build fails on powerpc, mips
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

I introduced compressed debug in:

commit c910570e757305ba4a974b628bcd8fd4278908a7
Author: Ed Maste <emaste@FreeBSD.org>
Date:   Mon Mar 1 12:25:22 2021 -0500

    Use compressed debug in standalone userland debug files by default

    The compiler supports CFLAGS=3D-gz=3Dzlib to compress .debug sections in
    object files, libraries, and binaries.  Enable it to reduce disk usage
    for standalone debug files (and /usr/obj).

    Reviewed by:    dim, kevans
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D29002

but the build failed on powerpc and mips and so was reverted:

commit 89ed2ecb14ceabc27883282cf96559a9e7d52717
Author: Ed Maste <emaste@FreeBSD.org>
Date:   Thu Aug 5 08:34:03 2021 -0400

    Disable compressed debug by default

    In c910570e7573 I enabled compressed debug sections, but it broke mips
    and powerpc.  Disable it for now.

    Reported by:    jenkins, manu
    Sponsored by:   The FreeBSD Foundation

Failure examples:

FreeBSD-main-powerpc-build - Build #20581

 --- Scrt1.o ---
ld  -o Scrt1.o -r Scrt1_c.o crtbrand.o feature_note.o ignore_init_note.o
ld: error: Scrt1_c.o:(.debug_loc): unsupported compression type
ld: error: Scrt1_c.o:(.debug_abbrev): unsupported compression type
ld: error: Scrt1_c.o:(.debug_info): unsupported compression type
ld: error: Scrt1_c.o:(.debug_str): unsupported compression type
ld: error: Scrt1_c.o:(.debug_line): unsupported compression type

These ones also failed with *crt objects:
FreeBSD-main-powerpc64-build
FreeBSD-main-mips64-build
FreeBSD-main-mips-build
FreeBSD-main-powerpcspe-build

This one was in stand:

FreeBSD-main-powerpc64le-build

 --- all_subdir_stand ---
ld: error:
/usr/obj/usr/src/powerpc.powerpc64le/stand/ficl/libficl.a(ficl.o):(.debug_l=
oc):
unsupported compression type
ld: error:
/usr/obj/usr/src/powerpc.powerpc64le/stand/ficl/libficl.a(ficl.o):(.debug_a=
bbrev):
unsupported compression type
ld: error:
/usr/obj/usr/src/powerpc.powerpc64le/stand/ficl/libficl.a(ficl.o):(.debug_i=
nfo):
unsupported compression type
ld: error:
/usr/obj/usr/src/powerpc.powerpc64le/stand/ficl/libficl.a(ficl.o):(.debug_s=
tr):
unsupported compression type
ld: error:
/usr/obj/usr/src/powerpc.powerpc64le/stand/ficl/libficl.a(ficl.o):(.debug_l=
ine):
unsupported compression type
ld: error:
/usr/obj/usr/src/powerpc.powerpc64le/stand/ficl/libficl.a(dict.o):(.debug_l=
oc):
unsupported compression type
ld: error:
/usr/obj/usr/src/powerpc.powerpc64le/stand/ficl/libficl.a(dict.o):(.debug_a=
bbrev):
unsupported compression type
ld: error:
/usr/obj/usr/src/powerpc.powerpc64le/stand/ficl/libficl.a(dict.o):(.debug_i=
nfo):
unsupported compression type
ld: error:
/usr/obj/usr/src/powerpc.powerpc64le/stand/ficl/libficl.a(dict.o):(.debug_r=
anges):
unsupported compression type
ld: error:
/usr/obj/usr/src/powerpc.powerpc64le/stand/ficl/libficl.a(dict.o):(.debug_s=
tr):
unsupported compression type

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257638-227>