flashbootlist at itmon.nl
2011-May-03 09:23 UTC
[flashboot] Flashboot still possible with 4.9
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).
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
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
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 <rd at tilde.se> 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: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110503/563ec964/attachment-0001.html>
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 <rd at tilde.se> 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: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110503/21d31fa4/attachment-0001.html>
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 <rd at tilde.se> 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 <rd at tilde.se> 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: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110503/e300b78a/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: mk-mini.conf Type: application/octet-stream Size: 155 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110503/e300b78a/attachment-0001.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: build-chroot-env.sh Type: application/x-sh Size: 1406 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110503/e300b78a/attachment-0001.sh>
flashbootlist at itmon.nl
2011-May-03 20:19 UTC
[flashboot] Flashboot still possible with 4.9
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
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, <flashbootlist at itmon.nl> 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: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110503/0b05a20a/attachment.html>
flashbootlist at itmon.nl
2011-May-04 07:38 UTC
[flashboot] Flashboot still possible with 4.9
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, > <URL:mailto:flashbootlist at itmon.nl>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 > <URL:mailto:flashboot at mindrot.org>flashboot at mindrot.org > <URL:https://lists.mindrot.org/mailman/listinfo/flashboot>https://lists. > mindrot.org/mailman/listinfo/flashboot >
flashbootlist at itmon.nl
2011-May-04 07:58 UTC
[flashboot] Flashboot still possible with 4.9
Hi,> The RAMDISK get futher but fails with: > # /dev/rsvnd0c: > /mnt: write failed, file system is fullI 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
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 <rd at tilde.se> 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 <rd at tilde.se> 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 >> > > > <mk-mini.conf><build-chroot-env.sh>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110504/d2dbcb3b/attachment-0002.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: build-release.tgz Type: application/octet-stream Size: 1241 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110504/d2dbcb3b/attachment-0001.obj> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mindrot.org/pipermail/flashboot/attachments/20110504/d2dbcb3b/attachment-0003.html>
flashbootlist at itmon.nl
2011-May-04 17:13 UTC
[flashboot] Flashboot still possible with 4.9
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@<virtualmachine>:. ssh root@<virtualmachine> 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.
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@<virtualmachine>:. > ssh root@<virtualmachine> > 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