[Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 Aug 2022 22:19:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258820

f451 <f451@imap.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |f451@imap.cc

--- Comment #11 from f451 <f451@imap.cc> ---
A data point that might be relevant:

With recent -current and a poudriere jail in arm64 built with
WITH_LLVM_BINUTILS= in its src.conf, databases/postgresql13-client fails
testport at the install phase with

[00:12:01] strip: error:
'/wrkdirs/usr/ports/databases/postgresql13-client/work/stage/usr/local/lib/_inst.67779_':
not stripping symbol '.L.str.1' because it is named in a relocation
[00:12:01] gmake[3]: *** [../../../../src/Makefile.shlib:425:
install-lib-static] Error 1

USE_LTO= is not present either in the host or in the poudriere src.conf.

The workaround was to remove 

<<<<<<<<<<<<<<
WITH_LLVM_BINUTILS=
>>>>>>>>>>>>>>

from src.conf for that poudriere jail instance, delete and build the jail
again.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.