Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (c27475c269117e3f40a88b2e700f7b9e48355947)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (c27475c269117e3f40a88b2e700f7b9e48355947)
  • Date: Sat, 2 May 2015 21:17:38 -0500

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

gnu/gcc/HISTORY | 6 +++++-
gnu/gcc/UP_TRIGGERS | 13 ++++++++++---
2 files changed, 15 insertions(+), 4 deletions(-)

New commits:
commit c27475c269117e3f40a88b2e700f7b9e48355947
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

gnu/gcc: added a trigger for C++ ABI changes in major releases

diff --git a/gnu/gcc/HISTORY b/gnu/gcc/HISTORY
index 84272ef..2b59ff1 100644
--- a/gnu/gcc/HISTORY
+++ b/gnu/gcc/HISTORY
@@ -1,4 +1,8 @@
-2015-04-22 Pavel Vinogradov <public AT sourcemage.org>
+2015-05-02 Pavel Vinogradov <public AT sourcemage.org>
+ * UP_TRIGGERS: added clumsy migration mechanism for C++ ABI
+ changes on major version update
+
+2015-04-22 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 5.1.0, updated isl version to 0.14, removed
cloog sources
* PRE_BUILD: removed cloog sources unpacking and
diff --git a/gnu/gcc/UP_TRIGGERS b/gnu/gcc/UP_TRIGGERS
index b9d7a63..dfe1d7a 100755
--- a/gnu/gcc/UP_TRIGGERS
+++ b/gnu/gcc/UP_TRIGGERS
@@ -1,12 +1,19 @@
-# recast the split compiler spells on a gcc version update, see bug #9813
-
local OLD_SPELL_VERSION=""
spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
if [ "$VERSION" != "$OLD_SPELL_VERSION" ]; then
+ # recast the split compiler spells on a gcc version update, see bug #9813
# this includes g77 for the upgrade from 3.4.x to 4.x compilers
for each in ada fortran g++ g77 gcj objc; do
if spell_ok $each; then
up_trigger $each cast_self
fi
- done
+ done &&
+
+ # for C++ ABI change in 5.1 and, probably, for each major version change
too
+ if [[ ${OLD_SPELL_VERSION:0:1} != ${VERSION:0:1} ]]; then
+ for each in $(grep "gcc:CXX" "$SUB_DEPENDS_STATUS" | cut -f1 -d:); do
+ if spell_ok $each; then
+ up_trigger $each cast_self
+ done
+ fi
fi



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (c27475c269117e3f40a88b2e700f7b9e48355947), Pavel Vinogradov, 05/02/2015

Archive powered by MHonArc 2.6.24.

Top of Page