Summary: | Mk/Uses/compiler.mk fails to add GCC dependency on 11.2 MIPS64 with USES=compiler:c11 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Matthias Andree <mandree> |
Component: | Ports Framework | Assignee: | Port Management Team <portmgr> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Some People | CC: | chalpin, mips, pkubaj, portmgr, ports-bugs, tcberner |
Priority: | --- | Flags: | mandree:
maintainer-feedback?
(portmgr) |
Version: | Latest | ||
Hardware: | mips | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249010 |
Description
Matthias Andree
![]() ![]() (In reply to Matthias Andree from comment #0) This is because lang/gcc9/Makefile has: 16 ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 sparc64 But then I'll maintain that compiler.mk needs to pick a compiler that is available on MIPS. (In reply to Matthias Andree from comment #2) True, but there's no C11 compiler either in base or in ports available for mips64. AFAIK there's work in head for porting clang (kevans may know more). Piotr, it appears you chose C11 for fetchmail because that magically picks GCC on powerpc64, but fetchmail with FreeBSD patches is C99 code and does not require C11. The bug I am reporting must be resolved: The framework must not choose an unavailable compiler and sacrifice the port builds, but needs to weasel out early in that case so that the *real* issue will be reported ("no C11 compiler for MIPS") rather than "euh can't fetch GCC at build time because poudriere doesn't permit fetches after the fetch stage" or similar. Moin moin Closing this due to old age. Please re-open if it is still an relevant. mfg Tobias |