Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 792609

Summary: dev-libs/ell with clang ell/tls.c:1895:2: error: function definition is not allowed here
Product: Gentoo Linux Reporter: vicalcas
Component: Current packagesAssignee: Ben Kohler <bkohler>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bkohler, chain, vicalcas
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: build.log
emerge info
emerge pqv

Description vicalcas 2021-05-28 10:34:28 UTC
Created attachment 711870 [details]
build.log

Maybe i'm tangling it too much, but i tried to use the gentoolto overlay (as it seems possible based on the info of the issues) but if it has no fix i'll use the gcc fallback no problem.
Comment 1 vicalcas 2021-05-28 10:34:58 UTC
Created attachment 711873 [details]
emerge info
Comment 2 vicalcas 2021-05-28 10:35:13 UTC
Created attachment 711876 [details]
emerge pqv
Comment 3 Richard H. 2021-06-05 09:18:58 UTC
This also bit me, exactly the same output. Maybe this should be added to the clang tracker?
Comment 4 Ben Kohler gentoo-dev 2021-10-15 15:12:57 UTC
Seems to be fixed upstream here: https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/?id=7b7a0241fbe00b25ad71b07722334838b76dd906

It's not released yet, but would you be able to test 9999?
Comment 5 Richard H. 2021-10-15 17:35:50 UTC
(In reply to Ben Kohler from comment #4)
> Seems to be fixed upstream here:
> https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/
> ?id=7b7a0241fbe00b25ad71b07722334838b76dd906
> 
> It's not released yet, but would you be able to test 9999?

Thank you for the heads up! It worked flawlessly.