[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 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256935

            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_at_FreeBSD.org
          Reporter: pr_at_aoek.com
          Assignee: multimedia_at_FreeBSD.org
             Flags: maintainer-feedback?(multimedia_at_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.
Received on Fri Jul 02 2021 - 10:42:56 UTC

Original text of this message