From flashbootlist at itmon.nl Tue May 3 19:23:55 2011 From: flashbootlist at itmon.nl (flashbootlist at itmon.nl) Date: Tue, 03 May 2011 11:23:55 +0200 Subject: [flashboot] Flashboot still possible with 4.9 Message-ID: Dear List, My home firewall runs on an Alix system with a flashboot OpenBSD 4.6. I haven't upgraded since and I thought now with the release of 4.9 it made sence to build a new flashboot. I installed a virtualbox with 4.9; downloaded the latest flashboot scripts (2010-12-24) and executed build-release as stated in the README. This has worked for me with 4.6 without problems. But now the building seams to fail on "libstdc++-v3" Has anyone succesfully build a 4.9 FlashBoot image? Is this still possible? Mark ===> libstdc++-v3 c++ -O2 -pipe -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++-v3/../libstdc++-v3/ -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. -frandom-seed=RepeatabilityConsideredGood -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++-v3 -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. -frandom-seed=RepeatabilityConsideredGood -fno-implicit-templates -ffunction-sections -fdata-sections -Wno-deprecated -fno-implicit-templates -ffunction-sections -fdata-sections -Wno-deprecated -idirafter /root/flashboot/flash-dist/usr/include/g++ -nostdinc -idirafter /root/flashboot/flash-dist/usr/include -c /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc -o bitmap_allocator.o In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo cator.h:37, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc :30: /root/flashboot/flash-dist/usr/include/g++/cstddef:50:28: error: bits/c++config.h: No such file or directory In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo cator.h:43, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc :30: /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/concurrence .h:41:24: error: bits/gthr.h: No such file or directory In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo cator.h:37, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc :30: /root/flashboot/flash-dist/usr/include/g++/cstddef:53: error: expected constructor, destructor, or type conversion before '(' token /root/flashboot/flash-dist/usr/include/g++/cstddef:58: error: '_GLIBCXX_END_NAMESPACE' does not name a type In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo cator.h:38, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc :30: /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/functexcep t.h:93: error: '_GLIBCXX_END_NAMESPACE' does not name a type In file included from /root/flashboot/flash-dist/usr/include/g++/utility:66, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo cator.h:39, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc :30: /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_relops .h:136: error: '_GLIBCXX_END_NAMESPACE' does not name a type In file included from /root/flashboot/flash-dist/usr/include/g++/utility:67, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo cator.h:39, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc :30: /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :94: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :96: error: expected ',' or '...' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :96: error: 'bool operator==(int)' must have an argument of class or enumerated type /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :100: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :102: error: expected ',' or '...' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :102: error: 'bool operator<(int)' must have an argument of class or enumerated type /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :107: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :109: error: expected ',' or '...' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :109: error: 'bool operator!=(int)' must have an argument of class or enumerated type /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :113: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :115: error: expected ',' or '...' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :115: error: 'bool operator>(int)' must have an argument of class or enumerated type /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :119: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :121: error: expected ',' or '...' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :121: error: 'bool operator<=(int)' must have an argument of class or enumerated type /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :125: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :127: error: expected ',' or '...' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :127: error: 'bool operator>=(int)' must have an argument of class or enumerated type /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :142: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :143: error: expected initializer before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h :147: error: '_GLIBCXX_END_NAMESPACE' does not name a type In file included from /root/flashboot/flash-dist/usr/include/g++/functional:55, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo cator.h:40, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc :30: /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:113: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:133: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:142: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:151: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:160: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:169: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:178: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:179: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:179: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:179: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:195: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:204: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:213: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:222: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:231: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:240: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:256: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:265: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:274: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:275: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:275: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:275: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:311: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:313: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:313: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:313: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:327: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:333: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:353: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:391: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:393: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:393: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:393: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:416: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:425: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:427: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:427: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:427: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:450: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:480: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:481: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:481: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:481: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:498: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:504: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:523: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:529: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:530: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:530: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:530: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:541: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:542: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:542: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:542: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:554: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:555: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:555: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:555: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:582: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:583: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:583: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:583: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:598: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:599: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:599: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:599: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:614: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:615: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:615: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:615: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:630: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:631: error: expected template-name before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:631: error: expected `{' before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:631: error: expected unqualified-id before '<' token /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:646: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:662: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:678: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:694: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:711: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:716: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:721: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:726: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:731: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:736: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:741: error: template with C linkage /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi on.h:746: error: template with C linkage In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/new:45, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo cator.h:41, from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc :30: /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:40: error: '#pragma' is not allowed here /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:133 : error: expected declaration before end of line *** Error code 1 Stop in /usr/src/gnu/lib/libstdc++-v3 (line 104 of /usr/share/mk/sys.mk). *** Error code 1 Stop in /usr/src/gnu/lib (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 74 of Makefile). From stu at spacehopper.org Tue May 3 19:35:01 2011 From: stu at spacehopper.org (Stuart Henderson) Date: Tue, 3 May 2011 10:35:01 +0100 Subject: [flashboot] Flashboot still possible with 4.9 In-Reply-To: References: Message-ID: <20110503093501.GV17875@symphytum.spacehopper.org> It is possible but you need to do things a different way. Use a chroot jail rather than DESTDIR which no longer works. See the list archives for more info On 2011/05/03 11:23, flashbootlist at itmon.nl wrote: > Dear List, > > My home firewall runs on an Alix system with a flashboot OpenBSD 4.6. > I haven't upgraded since and I thought now with the release of 4.9 it > made sence to build a new flashboot. > > I installed a virtualbox with 4.9; downloaded the latest flashboot > scripts (2010-12-24) and executed build-release as stated in the > README. This has worked for me with 4.6 without problems. But now the > building seams to fail on "libstdc++-v3" > > Has anyone succesfully build a 4.9 FlashBoot image? Is this still possible? > > Mark > > ===> libstdc++-v3 > c++ -O2 -pipe -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H > -I/usr/src/gnu/lib/libstdc++-v3/../libstdc++-v3/ > -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ > -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc > -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include > -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. > -frandom-seed=RepeatabilityConsideredGood -DIN_GLIBCPP_V3 > -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++-v3 > -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ > -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc > -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include > -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. > -frandom-seed=RepeatabilityConsideredGood -fno-implicit-templates > -ffunction-sections -fdata-sections -Wno-deprecated > -fno-implicit-templates -ffunction-sections -fdata-sections > -Wno-deprecated -idirafter > /root/flashboot/flash-dist/usr/include/g++ -nostdinc -idirafter > /root/flashboot/flash-dist/usr/include -c /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > -o bitmap_allocator.o > In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > cator.h:37, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > :30: > /root/flashboot/flash-dist/usr/include/g++/cstddef:50:28: error: > bits/c++config.h: No such file or directory > In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > cator.h:43, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > :30: > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/concurrence > .h:41:24: error: bits/gthr.h: No such file or directory > In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > cator.h:37, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > :30: > /root/flashboot/flash-dist/usr/include/g++/cstddef:53: error: > expected constructor, destructor, or type conversion before '(' token > /root/flashboot/flash-dist/usr/include/g++/cstddef:58: error: > '_GLIBCXX_END_NAMESPACE' does not name a type > In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > cator.h:38, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > :30: > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/functexcep > t.h:93: error: '_GLIBCXX_END_NAMESPACE' does not name a type > In file included from /root/flashboot/flash-dist/usr/include/g++/utility:66, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > cator.h:39, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > :30: > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_relops > .h:136: error: '_GLIBCXX_END_NAMESPACE' does not name a type > In file included from /root/flashboot/flash-dist/usr/include/g++/utility:67, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > cator.h:39, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > :30: > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :94: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :96: error: expected ',' or '...' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :96: error: 'bool operator==(int)' must have an argument of class or > enumerated type > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :100: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :102: error: expected ',' or '...' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :102: error: 'bool operator<(int)' must have an argument of class or > enumerated type > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :107: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :109: error: expected ',' or '...' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :109: error: 'bool operator!=(int)' must have an argument of class or > enumerated type > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :113: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :115: error: expected ',' or '...' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :115: error: 'bool operator>(int)' must have an argument of class or > enumerated type > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :119: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :121: error: expected ',' or '...' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :121: error: 'bool operator<=(int)' must have an argument of class or > enumerated type > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :125: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :127: error: expected ',' or '...' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :127: error: 'bool operator>=(int)' must have an argument of class or > enumerated type > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :142: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :143: error: expected initializer before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > :147: error: '_GLIBCXX_END_NAMESPACE' does not name a type > In file included from > /root/flashboot/flash-dist/usr/include/g++/functional:55, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > cator.h:40, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > :30: > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:113: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:133: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:142: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:151: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:160: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:169: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:178: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:179: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:179: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:179: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:195: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:204: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:213: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:222: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:231: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:240: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:256: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:265: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:274: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:275: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:275: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:275: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:311: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:313: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:313: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:313: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:327: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:333: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:353: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:391: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:393: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:393: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:393: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:416: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:425: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:427: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:427: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:427: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:450: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:480: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:481: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:481: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:481: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:498: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:504: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:523: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:529: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:530: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:530: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:530: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:541: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:542: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:542: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:542: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:554: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:555: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:555: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:555: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:582: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:583: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:583: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:583: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:598: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:599: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:599: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:599: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:614: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:615: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:615: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:615: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:630: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:631: error: expected template-name before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:631: error: expected `{' before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:631: error: expected unqualified-id before '<' token > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:646: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:662: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:678: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:694: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:711: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:716: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:721: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:726: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:731: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:736: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:741: error: template with C linkage > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > on.h:746: error: template with C linkage > In file included from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/new:45, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > cator.h:41, > from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > :30: > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:40: > error: '#pragma' is not allowed here > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:133 > : error: expected declaration before end of line > *** Error code 1 > > Stop in /usr/src/gnu/lib/libstdc++-v3 (line 104 of /usr/share/mk/sys.mk). > *** Error code 1 > > Stop in /usr/src/gnu/lib (line 48 of /usr/share/mk/bsd.subdir.mk). > *** Error code 1 > > Stop in /usr/src (line 74 of Makefile). > > _______________________________________________ > flashboot mailing list > flashboot at mindrot.org > https://lists.mindrot.org/mailman/listinfo/flashboot From rd at tilde.se Tue May 3 23:16:33 2011 From: rd at tilde.se (Rickard Dahlstrand) Date: Tue, 3 May 2011 15:16:33 +0200 Subject: [flashboot] Flashboot still possible with 4.9 In-Reply-To: <20110503093501.GV17875@symphytum.spacehopper.org> References: <20110503093501.GV17875@symphytum.spacehopper.org> Message-ID: Hi Stuart and Mark, I started work on a automated chroot build script, but other stuff got in the way of completing it. Will try to get the time to do it soon. Rickard. 3 maj 2011 kl. 11.35 skrev Stuart Henderson: > It is possible but you need to do things a different way. > Use a chroot jail rather than DESTDIR which no longer works. > See the list archives for more info > > > On 2011/05/03 11:23, flashbootlist at itmon.nl wrote: >> Dear List, >> >> My home firewall runs on an Alix system with a flashboot OpenBSD 4.6. >> I haven't upgraded since and I thought now with the release of 4.9 it >> made sence to build a new flashboot. >> >> I installed a virtualbox with 4.9; downloaded the latest flashboot >> scripts (2010-12-24) and executed build-release as stated in the >> README. This has worked for me with 4.6 without problems. But now the >> building seams to fail on "libstdc++-v3" >> >> Has anyone succesfully build a 4.9 FlashBoot image? Is this still possible? >> >> Mark >> >> ===> libstdc++-v3 >> c++ -O2 -pipe -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H >> -I/usr/src/gnu/lib/libstdc++-v3/../libstdc++-v3/ >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. >> -frandom-seed=RepeatabilityConsideredGood -DIN_GLIBCPP_V3 >> -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++-v3 >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. >> -frandom-seed=RepeatabilityConsideredGood -fno-implicit-templates >> -ffunction-sections -fdata-sections -Wno-deprecated >> -fno-implicit-templates -ffunction-sections -fdata-sections >> -Wno-deprecated -idirafter >> /root/flashboot/flash-dist/usr/include/g++ -nostdinc -idirafter >> /root/flashboot/flash-dist/usr/include -c /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> -o bitmap_allocator.o >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> cator.h:37, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> :30: >> /root/flashboot/flash-dist/usr/include/g++/cstddef:50:28: error: >> bits/c++config.h: No such file or directory >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> cator.h:43, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> :30: >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/concurrence >> .h:41:24: error: bits/gthr.h: No such file or directory >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> cator.h:37, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> :30: >> /root/flashboot/flash-dist/usr/include/g++/cstddef:53: error: >> expected constructor, destructor, or type conversion before '(' token >> /root/flashboot/flash-dist/usr/include/g++/cstddef:58: error: >> '_GLIBCXX_END_NAMESPACE' does not name a type >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> cator.h:38, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> :30: >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/functexcep >> t.h:93: error: '_GLIBCXX_END_NAMESPACE' does not name a type >> In file included from /root/flashboot/flash-dist/usr/include/g++/utility:66, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> cator.h:39, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> :30: >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_relops >> .h:136: error: '_GLIBCXX_END_NAMESPACE' does not name a type >> In file included from /root/flashboot/flash-dist/usr/include/g++/utility:67, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> cator.h:39, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> :30: >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :94: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :96: error: expected ',' or '...' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :96: error: 'bool operator==(int)' must have an argument of class or >> enumerated type >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :100: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :102: error: expected ',' or '...' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :102: error: 'bool operator<(int)' must have an argument of class or >> enumerated type >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :107: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :109: error: expected ',' or '...' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :109: error: 'bool operator!=(int)' must have an argument of class or >> enumerated type >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :113: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :115: error: expected ',' or '...' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :115: error: 'bool operator>(int)' must have an argument of class or >> enumerated type >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :119: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :121: error: expected ',' or '...' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :121: error: 'bool operator<=(int)' must have an argument of class or >> enumerated type >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :125: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :127: error: expected ',' or '...' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :127: error: 'bool operator>=(int)' must have an argument of class or >> enumerated type >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :142: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :143: error: expected initializer before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> :147: error: '_GLIBCXX_END_NAMESPACE' does not name a type >> In file included from >> /root/flashboot/flash-dist/usr/include/g++/functional:55, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> cator.h:40, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> :30: >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:113: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:133: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:142: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:151: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:160: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:169: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:178: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:179: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:179: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:179: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:195: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:204: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:213: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:222: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:231: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:240: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:256: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:265: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:274: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:275: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:275: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:275: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:311: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:313: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:313: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:313: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:327: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:333: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:353: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:391: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:393: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:393: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:393: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:416: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:425: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:427: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:427: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:427: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:450: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:480: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:481: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:481: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:481: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:498: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:504: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:523: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:529: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:530: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:530: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:530: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:541: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:542: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:542: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:542: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:554: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:555: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:555: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:555: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:582: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:583: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:583: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:583: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:598: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:599: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:599: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:599: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:614: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:615: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:615: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:615: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:630: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:631: error: expected template-name before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:631: error: expected `{' before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:631: error: expected unqualified-id before '<' token >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:646: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:662: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:678: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:694: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:711: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:716: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:721: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:726: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:731: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:736: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:741: error: template with C linkage >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> on.h:746: error: template with C linkage >> In file included from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/new:45, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> cator.h:41, >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> :30: >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:40: >> error: '#pragma' is not allowed here >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:133 >> : error: expected declaration before end of line >> *** Error code 1 >> >> Stop in /usr/src/gnu/lib/libstdc++-v3 (line 104 of /usr/share/mk/sys.mk). >> *** Error code 1 >> >> Stop in /usr/src/gnu/lib (line 48 of /usr/share/mk/bsd.subdir.mk). >> *** Error code 1 >> >> Stop in /usr/src (line 74 of Makefile). >> >> _______________________________________________ >> flashboot mailing list >> flashboot at mindrot.org >> https://lists.mindrot.org/mailman/listinfo/flashboot > _______________________________________________ > flashboot mailing list > flashboot at mindrot.org > https://lists.mindrot.org/mailman/listinfo/flashboot From james.records at gmail.com Wed May 4 00:58:54 2011 From: james.records at gmail.com (James Records) Date: Tue, 3 May 2011 07:58:54 -0700 Subject: [flashboot] Flashboot still possible with 4.9 In-Reply-To: References: <20110503093501.GV17875@symphytum.spacehopper.org> Message-ID: I just got this working with 4.9, I have a script, I'll post it when I get into the office. J On Tue, May 3, 2011 at 6:16 AM, Rickard Dahlstrand wrote: > Hi Stuart and Mark, > > I started work on a automated chroot build script, but other stuff got in > the way of completing it. Will try to get the time to do it soon. > > Rickard. > > 3 maj 2011 kl. 11.35 skrev Stuart Henderson: > > > It is possible but you need to do things a different way. > > Use a chroot jail rather than DESTDIR which no longer works. > > See the list archives for more info > > > > > > On 2011/05/03 11:23, flashbootlist at itmon.nl wrote: > >> Dear List, > >> > >> My home firewall runs on an Alix system with a flashboot OpenBSD 4.6. > >> I haven't upgraded since and I thought now with the release of 4.9 it > >> made sence to build a new flashboot. > >> > >> I installed a virtualbox with 4.9; downloaded the latest flashboot > >> scripts (2010-12-24) and executed build-release as stated in the > >> README. This has worked for me with 4.6 without problems. But now the > >> building seams to fail on "libstdc++-v3" > >> > >> Has anyone succesfully build a 4.9 FlashBoot image? Is this still > possible? > >> > >> Mark > >> > >> ===> libstdc++-v3 > >> c++ -O2 -pipe -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H > >> -I/usr/src/gnu/lib/libstdc++-v3/../libstdc++-v3/ > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. > >> -frandom-seed=RepeatabilityConsideredGood -DIN_GLIBCPP_V3 > >> -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++-v3 > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. > >> -frandom-seed=RepeatabilityConsideredGood -fno-implicit-templates > >> -ffunction-sections -fdata-sections -Wno-deprecated > >> -fno-implicit-templates -ffunction-sections -fdata-sections > >> -Wno-deprecated -idirafter > >> /root/flashboot/flash-dist/usr/include/g++ -nostdinc -idirafter > >> /root/flashboot/flash-dist/usr/include -c > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> -o bitmap_allocator.o > >> In file included from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:37, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> /root/flashboot/flash-dist/usr/include/g++/cstddef:50:28: error: > >> bits/c++config.h: No such file or directory > >> In file included from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:43, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/concurrence > >> .h:41:24: error: bits/gthr.h: No such file or directory > >> In file included from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:37, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> /root/flashboot/flash-dist/usr/include/g++/cstddef:53: error: > >> expected constructor, destructor, or type conversion before '(' token > >> /root/flashboot/flash-dist/usr/include/g++/cstddef:58: error: > >> '_GLIBCXX_END_NAMESPACE' does not name a type > >> In file included from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:38, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/functexcep > >> t.h:93: error: '_GLIBCXX_END_NAMESPACE' does not name a type > >> In file included from > /root/flashboot/flash-dist/usr/include/g++/utility:66, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:39, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_relops > >> .h:136: error: '_GLIBCXX_END_NAMESPACE' does not name a type > >> In file included from > /root/flashboot/flash-dist/usr/include/g++/utility:67, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:39, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :94: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :96: error: expected ',' or '...' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :96: error: 'bool operator==(int)' must have an argument of class or > >> enumerated type > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :100: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :102: error: expected ',' or '...' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :102: error: 'bool operator<(int)' must have an argument of class or > >> enumerated type > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :107: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :109: error: expected ',' or '...' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :109: error: 'bool operator!=(int)' must have an argument of class or > >> enumerated type > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :113: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :115: error: expected ',' or '...' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :115: error: 'bool operator>(int)' must have an argument of class or > >> enumerated type > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :119: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :121: error: expected ',' or '...' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :121: error: 'bool operator<=(int)' must have an argument of class or > >> enumerated type > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :125: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :127: error: expected ',' or '...' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :127: error: 'bool operator>=(int)' must have an argument of class or > >> enumerated type > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :142: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :143: error: expected initializer before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :147: error: '_GLIBCXX_END_NAMESPACE' does not name a type > >> In file included from > >> /root/flashboot/flash-dist/usr/include/g++/functional:55, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:40, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:113: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:133: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:142: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:151: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:160: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:169: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:178: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:179: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:179: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:179: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:195: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:204: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:213: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:222: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:231: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:240: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:256: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:265: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:274: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:275: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:275: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:275: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:311: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:313: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:313: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:313: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:327: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:333: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:353: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:391: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:393: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:393: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:393: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:416: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:425: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:427: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:427: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:427: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:450: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:480: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:481: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:481: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:481: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:498: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:504: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:523: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:529: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:530: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:530: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:530: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:541: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:542: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:542: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:542: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:554: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:555: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:555: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:555: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:582: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:583: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:583: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:583: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:598: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:599: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:599: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:599: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:614: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:615: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:615: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:615: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:630: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:631: error: expected template-name before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:631: error: expected `{' before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:631: error: expected unqualified-id before '<' token > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:646: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:662: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:678: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:694: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:711: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:716: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:721: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:726: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:731: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:736: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:741: error: template with C linkage > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:746: error: template with C linkage > >> In file included from > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/new:45, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:41, > >> from > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:40: > >> error: '#pragma' is not allowed here > >> > /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:133 > >> : error: expected declaration before end of line > >> *** Error code 1 > >> > >> Stop in /usr/src/gnu/lib/libstdc++-v3 (line 104 of /usr/share/mk/sys.mk > ). > >> *** Error code 1 > >> > >> Stop in /usr/src/gnu/lib (line 48 of /usr/share/mk/bsd.subdir.mk). > >> *** Error code 1 > >> > >> Stop in /usr/src (line 74 of Makefile). > >> > >> _______________________________________________ > >> flashboot mailing list > >> flashboot at mindrot.org > >> https://lists.mindrot.org/mailman/listinfo/flashboot > > _______________________________________________ > > flashboot mailing list > > flashboot at mindrot.org > > https://lists.mindrot.org/mailman/listinfo/flashboot > > _______________________________________________ > flashboot mailing list > flashboot at mindrot.org > https://lists.mindrot.org/mailman/listinfo/flashboot > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rd at tilde.se Wed May 4 01:46:58 2011 From: rd at tilde.se (Rickard Dahlstrand) Date: Tue, 3 May 2011 17:46:58 +0200 Subject: [flashboot] Flashboot still possible with 4.9 In-Reply-To: References: <20110503093501.GV17875@symphytum.spacehopper.org> Message-ID: <394553A4-605F-4114-9F33-5427774BA05D@tilde.se> Hi James, I have started something similar, but didn't finish it. Send it over and I'll will try to include it into the dist. Rickard. 3 maj 2011 kl. 16.58 skrev James Records: > I just got this working with 4.9, I have a script, I'll post it when I get into the office. > > J > > On Tue, May 3, 2011 at 6:16 AM, Rickard Dahlstrand wrote: > Hi Stuart and Mark, > > I started work on a automated chroot build script, but other stuff got in the way of completing it. Will try to get the time to do it soon. > > Rickard. > > 3 maj 2011 kl. 11.35 skrev Stuart Henderson: > > > It is possible but you need to do things a different way. > > Use a chroot jail rather than DESTDIR which no longer works. > > See the list archives for more info > > > > > > On 2011/05/03 11:23, flashbootlist at itmon.nl wrote: > >> Dear List, > >> > >> My home firewall runs on an Alix system with a flashboot OpenBSD 4.6. > >> I haven't upgraded since and I thought now with the release of 4.9 it > >> made sence to build a new flashboot. > >> > >> I installed a virtualbox with 4.9; downloaded the latest flashboot > >> scripts (2010-12-24) and executed build-release as stated in the > >> README. This has worked for me with 4.6 without problems. But now the > >> building seams to fail on "libstdc++-v3" > >> > >> Has anyone succesfully build a 4.9 FlashBoot image? Is this still possible? > >> > >> Mark > >> > >> ===> libstdc++-v3 > >> c++ -O2 -pipe -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H > >> -I/usr/src/gnu/lib/libstdc++-v3/../libstdc++-v3/ > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. > >> -frandom-seed=RepeatabilityConsideredGood -DIN_GLIBCPP_V3 > >> -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++-v3 > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include > >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. > >> -frandom-seed=RepeatabilityConsideredGood -fno-implicit-templates > >> -ffunction-sections -fdata-sections -Wno-deprecated > >> -fno-implicit-templates -ffunction-sections -fdata-sections > >> -Wno-deprecated -idirafter > >> /root/flashboot/flash-dist/usr/include/g++ -nostdinc -idirafter > >> /root/flashboot/flash-dist/usr/include -c /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> -o bitmap_allocator.o > >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:37, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> /root/flashboot/flash-dist/usr/include/g++/cstddef:50:28: error: > >> bits/c++config.h: No such file or directory > >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:43, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/concurrence > >> .h:41:24: error: bits/gthr.h: No such file or directory > >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:37, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> /root/flashboot/flash-dist/usr/include/g++/cstddef:53: error: > >> expected constructor, destructor, or type conversion before '(' token > >> /root/flashboot/flash-dist/usr/include/g++/cstddef:58: error: > >> '_GLIBCXX_END_NAMESPACE' does not name a type > >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:38, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/functexcep > >> t.h:93: error: '_GLIBCXX_END_NAMESPACE' does not name a type > >> In file included from /root/flashboot/flash-dist/usr/include/g++/utility:66, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:39, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_relops > >> .h:136: error: '_GLIBCXX_END_NAMESPACE' does not name a type > >> In file included from /root/flashboot/flash-dist/usr/include/g++/utility:67, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:39, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :94: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :96: error: expected ',' or '...' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :96: error: 'bool operator==(int)' must have an argument of class or > >> enumerated type > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :100: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :102: error: expected ',' or '...' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :102: error: 'bool operator<(int)' must have an argument of class or > >> enumerated type > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :107: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :109: error: expected ',' or '...' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :109: error: 'bool operator!=(int)' must have an argument of class or > >> enumerated type > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :113: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :115: error: expected ',' or '...' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :115: error: 'bool operator>(int)' must have an argument of class or > >> enumerated type > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :119: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :121: error: expected ',' or '...' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :121: error: 'bool operator<=(int)' must have an argument of class or > >> enumerated type > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :125: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :127: error: expected ',' or '...' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :127: error: 'bool operator>=(int)' must have an argument of class or > >> enumerated type > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :142: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :143: error: expected initializer before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h > >> :147: error: '_GLIBCXX_END_NAMESPACE' does not name a type > >> In file included from > >> /root/flashboot/flash-dist/usr/include/g++/functional:55, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:40, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:113: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:133: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:142: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:151: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:160: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:169: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:178: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:179: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:179: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:179: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:195: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:204: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:213: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:222: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:231: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:240: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:256: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:265: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:274: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:275: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:275: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:275: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:311: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:313: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:313: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:313: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:327: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:333: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:353: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:391: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:393: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:393: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:393: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:416: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:425: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:427: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:427: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:427: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:450: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:480: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:481: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:481: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:481: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:498: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:504: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:523: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:529: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:530: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:530: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:530: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:541: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:542: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:542: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:542: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:554: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:555: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:555: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:555: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:582: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:583: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:583: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:583: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:598: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:599: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:599: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:599: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:614: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:615: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:615: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:615: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:630: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:631: error: expected template-name before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:631: error: expected `{' before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:631: error: expected unqualified-id before '<' token > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:646: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:662: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:678: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:694: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:711: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:716: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:721: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:726: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:731: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:736: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:741: error: template with C linkage > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi > >> on.h:746: error: template with C linkage > >> In file included from > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/new:45, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo > >> cator.h:41, > >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc > >> :30: > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:40: > >> error: '#pragma' is not allowed here > >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:133 > >> : error: expected declaration before end of line > >> *** Error code 1 > >> > >> Stop in /usr/src/gnu/lib/libstdc++-v3 (line 104 of /usr/share/mk/sys.mk). > >> *** Error code 1 > >> > >> Stop in /usr/src/gnu/lib (line 48 of /usr/share/mk/bsd.subdir.mk). > >> *** Error code 1 > >> > >> Stop in /usr/src (line 74 of Makefile). > >> > >> _______________________________________________ > >> flashboot mailing list > >> flashboot at mindrot.org > >> https://lists.mindrot.org/mailman/listinfo/flashboot > > _______________________________________________ > > flashboot mailing list > > flashboot at mindrot.org > > https://lists.mindrot.org/mailman/listinfo/flashboot > > _______________________________________________ > flashboot mailing list > flashboot at mindrot.org > https://lists.mindrot.org/mailman/listinfo/flashboot > -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.records at gmail.com Wed May 4 02:12:36 2011 From: james.records at gmail.com (James Records) Date: Tue, 3 May 2011 09:12:36 -0700 Subject: [flashboot] Flashboot still possible with 4.9 In-Reply-To: <394553A4-605F-4114-9F33-5427774BA05D@tilde.se> References: <20110503093501.GV17875@symphytum.spacehopper.org> <394553A4-605F-4114-9F33-5427774BA05D@tilde.se> Message-ID: Rickard, Here is what I have, this needs to be run from within a directory that includes the following sets: base49.tgz etc49.tgz comp49.tgz man49.tgz misc49.tgz src.tar.gz sys.tar.gz also in this directory needs to be mk-mini.conf I execute this script as follows: sh build-chroot-env.sh 49base This will take a while but at the end of this script it should dump you out of the chroot environment at which point I just move the directory to /usr/local/share/49base and make a symlink from my flashboot flash-dist directory to it. I have not tested the part below where I marked not tested in the script, I did that part by hand last night, but it *should* work. I'll attach my mk-mini and the script itself, let me know if you have any issues running it. J On Tue, May 3, 2011 at 8:46 AM, Rickard Dahlstrand wrote: > Hi James, > > I have started something similar, but didn't finish it. Send it over and > I'll will try to include it into the dist. > > Rickard. > > 3 maj 2011 kl. 16.58 skrev James Records: > > I just got this working with 4.9, I have a script, I'll post it when I get > into the office. > > J > > On Tue, May 3, 2011 at 6:16 AM, Rickard Dahlstrand wrote: > >> Hi Stuart and Mark, >> >> I started work on a automated chroot build script, but other stuff got in >> the way of completing it. Will try to get the time to do it soon. >> >> Rickard. >> >> 3 maj 2011 kl. 11.35 skrev Stuart Henderson: >> >> > It is possible but you need to do things a different way. >> > Use a chroot jail rather than DESTDIR which no longer works. >> > See the list archives for more info >> > >> > >> > On 2011/05/03 11:23, flashbootlist at itmon.nl wrote: >> >> Dear List, >> >> >> >> My home firewall runs on an Alix system with a flashboot OpenBSD 4.6. >> >> I haven't upgraded since and I thought now with the release of 4.9 it >> >> made sence to build a new flashboot. >> >> >> >> I installed a virtualbox with 4.9; downloaded the latest flashboot >> >> scripts (2010-12-24) and executed build-release as stated in the >> >> README. This has worked for me with 4.6 without problems. But now the >> >> building seams to fail on "libstdc++-v3" >> >> >> >> Has anyone succesfully build a 4.9 FlashBoot image? Is this still >> possible? >> >> >> >> Mark >> >> >> >> ===> libstdc++-v3 >> >> c++ -O2 -pipe -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H >> >> -I/usr/src/gnu/lib/libstdc++-v3/../libstdc++-v3/ >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. >> >> -frandom-seed=RepeatabilityConsideredGood -DIN_GLIBCPP_V3 >> >> -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++-v3 >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. >> >> -frandom-seed=RepeatabilityConsideredGood -fno-implicit-templates >> >> -ffunction-sections -fdata-sections -Wno-deprecated >> >> -fno-implicit-templates -ffunction-sections -fdata-sections >> >> -Wno-deprecated -idirafter >> >> /root/flashboot/flash-dist/usr/include/g++ -nostdinc -idirafter >> >> /root/flashboot/flash-dist/usr/include -c >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> -o bitmap_allocator.o >> >> In file included from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:37, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> /root/flashboot/flash-dist/usr/include/g++/cstddef:50:28: error: >> >> bits/c++config.h: No such file or directory >> >> In file included from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:43, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/concurrence >> >> .h:41:24: error: bits/gthr.h: No such file or directory >> >> In file included from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:37, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> /root/flashboot/flash-dist/usr/include/g++/cstddef:53: error: >> >> expected constructor, destructor, or type conversion before '(' token >> >> /root/flashboot/flash-dist/usr/include/g++/cstddef:58: error: >> >> '_GLIBCXX_END_NAMESPACE' does not name a type >> >> In file included from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:38, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/functexcep >> >> t.h:93: error: '_GLIBCXX_END_NAMESPACE' does not name a type >> >> In file included from >> /root/flashboot/flash-dist/usr/include/g++/utility:66, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:39, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_relops >> >> .h:136: error: '_GLIBCXX_END_NAMESPACE' does not name a type >> >> In file included from >> /root/flashboot/flash-dist/usr/include/g++/utility:67, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:39, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :94: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :96: error: expected ',' or '...' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :96: error: 'bool operator==(int)' must have an argument of class or >> >> enumerated type >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :100: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :102: error: expected ',' or '...' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :102: error: 'bool operator<(int)' must have an argument of class or >> >> enumerated type >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :107: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :109: error: expected ',' or '...' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :109: error: 'bool operator!=(int)' must have an argument of class or >> >> enumerated type >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :113: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :115: error: expected ',' or '...' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :115: error: 'bool operator>(int)' must have an argument of class or >> >> enumerated type >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :119: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :121: error: expected ',' or '...' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :121: error: 'bool operator<=(int)' must have an argument of class or >> >> enumerated type >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :125: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :127: error: expected ',' or '...' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :127: error: 'bool operator>=(int)' must have an argument of class or >> >> enumerated type >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :142: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :143: error: expected initializer before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :147: error: '_GLIBCXX_END_NAMESPACE' does not name a type >> >> In file included from >> >> /root/flashboot/flash-dist/usr/include/g++/functional:55, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:40, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:113: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:133: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:142: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:151: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:160: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:169: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:178: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:179: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:179: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:179: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:195: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:204: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:213: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:222: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:231: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:240: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:256: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:265: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:274: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:275: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:275: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:275: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:311: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:313: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:313: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:313: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:327: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:333: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:353: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:391: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:393: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:393: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:393: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:416: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:425: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:427: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:427: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:427: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:450: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:480: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:481: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:481: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:481: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:498: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:504: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:523: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:529: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:530: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:530: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:530: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:541: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:542: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:542: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:542: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:554: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:555: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:555: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:555: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:582: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:583: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:583: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:583: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:598: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:599: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:599: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:599: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:614: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:615: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:615: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:615: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:630: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:631: error: expected template-name before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:631: error: expected `{' before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:631: error: expected unqualified-id before '<' token >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:646: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:662: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:678: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:694: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:711: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:716: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:721: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:726: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:731: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:736: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:741: error: template with C linkage >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:746: error: template with C linkage >> >> In file included from >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/new:45, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:41, >> >> from >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:40: >> >> error: '#pragma' is not allowed here >> >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:133 >> >> : error: expected declaration before end of line >> >> *** Error code 1 >> >> >> >> Stop in /usr/src/gnu/lib/libstdc++-v3 (line 104 of /usr/share/mk/ >> sys.mk). >> >> *** Error code 1 >> >> >> >> Stop in /usr/src/gnu/lib (line 48 of /usr/share/mk/bsd.subdir.mk). >> >> *** Error code 1 >> >> >> >> Stop in /usr/src (line 74 of Makefile). >> >> >> >> _______________________________________________ >> >> flashboot mailing list >> >> flashboot at mindrot.org >> >> https://lists.mindrot.org/mailman/listinfo/flashboot >> > _______________________________________________ >> > flashboot mailing list >> > flashboot at mindrot.org >> > https://lists.mindrot.org/mailman/listinfo/flashboot >> >> _______________________________________________ >> flashboot mailing list >> flashboot at mindrot.org >> https://lists.mindrot.org/mailman/listinfo/flashboot >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: mk-mini.conf Type: application/octet-stream Size: 155 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: build-chroot-env.sh Type: application/x-sh Size: 1406 bytes Desc: not available URL: From flashbootlist at itmon.nl Wed May 4 06:19:21 2011 From: flashbootlist at itmon.nl (flashbootlist at itmon.nl) Date: Tue, 03 May 2011 22:19:21 +0200 Subject: [flashboot] Flashboot still possible with 4.9 References: <20110503093501.GV17875@symphytum.spacehopper.org> Message-ID: Hi Stuart & List, I think I found the topic you mention and this is what I understood from it: tar -xzf flashboot-SNAP-20101224.tar.gz cd flashboot export WORKDIR=sandbox mkdir -p ${WORKDIR} tar -xzf ../base49.tgz -C ${WORKDIR}/ tar -xzf ../etc49.tgz -C ${WORKDIR}/ tar -xzf ../comp49.tgz -C ${WORKDIR}/ tar -xzf ../man49.tgz -C ${WORKDIR}/ tar -xzf ../src.tar.gz -C ${WORKDIR}/usr/src/ tar -xzf ../sys.tar.gz -C ${WORKDIR}/usr/src/ mv ${WORKDIR}/dev ${WORKDIR}/dev-orig mkdir ${WORKDIR}/dev mount_mfs -o nosuid -s 32768 /dev/wd0b ${WORKDIR}/dev cp -p ${WORKDIR}/dev-orig/MAKEDEV ${WORKDIR}/dev/MAKEDEV cd ${WORKDIR}/dev/ ./MAKEDEV all cd - cp -p mk-mini.conf ${WORKDIR}/mk-mini.conf chroot ${WORKDIR} /bin/ksh export MAKECONF=/mk-mini.conf cd /sys/arch/i386/conf config RAMDISK cd ../compile/RAMDISK make clean ; make depend ; make cd /usr/src make obj cd /usr/src/etc env DESTDIR=/ sudo make distrib-dirs cd /usr/src make SUDO=sudo build I have some doubts if I need to do the "config RAMDISK" and the "make clean ; make depend ; make" since that builds a 'regular' openbsd kernel. But I don't think it hurts either. Anyway; the build finished without problems and now I'm a bit lost about what I should do the topic talks about changin flash-dist to 'workdir' in build-bindist.sh but dat file doesn't have a reference to flash-dist. build-kernel.sh, for example, does but 4.9 doesn't like the GENERIC-RD kernel. Copying the RAMDISK kernel from regular BSD; starts building but quits with a missing library "des". It does create a bsd (just not the bsd.gz) but that kernel doesn't boot completely and than reboots. I assume I have to make my own "GENERIC-RD" but where do I start? Note: I haven't tried the script yet that was posted earlier today. I will try that tomorrow. But from first glance it doesn't look a lot different from what I did manually. Mark Stuart Henderson writes: > It is possible but you need to do things a different way. > Use a chroot jail rather than DESTDIR which no longer works. > See the list archives for more info > > > On 2011/05/03 11:23, flashbootlist at itmon.nl wrote: >> Dear List, >> >> My home firewall runs on an Alix system with a flashboot OpenBSD 4.6. >> I haven't upgraded since and I thought now with the release of 4.9 it >> made sence to build a new flashboot. >> >> I installed a virtualbox with 4.9; downloaded the latest flashboot >> scripts (2010-12-24) and executed build-release as stated in the >> README. This has worked for me with 4.6 without problems. But now the >> building seams to fail on "libstdc++-v3" >> >> Has anyone succesfully build a 4.9 FlashBoot image? Is this still possible? >> >> Mark From james.records at gmail.com Wed May 4 06:23:31 2011 From: james.records at gmail.com (James Records) Date: Tue, 3 May 2011 13:23:31 -0700 Subject: [flashboot] Flashboot still possible with 4.9 In-Reply-To: References: <20110503093501.GV17875@symphytum.spacehopper.org> Message-ID: Hey mark: Skipjack and libdes were retired from the system. CAST-128 implementation was also removed from libc. are you copying the kernel conf from a 4.9 obsd system? J On Tue, May 3, 2011 at 1:19 PM, wrote: > > Hi Stuart & List, > > I think I found the topic you mention and this is what I understood from > it: > > tar -xzf flashboot-SNAP-20101224.tar.gz > cd flashboot > export WORKDIR=sandbox > mkdir -p ${WORKDIR} > tar -xzf ../base49.tgz -C ${WORKDIR}/ > tar -xzf ../etc49.tgz -C ${WORKDIR}/ > tar -xzf ../comp49.tgz -C ${WORKDIR}/ > tar -xzf ../man49.tgz -C ${WORKDIR}/ > tar -xzf ../src.tar.gz -C ${WORKDIR}/usr/src/ > tar -xzf ../sys.tar.gz -C ${WORKDIR}/usr/src/ > mv ${WORKDIR}/dev ${WORKDIR}/dev-orig > mkdir ${WORKDIR}/dev > mount_mfs -o nosuid -s 32768 /dev/wd0b ${WORKDIR}/dev > cp -p ${WORKDIR}/dev-orig/MAKEDEV ${WORKDIR}/dev/MAKEDEV > cd ${WORKDIR}/dev/ > ./MAKEDEV all > cd - > cp -p mk-mini.conf ${WORKDIR}/mk-mini.conf > chroot ${WORKDIR} /bin/ksh > export MAKECONF=/mk-mini.conf > cd /sys/arch/i386/conf > config RAMDISK > cd ../compile/RAMDISK > make clean ; make depend ; make > cd /usr/src > make obj > cd /usr/src/etc > env DESTDIR=/ sudo make distrib-dirs > cd /usr/src > make SUDO=sudo build > > > I have some doubts if I need to do the "config RAMDISK" and the "make clean > ; make depend ; make" since that builds a 'regular' openbsd kernel. But I > don't think it hurts either. > > Anyway; the build finished without problems and now I'm a bit lost about > what I should do the topic talks about changin flash-dist to 'workdir' in > build-bindist.sh but dat file doesn't have a reference to flash-dist. > > build-kernel.sh, for example, does but 4.9 doesn't like the GENERIC-RD > kernel. Copying the RAMDISK kernel from regular BSD; starts building but > quits with a missing library "des". > > It does create a bsd (just not the bsd.gz) but that kernel doesn't boot > completely and than reboots. > > I assume I have to make my own "GENERIC-RD" but where do I start? > > > Note: I haven't tried the script yet that was posted earlier today. I will > try that tomorrow. But from first glance it doesn't look a lot different > from what I did manually. > > Mark > > > > > > > Stuart Henderson writes: > > It is possible but you need to do things a different way. >> Use a chroot jail rather than DESTDIR which no longer works. >> See the list archives for more info >> >> >> On 2011/05/03 11:23, flashbootlist at itmon.nl wrote: >> >>> Dear List, >>> >>> My home firewall runs on an Alix system with a flashboot OpenBSD 4.6. >>> I haven't upgraded since and I thought now with the release of 4.9 it >>> made sence to build a new flashboot. >>> >>> I installed a virtualbox with 4.9; downloaded the latest flashboot >>> scripts (2010-12-24) and executed build-release as stated in the >>> README. This has worked for me with 4.6 without problems. But now the >>> building seams to fail on "libstdc++-v3" >>> >>> Has anyone succesfully build a 4.9 FlashBoot image? Is this still >>> possible? >>> >>> Mark >>> >> > > _______________________________________________ > flashboot mailing list > flashboot at mindrot.org > https://lists.mindrot.org/mailman/listinfo/flashboot > -------------- next part -------------- An HTML attachment was scrubbed... URL: From flashbootlist at itmon.nl Wed May 4 17:38:24 2011 From: flashbootlist at itmon.nl (flashbootlist at itmon.nl) Date: Wed, 04 May 2011 09:38:24 +0200 Subject: [flashboot] Flashboot still possible with 4.9 References: <20110503093501.GV17875@symphytum.spacehopper.org> Message-ID: Hi James, I tried both; the GENERIC-RD which comes with "flashboot-SNAP-20101224" results in some devices being unknown (not surprisingly; different config than matches the sources). Then I tried RAMDISK and GENERIC from /sys/arch/i386/conf (obsd 4.9). The building of GENERIC stops with: ============================= cp bsd bsd.rd /root/flashboot/obj/rdsetroot bsd.rd < mr.fs bsd.rd: no rd_root_image symbols? *** Error code 1 Stop in /root/flashboot (line 95 of /root/flashboot/Makefile). Your kernel is stored here /root/flashboot/obj/ ============================= Which makes sence to me since this config is not configured for a ramdrive root filesystem. The RAMDISK get futher but fails with: # /dev/rsvnd0c: /mnt: write failed, file system is full Or better said; it continues and builds de bsd.gz but that bsd.gz doesn't work because it can not load /sbin/init. (Most likely because it was never copied to /mnt during the making of the ramdrive filesystem). So I'm getting closer but haven't succeeded just yet. Mark James Records writes: > Hey mark: > > > Skipjack and libdes were retired from the system. CAST-128 implementation > was also removed from libc. > > > are you copying the kernel conf from a 4.9 obsd system? > > > > On Tue, May 3, 2011 at 1:19 PM, > > > Hi Stuart & List, > > I think I found the topic you mention and this is what I understood > from it: > > tar -xzf flashboot-SNAP-20101224.tar.gz > cd flashboot > export WORKDIR=sandbox > mkdir -p ${WORKDIR} > tar -xzf ../base49.tgz -C ${WORKDIR}/ > tar -xzf ../etc49.tgz -C ${WORKDIR}/ > tar -xzf ../comp49.tgz -C ${WORKDIR}/ > tar -xzf ../man49.tgz -C ${WORKDIR}/ > tar -xzf ../src.tar.gz -C ${WORKDIR}/usr/src/ > tar -xzf ../sys.tar.gz -C ${WORKDIR}/usr/src/ > mv ${WORKDIR}/dev ${WORKDIR}/dev-orig > mkdir ${WORKDIR}/dev > mount_mfs -o nosuid -s 32768 /dev/wd0b ${WORKDIR}/dev > cp -p ${WORKDIR}/dev-orig/MAKEDEV ${WORKDIR}/dev/MAKEDEV > cd ${WORKDIR}/dev/ > ./MAKEDEV all > cd - > cp -p mk-mini.conf ${WORKDIR}/mk-mini.conf > chroot ${WORKDIR} /bin/ksh > export MAKECONF=/mk-mini.conf > cd /sys/arch/i386/conf > config RAMDISK > cd ../compile/RAMDISK > make clean ; make depend ; make > cd /usr/src > make obj > cd /usr/src/etc > env DESTDIR=/ sudo make distrib-dirs > cd /usr/src > make SUDO=sudo build > > > I have some doubts if I need to do the "config RAMDISK" and the "make > clean ; make depend ; make" since that builds a 'regular' openbsd > kernel. But I don't think it hurts either. > > Anyway; the build finished without problems and now I'm a bit lost > about what I should do the topic talks about changin flash-dist to > 'workdir' in build-bindist.sh but dat file doesn't have a reference to > flash-dist. > > build-kernel.sh, for example, does but 4.9 doesn't like the GENERIC-RD > kernel. Copying the RAMDISK kernel from regular BSD; starts building > but quits with a missing library "des". > > It does create a bsd (just not the bsd.gz) but that kernel doesn't boot > completely and than reboots. > > I assume I have to make my own "GENERIC-RD" but where do I start? > > > Note: I haven't tried the script yet that was posted earlier today. I > will try that tomorrow. But from first glance it doesn't look a lot > different from what I did manually. > > Mark > > > > > > > Stuart Henderson writes: > > > It is possible but you need to do things a different way. > Use a chroot jail rather than DESTDIR which no longer works. > See the list archives for more info > > > On 2011/05/03 11:23, > flashbootlist at itmon.nl wrote: > > Dear List, > > My home firewall runs on an Alix system with a flashboot OpenBSD > 4.6. > I haven't upgraded since and I thought now with the release of 4.9 > it > made sence to build a new flashboot. > > I installed a virtualbox with 4.9; downloaded the latest flashboot > scripts (2010-12-24) and executed build-release as stated in the > README. This has worked for me with 4.6 without problems. But now > the > building seams to fail on "libstdc++-v3" > > Has anyone succesfully build a 4.9 FlashBoot image? Is this still > possible? > > Mark > > > > > > _______________________________________________ > flashboot mailing list > flashboot at mindrot.org > https://lists. > mindrot.org/mailman/listinfo/flashboot > From flashbootlist at itmon.nl Wed May 4 17:58:21 2011 From: flashbootlist at itmon.nl (flashbootlist at itmon.nl) Date: Wed, 04 May 2011 09:58:21 +0200 Subject: [flashboot] Flashboot still possible with 4.9 References: <20110503093501.GV17875@symphytum.spacehopper.org> Message-ID: Hi, > The RAMDISK get futher but fails with: > # /dev/rsvnd0c: > /mnt: write failed, file system is full I just realized that this is not an error; it always does this. But I did run out of space. So I build RAMDISK again using a larger root filesystem and it now builds and runs. I do still get some errors at boot because of differences between 4.x (x<=8?) and 4.9. But does will be easy to fix. Anyway.. thanks for the hints! I've got it working now! Mark From rd at tilde.se Wed May 4 21:34:21 2011 From: rd at tilde.se (Rickard Dahlstrand) Date: Wed, 4 May 2011 13:34:21 +0200 Subject: [flashboot] Flashboot still possible with 4.9 In-Reply-To: References: <20110503093501.GV17875@symphytum.spacehopper.org> <394553A4-605F-4114-9F33-5427774BA05D@tilde.se> Message-ID: Hi James, I have made a version of build-release based on this that also includes downloading the release-files needed. But I can't seem to get it to build, would you mind trying it out. It should work and I can't figure it out. This is the error I get: /usr/src/lib/libcurses/tty/tty_update.c:1943: warning: integer overflow detected, op << /usr/src/lib/libcurses/tty/tty_update.c:1943: warning: integer overflow detected, op << /usr/src/lib/libcurses/tty/tty_update.c:1943: warning: integer overflow detected, op << building llib-lcurses.ln Lint pass2: tbl /usr/src/lib/libcurses/curs_addch.3tbl | nroff -Tascii -mandoc > curs_addch.cat3 /bin/sh: tbl: not found /bin/sh: nroff: not found *** Error code 1 Stop in /usr/src/lib/libcurses (line 30 of /usr/share/mk/bsd.man.mk). *** Error code 1 Stop in /usr/src/lib (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 74 of Makefile). Rickard. 3 maj 2011 kl. 18.12 skrev James Records: > Rickard, > > Here is what I have, this needs to be run from within a directory that includes the following sets: > > base49.tgz > etc49.tgz > comp49.tgz > man49.tgz > misc49.tgz > src.tar.gz > sys.tar.gz > > also in this directory needs to be mk-mini.conf > > I execute this script as follows: > > sh build-chroot-env.sh 49base > > This will take a while but at the end of this script it should dump you out of the chroot environment at which point I just move the directory to /usr/local/share/49base and make a symlink from my flashboot flash-dist directory to it. > > I have not tested the part below where I marked not tested in the script, I did that part by hand last night, but it *should* work. > > I'll attach my mk-mini and the script itself, let me know if you have any issues running it. > > J > > On Tue, May 3, 2011 at 8:46 AM, Rickard Dahlstrand wrote: > Hi James, > > I have started something similar, but didn't finish it. Send it over and I'll will try to include it into the dist. > > Rickard. > > 3 maj 2011 kl. 16.58 skrev James Records: > >> I just got this working with 4.9, I have a script, I'll post it when I get into the office. >> >> J >> >> On Tue, May 3, 2011 at 6:16 AM, Rickard Dahlstrand wrote: >> Hi Stuart and Mark, >> >> I started work on a automated chroot build script, but other stuff got in the way of completing it. Will try to get the time to do it soon. >> >> Rickard. >> >> 3 maj 2011 kl. 11.35 skrev Stuart Henderson: >> >> > It is possible but you need to do things a different way. >> > Use a chroot jail rather than DESTDIR which no longer works. >> > See the list archives for more info >> > >> > >> > On 2011/05/03 11:23, flashbootlist at itmon.nl wrote: >> >> Dear List, >> >> >> >> My home firewall runs on an Alix system with a flashboot OpenBSD 4.6. >> >> I haven't upgraded since and I thought now with the release of 4.9 it >> >> made sence to build a new flashboot. >> >> >> >> I installed a virtualbox with 4.9; downloaded the latest flashboot >> >> scripts (2010-12-24) and executed build-release as stated in the >> >> README. This has worked for me with 4.6 without problems. But now the >> >> building seams to fail on "libstdc++-v3" >> >> >> >> Has anyone succesfully build a 4.9 FlashBoot image? Is this still possible? >> >> >> >> Mark >> >> >> >> ===> libstdc++-v3 >> >> c++ -O2 -pipe -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H >> >> -I/usr/src/gnu/lib/libstdc++-v3/../libstdc++-v3/ >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. >> >> -frandom-seed=RepeatabilityConsideredGood -DIN_GLIBCPP_V3 >> >> -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++-v3 >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++ >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gcc/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include >> >> -I/usr/src/gnu/lib/libstdc++-v3/../libiberty/include -I. >> >> -frandom-seed=RepeatabilityConsideredGood -fno-implicit-templates >> >> -ffunction-sections -fdata-sections -Wno-deprecated >> >> -fno-implicit-templates -ffunction-sections -fdata-sections >> >> -Wno-deprecated -idirafter >> >> /root/flashboot/flash-dist/usr/include/g++ -nostdinc -idirafter >> >> /root/flashboot/flash-dist/usr/include -c /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> -o bitmap_allocator.o >> >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:37, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> /root/flashboot/flash-dist/usr/include/g++/cstddef:50:28: error: >> >> bits/c++config.h: No such file or directory >> >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:43, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/concurrence >> >> .h:41:24: error: bits/gthr.h: No such file or directory >> >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:37, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> /root/flashboot/flash-dist/usr/include/g++/cstddef:53: error: >> >> expected constructor, destructor, or type conversion before '(' token >> >> /root/flashboot/flash-dist/usr/include/g++/cstddef:58: error: >> >> '_GLIBCXX_END_NAMESPACE' does not name a type >> >> In file included from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:38, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/functexcep >> >> t.h:93: error: '_GLIBCXX_END_NAMESPACE' does not name a type >> >> In file included from /root/flashboot/flash-dist/usr/include/g++/utility:66, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:39, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_relops >> >> .h:136: error: '_GLIBCXX_END_NAMESPACE' does not name a type >> >> In file included from /root/flashboot/flash-dist/usr/include/g++/utility:67, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:39, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :94: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :96: error: expected ',' or '...' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :96: error: 'bool operator==(int)' must have an argument of class or >> >> enumerated type >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :100: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :102: error: expected ',' or '...' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :102: error: 'bool operator<(int)' must have an argument of class or >> >> enumerated type >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :107: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :109: error: expected ',' or '...' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :109: error: 'bool operator!=(int)' must have an argument of class or >> >> enumerated type >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :113: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :115: error: expected ',' or '...' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :115: error: 'bool operator>(int)' must have an argument of class or >> >> enumerated type >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :119: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :121: error: expected ',' or '...' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :121: error: 'bool operator<=(int)' must have an argument of class or >> >> enumerated type >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :125: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :127: error: expected ',' or '...' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :127: error: 'bool operator>=(int)' must have an argument of class or >> >> enumerated type >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :142: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :143: error: expected initializer before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_pair.h >> >> :147: error: '_GLIBCXX_END_NAMESPACE' does not name a type >> >> In file included from >> >> /root/flashboot/flash-dist/usr/include/g++/functional:55, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:40, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:113: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:133: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:142: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:151: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:160: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:169: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:178: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:179: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:179: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:179: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:195: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:204: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:213: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:222: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:231: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:240: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:256: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:265: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:274: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:275: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:275: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:275: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:311: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:313: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:313: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:313: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:327: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:333: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:353: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:391: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:393: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:393: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:393: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:416: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:425: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:427: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:427: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:427: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:450: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:480: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:481: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:481: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:481: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:498: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:504: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:523: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:529: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:530: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:530: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:530: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:541: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:542: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:542: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:542: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:554: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:555: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:555: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:555: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:582: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:583: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:583: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:583: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:598: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:599: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:599: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:599: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:614: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:615: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:615: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:615: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:630: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:631: error: expected template-name before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:631: error: expected `{' before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:631: error: expected unqualified-id before '<' token >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:646: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:662: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:678: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:694: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:711: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:716: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:721: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:726: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:731: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:736: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:741: error: template with C linkage >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/stl_functi >> >> on.h:746: error: template with C linkage >> >> In file included from >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/new:45, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/ext/bitmap_allo >> >> cator.h:41, >> >> from /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/src/bitmap_allocator.cc >> >> :30: >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:40: >> >> error: '#pragma' is not allowed here >> >> /usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/libsupc++/exception:133 >> >> : error: expected declaration before end of line >> >> *** Error code 1 >> >> >> >> Stop in /usr/src/gnu/lib/libstdc++-v3 (line 104 of /usr/share/mk/sys.mk). >> >> *** Error code 1 >> >> >> >> Stop in /usr/src/gnu/lib (line 48 of /usr/share/mk/bsd.subdir.mk). >> >> *** Error code 1 >> >> >> >> Stop in /usr/src (line 74 of Makefile). >> >> >> >> _______________________________________________ >> >> flashboot mailing list >> >> flashboot at mindrot.org >> >> https://lists.mindrot.org/mailman/listinfo/flashboot >> > _______________________________________________ >> > flashboot mailing list >> > flashboot at mindrot.org >> > https://lists.mindrot.org/mailman/listinfo/flashboot >> >> _______________________________________________ >> flashboot mailing list >> flashboot at mindrot.org >> https://lists.mindrot.org/mailman/listinfo/flashboot >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: build-release.tgz Type: application/octet-stream Size: 1241 bytes Desc: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From flashbootlist at itmon.nl Thu May 5 03:13:54 2011 From: flashbootlist at itmon.nl (flashbootlist at itmon.nl) Date: Wed, 04 May 2011 19:13:54 +0200 Subject: [flashboot] Flashboot still possible with 4.9 References: <20110503093501.GV17875@symphytum.spacehopper.org> <394553A4-605F-4114-9F33-5427774BA05D@tilde.se> Message-ID: Hi Rickard, I don't completely understand why your build doesn't work but I just repeated all my steps in a clean virtualbox image and this worked for me: I installed OpenBSD 4.9 in a virtualbox with 5GB virtual harddrive. Used one big root and a small swap (256MB) During install I selected: + bsd + bsd.rd - bsd.mp + base49.tgz + etc49.tgz + comp49.tgz + man49.tgz - game49.tgz - x*tgz reboot into new installed system scp flashboot-SNAP-20101224.tar.gz base49.tgz etc49.tgz comp49.tgz man49.tgz sys.tar.gz src.tar.gz root@:. ssh root@ tar -xzf flashboot-SNAP-20101224.tar.gz cd flashboot export WORKDIR=sandbox mkdir -p ${WORKDIR} tar -xzf ../base49.tgz -C ${WORKDIR}/ tar -xzf ../etc49.tgz -C ${WORKDIR}/ tar -xzf ../comp49.tgz -C ${WORKDIR}/ tar -xzf ../man49.tgz -C ${WORKDIR}/ tar -xzf ../src.tar.gz -C ${WORKDIR}/usr/src/ tar -xzf ../sys.tar.gz -C ${WORKDIR}/usr/src/ tar -xzf ../sys.tar.gz -C /usr/src/ mv ${WORKDIR}/dev ${WORKDIR}/dev-orig mkdir ${WORKDIR}/dev mount_mfs -o nosuid -s 32768 /dev/wd0b ${WORKDIR}/dev cp -p ${WORKDIR}/dev-orig/MAKEDEV ${WORKDIR}/dev/MAKEDEV cd ${WORKDIR}/dev/ ./MAKEDEV all cd - cp -p mk-mini.conf ${WORKDIR}/mk-mini.conf chroot ${WORKDIR} /bin/ksh export MAKECONF=/mk-mini.conf cd /sys/arch/i386/conf config RAMDISK cd ../compile/RAMDISK make clean ; make depend ; make cd /usr/src make obj cd /usr/src/etc env DESTDIR=/ sudo make distrib-dirs cd /usr/src make SUDO=sudo build exit cp ${WORKDIR}/sys/arch/i386/conf/RAMDISK . vi tools/makeconf.awk (and remove -ldes from libs variable) vi RAMDISK (Change MINIROOTSIZE and ADD NKPTP for a 48mb root filesystem option MINIROOTSIZE=30720 # disktab.12mb option NKPTP=16 ) cp disktabs/disktab.20mb disktabs/disktab.48mb vi disktabs/disktab.48mb (Change 40960 into and 40 into 96) vi build-largekernel.sh (Change flash-dist into sandbox) sh ./build-largekernel.sh RAMDISK I hope this helps someone else; let me know if anything is unclear. Mark > Hi James, > > I have made a version of build-release based on this that also includes downloading the release-files needed. > > But I can't seem to get it to build, would you mind trying it out. It should work and I can't figure it out. This is the error I get: > > /usr/src/lib/libcurses/tty/tty_update.c:1943: warning: integer overflow detected, op << > /usr/src/lib/libcurses/tty/tty_update.c:1943: warning: integer overflow detected, op << > /usr/src/lib/libcurses/tty/tty_update.c:1943: warning: integer overflow detected, op << > building llib-lcurses.ln > Lint pass2: > tbl /usr/src/lib/libcurses/curs_addch.3tbl | nroff -Tascii -mandoc > curs_addch.cat3 > /bin/sh: tbl: not found > /bin/sh: nroff: not found > *** Error code 1 > > Stop in /usr/src/lib/libcurses (line 30 of /usr/share/mk/bsd.man.mk). > *** Error code 1 > > Stop in /usr/src/lib (line 48 of /usr/share/mk/bsd.subdir.mk). > *** Error code 1 > > Stop in /usr/src (line 74 of Makefile). > > > Rickard. From rd at tilde.se Thu May 5 16:58:33 2011 From: rd at tilde.se (Rickard Dahlstrand) Date: Thu, 5 May 2011 08:58:33 +0200 Subject: [flashboot] Flashboot still possible with 4.9 In-Reply-To: References: <20110503093501.GV17875@symphytum.spacehopper.org> <394553A4-605F-4114-9F33-5427774BA05D@tilde.se> Message-ID: <038C76EF-D46E-457E-9856-76D92B19681D@tilde.se> I don't know why, but running the same scripts in a virtualbox-install worked, but the parallels-install failed, strange. Thanks, moving on making this into something automated now. Rickard. 4 maj 2011 kl. 19.13 skrev flashbootlist at itmon.nl: > Hi Rickard, > > I don't completely understand why your build doesn't work but I just repeated all my steps in a clean virtualbox image and this worked for me: > > I installed OpenBSD 4.9 in a virtualbox with 5GB virtual harddrive. Used one big root and a small swap (256MB) > > During install I selected: > + bsd > + bsd.rd > - bsd.mp > + base49.tgz > + etc49.tgz > + comp49.tgz > + man49.tgz > - game49.tgz > - x*tgz > > reboot into new installed system > > scp flashboot-SNAP-20101224.tar.gz base49.tgz etc49.tgz comp49.tgz man49.tgz sys.tar.gz src.tar.gz root@:. > ssh root@ > tar -xzf flashboot-SNAP-20101224.tar.gz > cd flashboot > export WORKDIR=sandbox > mkdir -p ${WORKDIR} > tar -xzf ../base49.tgz -C ${WORKDIR}/ > tar -xzf ../etc49.tgz -C ${WORKDIR}/ > tar -xzf ../comp49.tgz -C ${WORKDIR}/ > tar -xzf ../man49.tgz -C ${WORKDIR}/ > tar -xzf ../src.tar.gz -C ${WORKDIR}/usr/src/ > tar -xzf ../sys.tar.gz -C ${WORKDIR}/usr/src/ > tar -xzf ../sys.tar.gz -C /usr/src/ > mv ${WORKDIR}/dev ${WORKDIR}/dev-orig > mkdir ${WORKDIR}/dev > mount_mfs -o nosuid -s 32768 /dev/wd0b ${WORKDIR}/dev > cp -p ${WORKDIR}/dev-orig/MAKEDEV ${WORKDIR}/dev/MAKEDEV > cd ${WORKDIR}/dev/ > ./MAKEDEV all > cd - > cp -p mk-mini.conf ${WORKDIR}/mk-mini.conf > chroot ${WORKDIR} /bin/ksh > export MAKECONF=/mk-mini.conf > cd /sys/arch/i386/conf > config RAMDISK > cd ../compile/RAMDISK > make clean ; make depend ; make > cd /usr/src > make obj > cd /usr/src/etc > env DESTDIR=/ sudo make distrib-dirs > cd /usr/src > make SUDO=sudo build > exit > cp ${WORKDIR}/sys/arch/i386/conf/RAMDISK . vi tools/makeconf.awk > (and remove -ldes from libs variable) > vi RAMDISK > (Change MINIROOTSIZE and ADD NKPTP for a 48mb root filesystem > option MINIROOTSIZE=30720 # disktab.12mb > option NKPTP=16 > ) > cp disktabs/disktab.20mb disktabs/disktab.48mb > vi disktabs/disktab.48mb > (Change 40960 into and 40 into 96) > vi build-largekernel.sh (Change flash-dist into sandbox) > sh ./build-largekernel.sh RAMDISK > > I hope this helps someone else; let me know if anything is unclear. > > Mark > > > > >> Hi James, >> I have made a version of build-release based on this that also includes downloading the release-files needed. >> But I can't seem to get it to build, would you mind trying it out. It should work and I can't figure it out. This is the error I get: >> /usr/src/lib/libcurses/tty/tty_update.c:1943: warning: integer overflow detected, op << >> /usr/src/lib/libcurses/tty/tty_update.c:1943: warning: integer overflow detected, op << >> /usr/src/lib/libcurses/tty/tty_update.c:1943: warning: integer overflow detected, op << >> building llib-lcurses.ln >> Lint pass2: >> tbl /usr/src/lib/libcurses/curs_addch.3tbl | nroff -Tascii -mandoc > curs_addch.cat3 >> /bin/sh: tbl: not found >> /bin/sh: nroff: not found >> *** Error code 1 >> Stop in /usr/src/lib/libcurses (line 30 of /usr/share/mk/bsd.man.mk). >> *** Error code 1 >> Stop in /usr/src/lib (line 48 of /usr/share/mk/bsd.subdir.mk). >> *** Error code 1 >> Stop in /usr/src (line 74 of Makefile). >> Rickard. > > > _______________________________________________ > flashboot mailing list > flashboot at mindrot.org > https://lists.mindrot.org/mailman/listinfo/flashboot From flashbootlist at itmon.nl Thu May 5 22:11:02 2011 From: flashbootlist at itmon.nl (flashbootlist at itmon.nl) Date: Thu, 05 May 2011 14:11:02 +0200 Subject: [flashboot] Where do I add an .o to the build process? Message-ID: Hi List, Sorry to bother you all again so soon. But I'm not quite where I want to be with "flashboot 4.9" The RAMDRIVE kernel I succesfully build doesn't have support for pf and stuff like that. For a firewall this in inconvenient :-) So I tried uncommenting the devices that give an error when building GENERIC-RD and this turned out to be only a few items (see below for diff). The compiling now succeeds but the linking fails: ====================== ld -Ttext 0xD0200120 -e start -N --warn-common -S -x -o bsd ${SYSTEM_HEAD} vers.o ${OBJS} acpi.o(.text+0x3c41): In function `acpi_resume': : undefined reference to `acpibtn_disable_psw' acpi.o(.text+0x3d56): In function `acpi_handle_suspend_failure': : undefined reference to `acpibtn_disable_psw' acpi.o(.text+0x3f5c): In function `acpi_prepare_sleep_state': : undefined reference to `acpibtn_enable_psw' *** Error code 1 ====================== I found that the missing referenced functions are in acpibtn.o which apperently isn't in ${OBJS} but I can't find where I can check this and add it if my assumption is correct. Mark diff -urN GENERIC-RD.org GENERIC-RD --- GENERIC-RD.org Thu May 5 14:21:41 2011 +++ GENERIC-RD Thu May 5 14:51:55 2011 @@ -40,7 +40,7 @@ # or use root on nfs swap on nfs option RAMDISK_HOOKS option MINIROOTSIZE=30720 # disktab.12mb -option NKPTP=8 +option NKPTP=16 config bsd root on rd0a swap on rd0b and wd0b and wd1b pseudo-device rd 1 @@ -244,9 +244,9 @@ url* at uhub? # Realtek RTL8150L based adapters wi* at uhub? # WaveLAN IEEE 802.11DS urio* at uhub? # Diamond Multimedia Rio 500 -uscanner* at uhub? # USB Scanners -usscanner* at uhub? # USB SCSI scanners, e.g., HP5300 -scsibus* at usscanner? +#uscanner* at uhub? # USB Scanners +#usscanner* at uhub? # USB SCSI scanners, e.g., HP5300 +#scsibus* at usscanner? #uyap* at uhub? # Y at P firmware loader udsbr* at uhub? # D-Link DSB-R100 radio radio* at udsbr? # USB radio @@ -288,7 +288,7 @@ pckbc0 at isa? # PC keyboard controller pckbd* at pckbc? # PC keyboard pms* at pckbc? # PS/2 mouse for wsmouse -pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse +#pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse vga0 at isa? option PCIAGP vga* at pci? @@ -297,7 +297,7 @@ wsdisplay* at pcdisplay? wskbd* at pckbd? mux 1 wsmouse* at pms? mux 0 -wsmouse* at pmsi? mux 0 +#wsmouse* at pmsi? mux 0 #vesabios0 at mainbus? # option VESABIOSVERBOSE @@ -426,7 +426,7 @@ st* at scsibus? # SCSI tape drives cd* at scsibus? # SCSI CD-ROM drives ch* at scsibus? # SCSI autochangers -ss* at scsibus? # SCSI scanners +#ss* at scsibus? # SCSI scanners safte* at scsibus? # SCSI accessed fault-tolerant enclosures ses* at scsibus? # SCSI enclosure services uk* at scsibus? # unknown SCSI @@ -630,16 +630,16 @@ # OPL[23] FM synthesizers #opl0 at isa? port 0x388 # use only if not attached to sound card -opl* at eso? -opl* at sb? -opl* at ess? -opl* at yds? -opl* at cmpci? +#opl* at eso? +#opl* at sb? +#opl* at ess? +#opl* at yds? +#opl* at cmpci? # MIDI support -midi* at pcppi? # MIDI interface to the PC speaker +#midi* at pcppi? # MIDI interface to the PC speaker midi* at sb? # SB MPU401 port -midi* at opl? # OPL FM synth +#midi* at opl? # OPL FM synth midi* at ym? midi* at mpu? midi* at autri? From rd at tilde.se Thu May 5 23:11:45 2011 From: rd at tilde.se (Rickard Dahlstrand) Date: Thu, 5 May 2011 15:11:45 +0200 Subject: [flashboot] Where do I add an .o to the build process? In-Reply-To: References: Message-ID: Hi Mark, I succeeded in running my build-release.sh this morning, however then I had to leave for work and will continue tonight. Now that I have build a release getting the kernels working should be easy enough. Rickard. 5 maj 2011 kl. 14.11 skrev flashbootlist at itmon.nl: > > Hi List, > > Sorry to bother you all again so soon. But I'm not quite where I want to be with "flashboot 4.9" > > The RAMDRIVE kernel I succesfully build doesn't have support for pf and stuff like that. For a firewall this in inconvenient :-) > > So I tried uncommenting the devices that give an error when building GENERIC-RD and this turned out to be only a few items (see below for diff). > > > The compiling now succeeds but the linking fails: > ====================== > ld -Ttext 0xD0200120 -e start -N --warn-common -S -x -o bsd ${SYSTEM_HEAD} vers.o ${OBJS} > acpi.o(.text+0x3c41): In function `acpi_resume': > : undefined reference to `acpibtn_disable_psw' > acpi.o(.text+0x3d56): In function `acpi_handle_suspend_failure': > : undefined reference to `acpibtn_disable_psw' > acpi.o(.text+0x3f5c): In function `acpi_prepare_sleep_state': > : undefined reference to `acpibtn_enable_psw' > *** Error code 1 > ====================== > > I found that the missing referenced functions are in acpibtn.o which apperently isn't in ${OBJS} but I can't find where I can check this and add it if my assumption is correct. > > Mark > > > > > > diff -urN GENERIC-RD.org GENERIC-RD --- GENERIC-RD.org Thu May 5 14:21:41 2011 > +++ GENERIC-RD Thu May 5 14:51:55 2011 > @@ -40,7 +40,7 @@ > # or use root on nfs swap on nfs > option RAMDISK_HOOKS > option MINIROOTSIZE=30720 # disktab.12mb > -option NKPTP=8 > +option NKPTP=16 > config bsd root on rd0a swap on rd0b and wd0b and wd1b > pseudo-device rd 1 > @@ -244,9 +244,9 @@ > url* at uhub? # Realtek RTL8150L based adapters > wi* at uhub? # WaveLAN IEEE 802.11DS > urio* at uhub? # Diamond Multimedia Rio 500 > -uscanner* at uhub? # USB Scanners > -usscanner* at uhub? # USB SCSI scanners, e.g., HP5300 > -scsibus* at usscanner? > +#uscanner* at uhub? # USB Scanners > +#usscanner* at uhub? # USB SCSI scanners, e.g., HP5300 > +#scsibus* at usscanner? > #uyap* at uhub? # Y at P firmware loader > udsbr* at uhub? # D-Link DSB-R100 radio > radio* at udsbr? # USB radio > @@ -288,7 +288,7 @@ > pckbc0 at isa? # PC keyboard controller > pckbd* at pckbc? # PC keyboard > pms* at pckbc? # PS/2 mouse for wsmouse > -pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse > +#pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse > vga0 at isa? > option PCIAGP > vga* at pci? > @@ -297,7 +297,7 @@ > wsdisplay* at pcdisplay? > wskbd* at pckbd? mux 1 > wsmouse* at pms? mux 0 > -wsmouse* at pmsi? mux 0 > +#wsmouse* at pmsi? mux 0 > #vesabios0 at mainbus? > # option VESABIOSVERBOSE > @@ -426,7 +426,7 @@ > st* at scsibus? # SCSI tape drives > cd* at scsibus? # SCSI CD-ROM drives > ch* at scsibus? # SCSI autochangers > -ss* at scsibus? # SCSI scanners > +#ss* at scsibus? # SCSI scanners > safte* at scsibus? # SCSI accessed fault-tolerant enclosures > ses* at scsibus? # SCSI enclosure services > uk* at scsibus? # unknown SCSI > @@ -630,16 +630,16 @@ > # OPL[23] FM synthesizers > #opl0 at isa? port 0x388 # use only if not attached to sound card > -opl* at eso? > -opl* at sb? > -opl* at ess? > -opl* at yds? > -opl* at cmpci? > +#opl* at eso? > +#opl* at sb? > +#opl* at ess? > +#opl* at yds? > +#opl* at cmpci? > # MIDI support > -midi* at pcppi? # MIDI interface to the PC speaker > +#midi* at pcppi? # MIDI interface to the PC speaker > midi* at sb? # SB MPU401 port > -midi* at opl? # OPL FM synth > +#midi* at opl? # OPL FM synth > midi* at ym? > midi* at mpu? > midi* at autri? > > _______________________________________________ > flashboot mailing list > flashboot at mindrot.org > https://lists.mindrot.org/mailman/listinfo/flashboot