Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914898 - net-fs/samba-4.19.0: ld.lld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined
Summary: net-fs/samba-4.19.0: ld.lld: error: version script assignment of 'local' to s...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 912821
  Show dependency tree
 
Reported: 2023-09-28 19:50 UTC by listout
Modified: 2024-03-08 07:14 UTC (History)
4 users (show)

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


Attachments
Build log and emerge --info (build.log,206.98 KB, text/plain)
2023-09-28 19:52 UTC, listout
Details
For now this workaround works (temp.diff,428 bytes, patch)
2023-09-28 19:54 UTC, listout
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description listout 2023-09-28 19:50:35 UTC
With lld 17, samba-4.19.0 fails to build, in the linking phase.

Reproducible: Always

Steps to Reproduce:
1. On llvm profile, be on llvm:17
2. Emerge net-fs/samba-4.19.0
Actual Results:  
ld.lld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined
ld.lld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined
ld.lld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Expected Results:  
Build completes
Comment 1 listout 2023-09-28 19:52:31 UTC
Created attachment 871689 [details]
Build log and emerge --info
Comment 2 listout 2023-09-28 19:54:23 UTC
Created attachment 871690 [details, diff]
For now this workaround works
Comment 3 Pablo Cholaky 2024-03-08 07:14:14 UTC
I can confirm this patch works at samba-4.19.4.

Using regular profile with clang as default compiler and lld as default linker