Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2023 04:08:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271405] devel/binutils abort() in mingw32
Message-ID:  <bug-271405-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 271405
           Summary: devel/binutils abort() in mingw32
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: shurd@FreeBSD.org
          Assignee: cy@FreeBSD.org
             Flags: maintainer-feedback?(cy@FreeBSD.org)
 Attachment #242158 text/plain
         mime type:

Created attachment 242158
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242158&action=
=3Dedit
Upstream patch to resolve abort() in mingw32.

With mingw32-binutils build 2.40_3,1 on 13.2-RELEASE, I get an abort() in l=
d.

This appears to have been fixed upstream with this commit:
https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommitdiff;h=3Db7eab2a=
9d4f4e92692daf14b09fc95ca11b72e30;hp=3D0d2f72332c7606fa3181b54dceef82d1af40=
3624

Build log without the patch available here:
https://gitlab.synchro.net/main/sbbs/-/jobs/53734

With the patch:
https://gitlab.synchro.net/main/sbbs/-/jobs/53735

I've attached the file I put in my files dir, which is just the linked upst=
ream
commitdiff.

The error at the end of the failing log is:
/usr/local/lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld: internal error:
aborting at ldlang.c:527 in int compare_section(sort_type, asection *, asec=
tion
*)
/usr/local/lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld: please report =
this
bug

--=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-271405-7788>