Summary: | sys-boot/colo calls cc directly | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | MIPS Porters <mips> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/27392 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2020-05-28 07:31:00 UTC
Created attachment 642312 [details]
build.log
build log and emerge --info
colo (Cobalt Loader) is a small bootloader for old Cobalt RaQ2/Qube2 systems and any issues arising from an attempt to build on any non-MIPS arch is completely invalid. These systems are not really even supported anymore due to limited resources (they max out at 256MB EDO RAM), so I don't know if modern GCC or even clang could compile on them. I have a Qube2 in the closet that I may one day try to resurrect, but I would advise that no one hold their breath waiting. FWIW, the bug is not invalid. The package shouldn't call cc directly. (In reply to Matt Turner from comment #3) > FWIW, the bug is not invalid. The package shouldn't call cc directly. Yep. One might want to pass a different GCC version or similar. Then I'll wait for someone to roll a patch, as this is really far down on my list of priorities at the moment, seeing as I don't even have a working install on cobalt at the moment. That said, the "invalid" marking was more because of the attempt to compile a MIPS bootloader on a non-MIPS arch (amd64) and encountering a problem. Bootloaders are that one class of software that should generally be compiled on the arch they're intended to run on, not by a cross-arch. This only got picked up because of a bug in Agostino's script that was ignoring KEYWORDS="-* <arch>" syntax and attempting to compile such packages. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab01827fd31a515c45f449e8b83a00c30945c669 commit ab01827fd31a515c45f449e8b83a00c30945c669 Author: matoro <matoro@users.noreply.github.com> AuthorDate: 2022-09-22 02:51:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-08 17:09:15 +0000 sys-boot/colo: remove direct calls to toolchain components Closes: https://bugs.gentoo.org/725846 Closes: https://github.com/gentoo/gentoo/pull/27392 Signed-off-by: Sam James <sam@gentoo.org> sys-boot/colo/colo-1.22.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) |