Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2022 22:19:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258820] Multiple ports fail to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library)
Message-ID:  <bug-258820-7788-K9TO1PWGlZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258820-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258820-7788@https.bugs.freebsd.org/bugzilla/>

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

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=3D 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=3D is not present either in the host or in the poudriere src.conf.

The workaround was to remove=20

<<<<<<<<<<<<<<
WITH_LLVM_BINUTILS=3D
>>>>>>>>>>>>>>

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

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

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



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