[Bug 224026] [patch] devel/binutils fix gold on ZFS after r325320

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 1 22:11:24 UTC 2017


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

            Bug ID: 224026
           Summary: [patch] devel/binutils fix gold on ZFS after r325320
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bapt at FreeBSD.org
          Reporter: wulf at freebsd.org
          Keywords: patch
          Assignee: bapt at FreeBSD.org
             Flags: maintainer-feedback?(bapt at FreeBSD.org)

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

r325320 disabled posix_fallocate(2) for ZFS. Unfortunatelly, ld.gold does not
handle EINVAL returned in this case properly and fails to link.
Fix it with falling back to ftruncate(2) if posix_fallocate(2) returned EINVAL
being supplied with correct offset and len parameters.

Discovered while building www/qt5-webkit in dirty desktop environment.

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


More information about the freebsd-ports-bugs mailing list