Summary: | sys-boot/grub-2.12-r5 with clang and musl/llvm profile: error: invalid argument '-mcmodel=large' only allowed with '-fno-pic' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Winter <gentoo> |
Component: | Current packages | Assignee: | Mike Gilbert <floppym> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | base-system, gentoo, llvm, musl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Winter
2024-11-03 21:05:49 UTC
Build log (too big for Bugzilla): hxxps://gist.github.com/winterqt/1cfced103e2c87b7e382d48341c7241d Please compress the build log and attach it. Created attachment 907826 [details]
Build log
This config is too exotic for me to look into. Patches welcome. Is there a way for me to test this build config while using e.g. a GCC/glibc profile (so I can actually install GRUB on my machine)? If so, happy to try and fix. Fix is likely just to filter-flags, but I want to test what component is actually causing it (I'm guessing the combination of both LLVM and musl profiles), and I'm not sure how to easily do that while having a separate profile on my machine -- a container or chroot, maybe? A container or chroot seems like a good plan. |