[Bug 258820] devel/libffi: disable building static library
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Sep 2021 22:50:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258820
Bug ID: 258820
Summary: devel/libffi: disable building static library
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: zeising@FreeBSD.org
Reporter: pkubaj@FreeBSD.org
Flags: maintainer-feedback?(zeising@FreeBSD.org)
Assignee: zeising@FreeBSD.org
Created attachment 228298
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228298&action=edit
patch
Ports generally should not build static libraries.
This also breaks build with USE_LTO=yes:
libtool: install: /usr/bin/install -c .libs/libffi.lai
/wrkdirs/usr/ports/devel/libffi/work/stage/usr/local/lib/libffi.la
libtool: install: /usr/bin/install -c .libs/libffi.a
/wrkdirs/usr/ports/devel/libffi/work/stage/usr/local/lib/libffi.a
libtool: install: strip --strip-debug
/wrkdirs/usr/ports/devel/libffi/work/stage/usr/local/lib/libffi.a
strip: file format not recognized
--
You are receiving this mail because:
You are the assignee for the bug.