[flashboot] Flashboot still possible with 4.9

flashbootlist at itmon.nl flashbootlist at itmon.nl
Tue May 3 19:23:55 EST 2011


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).



More information about the flashboot mailing list