desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #22028
[Bug 856839] Re: libglib2.0-0 fails to build using dpkg-buildpackage when added "-flto" to CFLAGS and LDFLAGS
** Attachment added: "buildlog with -flto -U_FORTIFY_SOURCE"
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/856839/+attachment/2443198/+files/glib-default%2Blto%2Bnofortify.log
** Package changed: binutils (Ubuntu) => glib2.0 (Ubuntu)
** Also affects: binutils (Ubuntu)
Importance: Undecided
Status: New
** Also affects: gcc-4.6 (Ubuntu)
Importance: Undecided
Status: New
** Changed in: glib2.0 (Ubuntu)
Importance: Undecided => Low
** Changed in: gcc-4.6 (Ubuntu)
Importance: Undecided => Low
** Changed in: binutils (Ubuntu)
Importance: Undecided => Low
** Changed in: binutils (Ubuntu)
Status: New => Confirmed
** Changed in: gcc-4.6 (Ubuntu)
Status: New => Confirmed
** Changed in: glib2.0 (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/856839
Title:
libglib2.0-0 fails to build using dpkg-buildpackage when added "-flto"
to CFLAGS and LDFLAGS
Status in “binutils” package in Ubuntu:
Confirmed
Status in “gcc-4.6” package in Ubuntu:
Confirmed
Status in “glib2.0” package in Ubuntu:
Confirmed
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/856839/+subscriptions