Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Dec 2017 22:11:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224026] [patch] devel/binutils fix gold on ZFS after r325320
Message-ID:  <bug-224026-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224026

            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@FreeBSD.org
          Reporter: wulf@freebsd.org
          Keywords: patch
          Assignee: bapt@FreeBSD.org
             Flags: maintainer-feedback?(bapt@FreeBSD.org)

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

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224026-13>