← Back to team overview

desktop-packages team mailing list archive

[Bug 856839] [NEW] libglib2.0-0 fails to build using dpkg-buildpackage when added "-flto" to CFLAGS and LDFLAGS

 

You have been subscribed to a public bug:

when using apt-get source libglib2.0-0, and adding -flto to the CFLAGS
and LDFLAGS, the build fails with this:

./.libs/libglib-2.0.so: undefined reference to `__open_too_many_args'
./.libs/libglib-2.0.so: undefined reference to `__open_missing_mode'

which are errors generated by FORTIFY_SOURCE. it's currently unknown if
these are true positives from FORTIFY_SOURCE that are somehow missed
without LTO, or are false positives due to codegen issues when enabling
LTO.

** Affects: glib2.0 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
libglib2.0-0 fails to build using dpkg-buildpackage when added "-flto" to CFLAGS and LDFLAGS
https://bugs.launchpad.net/bugs/856839
You received this bug notification because you are a member of Desktop Packages, which is subscribed to glib2.0 in Ubuntu.