Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806370 - toolchain-glibc.eclass uses reserved variable __GLIBC_CC
Summary: toolchain-glibc.eclass uses reserved variable __GLIBC_CC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-04 09:04 UTC by Ulrich Müller
Modified: 2022-01-18 17:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2021-08-04 09:04:44 UTC
Function and variable names beginning with __ are reserved for package manager use. Should be trivial to fix by replacing it by a single underscore.

Policy reference:
https://projects.gentoo.org/pms/8/pms.html#x1-13700012.3.17
Comment 1 Arfrever Frehtes Taifersar Arahesis 2021-08-04 16:26:46 UTC
This __GLIBC_CC is also in sys-libs/glibc ebuilds.

Exporting of this variable (__GLIBC_CC or _GLIBC_CC) is probably unnecesary, i.e. you can remove it from export line.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-18 17:07:07 UTC
Removed.