[Bug 197810] devel/armv6-freebsd10.0-xdev: fix undefined behavior in gas's tc-arm.c

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 18 21:03:47 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197810

            Bug ID: 197810
           Summary: devel/armv6-freebsd10.0-xdev: fix undefined behavior
                    in gas's tc-arm.c
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dim at FreeBSD.org

Created attachment 153163
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153163&action=edit
Fix undefined behavior in gas/contrib/tc-arm.c's rotate_left() macro

Similar to bug 197806, there is a failure in armv6-freebsd10.0-xdev due to gas
"invalid constant after fixup" errors:

http://pb2.nyi.freebsd.org/data/headi386PR197395-default/2015-02-12_00h00m41s/logs/errors/armv6-freebsd10.0-xdev-10.0.log

This is again due to undefined behavior in gas's rotate_left() macro, as fixed
in head here:

https://svnweb.freebsd.org/base?view=revision&revision=274856

Apply this revision onto the unpacked src.txz to avoid the build failure with
clang 3.6.0.

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


More information about the freebsd-ports-bugs mailing list