| Summary: | [math/gmp] v6.2.1 does not compile on an armv7 host | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Bertrand Petit <bsdpr> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed Not A Bug | ||
| Severity: | Affects Only Me | CC: | bsdpr |
| Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(ale) |
| Version: | Latest | ||
| Hardware: | arm | ||
| OS: | Any | ||
| Attachments: | |||
|
Description
Bertrand Petit
2021-12-09 04:49:52 UTC
Created attachment 229986 [details]
Build log with the CPU_OPTS knob enabled
Created attachment 229987 [details]
Build log with the CPU_OPTS knob disabled
Created attachment 229990 [details]
Build log with the CPU_OPTS knob enabled (including error messages)
Created attachment 229991 [details]
Build log with the CPU_OPTS knob disabled (including error messages)
Is the compiler gcc 4.x? The compiler is the base clang, no other compiler is installed. cc --version FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: armv6-unknown-freebsd12.3-gnueabihf Thread model: posix InstalledDir: /usr/bin The issue was caused by a discrepancy between userland (uname -p gave armv7) and base clang default target (armv6). I don't know how I ended up with such a mix. I completely reinstalled this host, the issue if now gone. |