Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys-devel/gdb: fix GCC/Clang build mixture #23796

Closed

Conversation

10ne1
Copy link
Contributor

@10ne1 10ne1 commented Jan 14, 2022

GDB configure will use a mix of GCC and Clang due to
$GCC_FOR_TARGET defaulting to GCC in Clang-configured
builds, so set the var to ensure the proper compilers
are detected and to avoid mixing them.

Before setting the variable (example from ChromiumOS):
checking for x86_64-cros-linux-gnu-gcc... x86_64-cros-linux-gnu-gcc

After:
checking for gcc... (cached) x86_64-cros-linux-gnu-clang

Bug: https://bugs.gentoo.org/831202
Signed-off-by: Adrian Ratiu adrian.ratiu@collabora.com

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @10ne1
Areas affected: ebuilds
Packages affected: sys-devel/gdb

sys-devel/gdb: @gentoo/toolchain

Linked bugs

Bugs linked: 831202


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Jan 14, 2022
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2022-01-14 18:25 UTC
Newest commit scanned: cb48be2
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/aca13fbf0f/output.html

GDB configure will use a mix of GCC and Clang due to
$GCC_FOR_TARGET defaulting to GCC in Clang-configured
builds, so set the var to ensure the proper compilers
are detected and to avoid mixing them.

Before setting the variable (example from ChromiumOS):
checking for x86_64-cros-linux-gnu-gcc... x86_64-cros-linux-gnu-gcc

After:
checking for gcc... (cached) x86_64-cros-linux-gnu-clang

Bug: https://bugs.gentoo.org/831202
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
@10ne1 10ne1 force-pushed the dev/aratiu/fix-gdb-mixed-compilers branch from cb48be2 to fd206c7 Compare January 14, 2022 18:43
@10ne1 10ne1 deleted the dev/aratiu/fix-gdb-mixed-compilers branch January 16, 2022 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
4 participants