Dmitry Morozovsky
2014-Jan-30 09:50 UTC
building stable/8 on stable/10 host: is it supported?
Colleagues, looking into troubles with my builder I found more things: while on stable/9 host, it seamlessly builds all stable versions from 10 to 6. stable/4 had to be built in stable/6 jail Now, after upgrade builder host system to stable/10, I can no longer build stable/8 and older (this in on fresh stable/10 jail, without /usr/obj *and* without -j, which prevents from succeeding upgrade_checks): c++ -O2 -pipe -I/usr/obj/FreeBSD/src.8/tmp/legacy/usr/include -I/FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/FreeBSD/src.8/gnu/usr.bin/gperf -c /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:165:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) ^ /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:39:22: note: expanded from macro 'for' #define for if (0) ; else for ^ /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:417:15: warning: add explicit braces to avoid dangling else [-Wdangling-else] for (int i3 = imax; i3 >= 0; i3--) ^ /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:39:22: note: expanded from macro 'for' #define for if (0) ; else for ^ /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:415:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] for (int i2 = imax; i2 >= -1; i2--) ^ /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:39:22: note: expanded from macro 'for' #define for if (0) ; else for ^ /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:1638:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] for (unsigned int c = 0; c < _alpha_size; c++) ^ /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:39:22: note: expanded from macro 'for' #define for if (0) ; else for ^ 4 warnings generated. c++ -O2 -pipe -I/usr/obj/FreeBSD/src.8/tmp/legacy/usr/include -I/FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/FreeBSD/src.8/gnu/usr.bin/gperf -c /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/version.cc c++ -O2 -pipe -I/usr/obj/FreeBSD/src.8/tmp/legacy/usr/include -I/FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/FreeBSD/src.8/gnu/usr.bin/gperf -c /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib/getline.cc c++ -O2 -pipe -I/usr/obj/FreeBSD/src.8/tmp/legacy/usr/include -I/FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/FreeBSD/src.8/gnu/usr.bin/gperf -c /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib/hash.cc make: don't know how to make /usr/lib/libstdc++.a. Stop *** Error code 2 Stop in /FreeBSD/src.8. *** Error code 1 Stop in /FreeBSD/src.8. *** Error code 1 Stop. make: stopped in /FreeBSD/src.8 Thoughts? Thanks! -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck at FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru *** ------------------------------------------------------------------------
Erich Dollansky
2014-Jan-30 09:53 UTC
building stable/8 on stable/10 host: is it supported?
On Thu, 30 Jan 2014 13:50:14 +0400 (MSK) Dmitry Morozovsky <marck at rinet.ru> wrote:> Colleagues, > > looking into troubles with my builder I found more things: > > while on stable/9 host, it seamlessly builds all stable versions from > 10 to 6. stable/4 had to be built in stable/6 jail > > Now, after upgrade builder host system to stable/10, I can no longer > build stable/8 and older (this in on fresh stable/10 jail, > without /usr/obj *and* without -j, which prevents from succeeding > upgrade_checks): > > c++ -O2 -pipe -I/usr/obj/FreeBSD/src.8/tmp/legacy/usr/include > -I/FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/FreeBSD/src.8/gnu/usr.bin/gperf -c > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:165:5: > warning: add explicit braces to avoid dangling else > [-Wdangling-else] > for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) > ^ > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:39:22: > note: expanded from macro 'for' > #define for if (0) ; else for > ^ > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:417:15: > warning: add explicit braces to avoid dangling else > [-Wdangling-else] > for (int i3 = imax; i3 >= 0; i3--) > ^ > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:39:22: > note: expanded from macro 'for' > #define for if (0) ; else for > ^ > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:415:11: > warning: add explicit braces to avoid dangling else > [-Wdangling-else] > for (int i2 = imax; i2 >= -1; i2--) > ^ > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:39:22: > note: expanded from macro 'for' > #define for if (0) ; else for > ^ > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:1638:5: > warning: add explicit braces to avoid dangling else > [-Wdangling-else] > for (unsigned int c = 0; c < _alpha_size; c++) > ^ > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/search.cc:39:22: > note: expanded from macro 'for' > #define for if (0) ; else for > ^ > 4 warnings generated. > c++ -O2 -pipe -I/usr/obj/FreeBSD/src.8/tmp/legacy/usr/include > -I/FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/FreeBSD/src.8/gnu/usr.bin/gperf -c > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/src/version.cc > c++ -O2 -pipe -I/usr/obj/FreeBSD/src.8/tmp/legacy/usr/include > -I/FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/FreeBSD/src.8/gnu/usr.bin/gperf -c > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib/getline.cc > c++ -O2 -pipe -I/usr/obj/FreeBSD/src.8/tmp/legacy/usr/include > -I/FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/FreeBSD/src.8/gnu/usr.bin/gperf -c > /FreeBSD/src.8/gnu/usr.bin/gperf/../../../contrib/gperf/lib/hash.cc > make: don't know how to make /usr/lib/libstdc++.a. Stop > *** Error code 2 > > Stop in /FreeBSD/src.8. > *** Error code 1 > > Stop in /FreeBSD/src.8. > *** Error code 1 > > Stop. > make: stopped in /FreeBSD/src.8 >are you using gcc? 10 uses normally clang. Erich