| Summary: | /usr/bin/as deprecation warning from BZ233611 & r350518 breaks GNU assembler detection in cmake | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Dave Cottlehuber <dch> |
| Component: | gnu | Assignee: | Ed Maste <emaste> |
| Status: | Closed FIXED | ||
| Severity: | Affects Some People | CC: | kde |
| Priority: | --- | ||
| Version: | CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Dave Cottlehuber
2020-05-18 15:23:36 UTC
A commit references this bug: Author: emaste Date: Mon May 18 16:07:14 UTC 2020 New revision: 361218 URL: https://svnweb.freebsd.org/changeset/base/361218 Log: GNU as: move deprecation message after option parsing Some cmake test parses the output of the first line of as --version, and emits an error if it does not contain some expected strings: Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)" Emit the deprecation message later, after parsing argv and thus --version. PR: 246540 Reported by: dch Sponsored by: The FreeBSD Foundation Changes: head/contrib/binutils/gas/as.c Note that GNU as will be removed, probably at the end of May (depending on the exp-run in PR 205250) so we'll need to add a binutils dependency to this port, if it actually needs GNU as. Most likely: BUILD_DEPENDS+= as:devel/binutils dch confirms this addresses the immediate issue |