<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1469014923801_2504" dir="ltr">I am cross-posting my question from StackOverflow regarding compilation of upstart (http://stackoverflow.com/questions/38457854/upstart-causes-kernel-panic-on-embedded-linux):</div><div id="yui_3_16_0_ym19_1_1469014923801_2504" dir="ltr"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2758">I am using `ptxdist` to create kernel and rootfs images for a Linux embedded system, running on an ARM Cortex A8 CPU.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2759"><br id="yui_3_16_0_ym19_1_1469014923801_2760"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2761">I was trying to use a newer compiler (GCC 5+) and so was forced to upgrade several external packages that would not compile under the new GCC.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2762"><br id="yui_3_16_0_ym19_1_1469014923801_2763"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2764">I compiled the following versions of Upstart and its immediate dependencies:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2765"><br id="yui_3_16_0_ym19_1_1469014923801_2766"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2767"> upstart: 1.13.2 </div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2768"> libnih: 1.0.3 </div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2769"> dbus: 1.11.2 </div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2770"> json-c: 0.12.1</div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2771"><br id="yui_3_16_0_ym19_1_1469014923801_2772"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2773">When I boot, I get the following message:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2774"><br id="yui_3_16_0_ym19_1_1469014923801_2775"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2776"> init: com.ubuntu.Upstart.c:3525: Assertion failed in control_emit_event_emitted: env != NULL</div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2777"> init: Caught abort, core dumped</div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2778"> Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000600</div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2779"><br id="yui_3_16_0_ym19_1_1469014923801_2780"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1469014923801_2781">Searching online did not yield useful hints - [the only relevant issue I found is this - <a href="https://bugs.launchpad.net/upstart/+bug/1161329/" style="background-color: rgb(255, 255, 255);" id="yui_3_16_0_ym19_1_1469014923801_2805">https://bugs.launchpad.net/upstart/+bug/1161329/</a>, but it is relevant to an older version of Upstart, and my libnih is of the correct version already.</div></div></body></html>