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

Bug 832046

Summary: sys-libs/glibc-2.34-r6 fails to compile (clang tinderbox): configure: error: These critical programs are missing or too old: compiler
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
config.log

Description Agostino Sarubbo gentoo-dev 2022-01-25 14:27:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/glibc-2.34-r6 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-25 14:27:25 UTC
Created attachment 763612 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-25 15:30:08 UTC
Created attachment 763622 [details]
config.log

config.log
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2022-01-29 12:46:53 UTC
Sigh. The configure test uses the C preprocessor:

ac_cpp='$CPP $CPPFLAGS'

Seems like the tinderbox also sets CPP (to enforce clang), and that is the one variable not reset yet...

Fixable, but the fix needs careful testing -> new revbump, later
Comment 4 Agostino Sarubbo gentoo-dev 2022-01-29 15:17:15 UTC
(In reply to Andreas K. Hüttel from comment #3)
> Fixable, but the fix needs careful testing -> new revbump, later

no problem, if you need me feel free to ask