[Bug 256935] multimedia/gstreamer1-libav does not build on aarch64 (includes patch)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 02 Jul 2021 10:42:56 UTC

            Bug ID: 256935
           Summary: multimedia/gstreamer1-libav does not build on aarch64
                    (includes patch)
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: pr@aoek.com
          Assignee: multimedia@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)

Created attachment 226167
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226167&action=edit
Patched multimedia/gstreamer1-libav/Makefile to include LDFLAGS for aarch64

multimedia/gstreamer1-libav fails with
ld: error: can't create dynamic relocation R_AARCH64_ABS64 against local symbol
in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext'
to allow text relocations in the output

The proposed patch adds LDFLAGS_aarch64=-Wl,-z,notext and fixes the problem
(clean build).

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