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

Not supported by GCC-10 ? #7

Closed
HougeLangley opened this issue May 10, 2020 · 8 comments
Closed

Not supported by GCC-10 ? #7

HougeLangley opened this issue May 10, 2020 · 8 comments
Labels
upstream Not directly related to this repo

Comments

@HougeLangley
Copy link

I used mostlyportable-gcc build GCC-10, Using this one build linux-tkg kernel and reboot my system. System black screen and no anything information.

@Tk-Glitch
Copy link
Member

If you're on nvidia, keep in mind you need to build/rebuild your nvidia driver modules with the same GCC toolchain used for the kernel, or if you're using dkms, to make sure dkms is using your mostlyportable toolchain to build modules. This also means that if you have other kernels installed that weren't built with the same GCC, dkms will fail to build modules for them.

For dkms, adding your mostlyportable paths to /etc/dkms/framework.conf is a possible solution.

CUSTOM_GCC_PATH="/your/mostlyportable/gcc/dir"
PATH=${CUSTOM_GCC_PATH}/bin:${CUSTOM_GCC_PATH}/lib:${CUSTOM_GCC_PATH}/include:${PATH}

If you're on AMD/Intel, I have yet to build my own kernel with GCC10 so it's fully untested 🐸
I'll do that soon.

@HougeLangley
Copy link
Author

Thank you for your information.

I am on Nvidia.

@HougeLangley
Copy link
Author

No luck,

I have been added

CUSTOM_GCC_PATH="/your/mostlyportable/gcc/dir"
PATH=${CUSTOM_GCC_PATH}/bin:${CUSTOM_GCC_PATH}/lib:${CUSTOM_GCC_PATH}/include:${PATH

in /etc/makepkg.conf and /etc/dkms/framework.conf and build kernel and Nvidia successed. But reboot system still black screen.

@HougeLangley HougeLangley reopened this May 11, 2020
@Tk-Glitch
Copy link
Member

Built myself a few kernels with GCC10 to try (5.6.y, 5.7rc4 and 5.7rc5) and sure enough none of them boots. Considering only 5.7rc5 got some actual GCC10 fixes/workaround so far I would simply avoid using GCC10 for now.

@Tk-Glitch Tk-Glitch added the upstream Not directly related to this repo label May 11, 2020
@HougeLangley
Copy link
Author

Thanks

@Tk-Glitch
Copy link
Member

I got more data convincing me that the kernel is not yet in shape for GCC10. There are pending fixes coming our way. I'll be testing a few things to hopefully get rid of the huge blocker, at least.

@HougeLangley
Copy link
Author

Thanks, I will try

@HougeLangley
Copy link
Author

Working, Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Not directly related to this repo
Projects
None yet
Development

No branches or pull requests

2 participants