From 96a4704738d3e21da1102fb92bc791fcae3ee31d Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Fri, 20 Nov 2015 05:34:11 +0100 Subject: [PATCH] DOC: some problems when building with GCC-5 --- doc/user/tutorials/building.txt | 16 +- wiki/thinkPad.ichthyo.mm | 280 +++++++++++++++++++++++++++----- 2 files changed, 249 insertions(+), 47 deletions(-) diff --git a/doc/user/tutorials/building.txt b/doc/user/tutorials/building.txt index 4f952f2c2..15e418d7b 100644 --- a/doc/user/tutorials/building.txt +++ b/doc/user/tutorials/building.txt @@ -62,7 +62,12 @@ The GUI depends on the following: * link:http://cgit.freedesktop.org/xorg/lib/libXv[libXv] * link:https://wiki.gnome.org/LibRsvg[lib rSVG] * link:https://git.gnome.org/browse/gdl[lib GDL] - + +CAUTION: there are known problems with *GCC-5.x* as of 11/2015 + + on recent distributions (Ubuntu/wily, Debian/stretch) you might + encounter failing tests.footnote:[these problems aren't really serious; + basically we're sometimes checking mangled class/type names, and seemingly + the mangling behaviour of GCC has changed slightly. We're working on that...] TIP: Generally speaking, when you want to build software, you'll need the _development_ version of the packages that contain the headers and pre-built @@ -79,11 +84,14 @@ libgavl-dev libgtkmm-3.0-dev libgdl-3-dev librsvg2-dev libxv-dev Ubuntu note:: some people reported you need to install the `intltool` package from the standard Ubuntu repository (for this reason it is included in the above collection) -Mint-17.2 (Rafaela) and Ubuntu 12.LTS note:: - We really need the gcc-4.9, so building on these platforms is a bit tricky. See our +Mint-17.2 (Rafaela) and Ubuntu 12.LTS:: + we really need the gcc-4.9, so building on these platforms is a bit tricky. See our link:{ldoc}/technical/howto/backporting.html#_building_on_mint_17_2_rafaela_8201_8212_8201_gcc_and_libstdc_4_9[»Backporting«] page for detailed info... - +GCC-5.0:: + we're aware of some changes in mangled names (or type-IDs), which cause some tests to fail. + Other than that, compilation worked for us. + Build Directory diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index 492b03791..fdfca65cd 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -2669,8 +2669,7 @@ nochmal gegenchecken

- - + @@ -2689,8 +2688,7 @@ Ich meine also: zu Beginn vom Build sollte das Buildsystem einmal eine Infozeile ausgeben

- - + @@ -2702,13 +2700,55 @@ ...denn die stören jeweils beim erzeugen eines Hotfix/Patch im Paketbau per dpkg --commit

+
+
+ + + + + + + + + + + + + + + +

+ deprecated: auto_ptr +

+ +
+ +
+ + + + + + +

+ Tests mit TypeIDs scheitern +

+
+ +
+ +
+ + - - + + + + @@ -2718,7 +2758,8 @@ Doku durchkämmen nach Müll

-
+ + @@ -2764,7 +2805,7 @@
- + @@ -2774,7 +2815,8 @@ knappe Kennzeichnung des Releases in den Kommentar

-
+ + @@ -2782,7 +2824,7 @@ - + @@ -2801,7 +2843,8 @@ denn wir wollen keine DEB-Info im Master haben!

-
+ + @@ -2812,7 +2855,7 @@ - + @@ -2825,7 +2868,8 @@ die unmittelbaren Release-Dokumente durchgehen

-
+ + @@ -2839,7 +2883,7 @@ - + @@ -2852,7 +2896,8 @@ Sollte konfliktfrei sein

-
+ +
@@ -2875,7 +2920,7 @@
- + @@ -2885,12 +2930,16 @@ ...das heißt bauen und hochladen

-
+ + - + - + + + + @@ -2900,8 +2949,7 @@ Referenz: Debian/Jessie (stable) : i386 and x86_64

- -
+ @@ -2915,26 +2963,152 @@ Probleme mit der Compile-Reihenfolge  #973

- - +
- + + + + + - - - + + + + + + + + + + + +

+ ...führt sowohl eine README, alsauch ein Verzeichnis /usr/share/doc/lumiera/html auf, das (noch) nicht existiert +

+

+ unter Debian/Jessie wird das ignoriert +

+ +
+
+ + + + + + +

+ stelle fest: Fehler auf Trusty, +

+

+ nur Warnung auf Mint +

+ +
+ + + + + +

+ das heißt, daß ich versuchen kann, das Problem erst mal "unter den Teppich zu kehren" +

+

+ Die Wahrscheinlichkeit, daß irgend jemand Lumiera unter Ubuntu/Trusty installieren möchte, erscheint mir akademisch +

+ +
+ +
+
+
+ - + + + + + + + + +

+ bauen mit gcc-5 scheitert +

+ +
+ +
+ + + + + + + + + +

+ in lib/hash-standard.hpp +

+ +
+
+ + + + + + +

+ mit gcc-5 gebaute Tests scheitern +

+ + +
+ +
+ + + + + + +

+ bauen mit gcc-4.9 nicht möglich +

+ + +
+ + + + + +

+ es gibt Probleme beim Linken mit den Boost-Libraries, die auf Ubuntu/wily mit gcc-5 gebaut sind. +

+ + +
+ +
+ + + + + + @@ -2945,26 +3119,16 @@

- +
- - - - - - - -

- totmachen: Debian/Wheezy (stable) : i386 and x86_64 deprecated: to be discontinued -

- -
- + + + + - @@ -3009,6 +3173,36 @@ + + + + + + + + +

+ Ticket #722 +

+ +
+
+ + + + + + +

+ seit gcc-4.8 ist kein static_assert mehr in der STDlib +

+ +
+
+ + + +