[Bug 275456] lang/ldc: Fix build on powerpc64 (big endian)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Nov 2023 17:40:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275456

            Bug ID: 275456
           Summary: lang/ldc: Fix build on powerpc64 (big endian)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: hamiltcl@verizon.net
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org
 Attachment #246693 text/plain
         mime type:

Created attachment 246693
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246693&action=edit
Fix build on powerpc64 (big endian)

ldc build completes successfully but the resulting compiler does not create
valid executable due to target ABI set to "elfv1" for powerpc64.  

Compiler works for powerpc64le. 

Patch attached that fixes this issue.

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