Bug 259117

Summary: devel/git: Fails to link with USE_LTO: ld: error: undefined symbol:
Product: Ports & Packages Reporter: Filipe da Silva Santos <contact>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed Overcome By Events    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 259120    
Bug Blocks:    
Attachments:
Description Flags
poudriere log none

Description Filipe da Silva Santos 2021-10-13 00:36:57 UTC
Created attachment 228641 [details]
poudriere log

Poudriere build log after enabling USE_LTO in make.conf attached
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-10-13 01:12:20 UTC
Git has an issue at linking stage that is a common subset of errors for many ports, that the underlying framework/linking/toolchain needs to resolve.

I'll create a blocking meta issue for these to be dependents of.
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2024-11-20 11:42:09 UTC
Current git version builds just fine with LTO as you can see at

https://idaho.arrakis.com.br/data/14-amd64-default/2024-11-20_08h28m42s/logs/git-2.47.0.log