[Bug 271405] devel/binutils abort() in mingw32
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 May 2023 04:08:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271405 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=242158&action=edit Upstream patch to resolve abort() in mingw32. With mingw32-binutils build 2.40_3,1 on 13.2-RELEASE, I get an abort() in ld. This appears to have been fixed upstream with this commit: https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=b7eab2a9d4f4e92692daf14b09fc95ca11b72e30;hp=0d2f72332c7606fa3181b54dceef82d1af403624 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 upstream 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 *, asection *) /usr/local/lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld: please report this bug -- You are receiving this mail because: You are the assignee for the bug.