[Bug 243851] math/flint2: fix build on powerpc64 elfv2

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243851

            Bug ID: 243851
           Summary: math/flint2: fix build on powerpc64 elfv2
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
             Flags: maintainer-feedback?([email protected])
                CC: [email protected]
          Assignee: [email protected]

Created attachment 211324
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211324&action=edit
patch

Build fails with:
In file included from
/wrkdirs/usr/ports/math/flint2/work/flint2-2baa9bc/profiler.c:18:
/wrkdirs/usr/ports/math/flint2/work/flint2-2baa9bc/profiler.h:116:10: error:
unknown register name '%edx' in asm
       : "%edx", "%eax");
         ^
1 error generated.

GCC for some reason can compile it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.