[yocto] GCC segmentation error when compiling boost under Jethro

Chris Tapp opensource at keylevel.com
Sat Jan 2 10:38:07 PST 2016


> On 1 Jan 2016, at 17:58, Chris Tapp <opensource at keylevel.com> wrote:
> 
> I’m getting the following when I try to “bitbake boost" under Jethro:
> 
> gcc.compile.c++ bin.v2/libs/log/build/bad679ea642ec2fca3b5d11f9f0014c5/formatter_parser.o
> In file included from libs/log/src/spirit_encoding.hpp:23:0,
>                 from libs/log/src/formatter_parser.cpp:42:
> ./boost/spirit/home/support/common_terminals.hpp:200:65: internal compiler error: Segmentation fault
>     inline void silence_unused_warnings_##name() { (void) name; }               \
>                                                                 ^
> ./boost/spirit/home/support/common_terminals.hpp:229:9: note: in expansion of macro 'BOOST_SPIRIT_CHAR_CODE'
>         BOOST_SPIRIT_CHAR_CODE(lowernum, spirit::char_encoding::charset)        \
>         ^
> ./boost/spirit/home/support/common_terminals.hpp:235:1: note: in expansion of macro 'BOOST_SPIRIT_DEFINE_CHAR_CODES'
> BOOST_SPIRIT_DEFINE_CHAR_CODES(iso8859_1)
> ^
> 
> However, it compiles if I then immediately run “bitbake boost” again (change nothing, do nothing).
> 
> The do_compile log shows that other parts of boost are built before the first (failed) compilation task terminates reporting the error. Does this sound like a parallel compilation race?

Tried this again today and it builds without any problem...

--

Chris Tapp
opensource at keylevel.com
www.keylevel.com

----
You can tell you're getting older when your car insurance gets real cheap!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160102/6da9be09/attachment.pgp>


More information about the yocto mailing list