Index: BOOK/final-system/common/systemd.xml
===================================================================
--- BOOK/final-system/common/systemd.xml (revision f5d13b5762f53515dbcae6e10785c51be30f658d)
+++ BOOK/final-system/common/systemd.xml (revision 09e511ce8eb4a6213c4fa72498f8db23012a365b)
@@ -67,5 +67,6 @@
--with-dbusinterfacedir=/usr/share/dbus-1/interfaces \
--with-dbussessionservicedir=/usr/share/dbus-1/services \
- --with-dbussystemservicedir=/usr/share/dbus-1/system-services
+ --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
+ cc_cv_CFLAGS__flto=no
@@ -106,4 +107,14 @@
+
+
+ cc_cv_CFLAGS__flto=no
+
+ This prevents the build system from using GCC's Link-time
+ optimization (LTO), to ensure that systemd's binaries will not try
+ to link to libgcc_s.
+
+
+
Index: BOOK/final-system/multilib/systemd-64bit.xml
===================================================================
--- BOOK/final-system/multilib/systemd-64bit.xml (revision f5d13b5762f53515dbcae6e10785c51be30f658d)
+++ BOOK/final-system/multilib/systemd-64bit.xml (revision 09e511ce8eb4a6213c4fa72498f8db23012a365b)
@@ -66,5 +66,6 @@
--with-dbusinterfacedir=/usr/share/dbus-1/interfaces \
--with-dbussessionservicedir=/usr/share/dbus-1/services \
- --with-dbussystemservicedir=/usr/share/dbus-1/system-services
+ --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
+ cc_cv_CFLAGS__flto=no
+ --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
+ cc_cv_CFLAGS__flto=no
+ --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
+ cc_cv_CFLAGS__flto=no
+ 14 August 2014
+
+
+ [Chris] - Disabled LTO for systemd build so it doesn't link
+ to libgcc_s. Thanks to Armin K. for the solution.
+
+
+
+
+
10 August 2014