Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831569 - sci-electronics/puff-20181104 fails to compile: ld.lld: error: unknown -format value: elf64-x86-64 (supported formats: elf, default, binary)
Summary: sci-electronics/puff-20181104 fails to compile: ld.lld: error: unknown -forma...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2022-01-20 10:51 UTC by Agostino Sarubbo
Modified: 2022-11-19 16:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,42.48 KB, text/plain)
2022-01-20 10:51 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-20 10:51:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-electronics/puff-20181104 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-20 10:51:39 UTC
Created attachment 762813 [details]
build.log

build log and emerge --info
Comment 2 Thomas Beierlein gentoo-dev 2022-11-19 16:02:04 UTC
Seems the additonal '-b format' is not supported for LLD. Dropping it so that the linker have to use the default settings.
Comment 3 Larry the Git Cow gentoo-dev 2022-11-19 16:59:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcaeda147edececb884f685eea7c1116e00b299d

commit bcaeda147edececb884f685eea7c1116e00b299d
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2022-11-19 16:05:51 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2022-11-19 16:58:24 +0000

    sci-electronics/puff: Drop explicit linker format option
    
    Fall back to using the default format options for LD as well as LLD.
    Furthermore add explicite LDPATH to locate libX11.so
    
    Closes: https://bugs.gentoo.org/831569
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 sci-electronics/puff/files/puff-20181104-Makefile.patch | 5 +++--
 sci-electronics/puff/puff-20181104.ebuild               | 5 ++++-
 2 files changed, 7 insertions(+), 3 deletions(-)