[OpenSIPS-Devel] [OpenSIPS/opensips] 4e00d0: build system: Add special handling for gcc 7.2
Liviu Chircu
liviu at opensips.org
Tue Oct 16 06:06:29 EDT 2018
Branch: refs/heads/2.3
Home: https://github.com/OpenSIPS/opensips
Commit: 4e00d0e61d6dd61fe65971107ad8fbe1754d2a9b
https://github.com/OpenSIPS/opensips/commit/4e00d0e61d6dd61fe65971107ad8fbe1754d2a9b
Author: Liviu Chircu <liviu at opensips.org>
Date: 2018-10-16 (Tue, 16 Oct 2018)
Changed paths:
M Makefile.defs
Log Message:
-----------
build system: Add special handling for gcc 7.2
It appears that gcc's "-dumpversion" behaves differently in 7.2
than in previous versions, due to "-dumpfullversion" being introduced.
$ gcc -dumpversion
7
$ gcc -dumpfullversion
7.2.0
This breaks compilation on systems such as Xubuntu 17.10 with:
Makefile.defs:930: You are using an old and unsupported gcc version
(7), compile at your own risk!
This backwards-incompatible change seems to have been reverted in 7.3+,
though, where the full version is once again being dumped:
$ gcc -dumpversion
7.3.0
$ gcc -dumpfullversion
7.3.0
(cherry picked from commit 79418dce9b14754bf15285b7d72b93513c5c93cd)
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Devel
mailing list