[Bug 1833067] Re: FTBFS on amd64 / i386 when compiled with new hardening defaults in eoan

Alex Murray alex.murray at canonical.com
Fri Jun 21 23:24:08 UTC 2019


Using the hwe-edge kernel (5.0.0-17-generic) on a bionic host with an
eoan schroot seems to work - not sure what this says about the
copy_file_range test on the normal hwe kernel on bionic or for the
builders on launchpad...?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1833067

Title:
  FTBFS on amd64 / i386 when compiled with new hardening defaults in
  eoan

Status in glibc package in Ubuntu:
  New
Status in glibc source package in Eoan:
  New

Bug description:
  In eoan we are activating new hardening defaults in gcc (-fstack-
  clash-protection on all non-32-bit ARM arches and -fcet-protection on
  i386/amd64/x32).

  As a result of -fcet-protection by default, glibc FTBFS since it has
  to be explicitly configured (./configure --enable-cet) to build
  correctly:

  usr/bin/ld: warning: /<<PKGBUILDDIR>>/build-tree/i386-libc/elf/librtld.os: corrupt GNU_PROPERTY_TYPE (5) size: 0
  /usr/bin/ld: /<<PKGBUILDDIR>>/build-tree/i386-libc/elf/librtld.os: in function `_rtld_main_check':
  /<<PKGBUILDDIR>>/elf/../sysdeps/x86/dl-prop.h:33: undefined reference to `_dl_cet_check'
  /usr/bin/ld: /<<PKGBUILDDIR>>/elf/../sysdeps/x86/dl-prop.h:33: undefined reference to `_dl_cet_check'
  /usr/bin/ld: /<<PKGBUILDDIR>>/elf/../sysdeps/x86/dl-prop.h:33: undefined reference to `_dl_cet_check'
  /usr/bin/ld: /<<PKGBUILDDIR>>/build-tree/i386-libc/elf/librtld.os: in function `_dl_open_check':
  /<<PKGBUILDDIR>>/elf/../sysdeps/x86/dl-prop.h:41: undefined reference to `_dl_cet_open_check'
  /usr/bin/ld: /<<PKGBUILDDIR>>/build-tree/i386-libc/elf/ld.so.new: hidden symbol `_dl_cet_open_check' isn't defined
  /usr/bin/ld: final link failed: bad value
  collect2: error: ld returned 1 exit status

  This can be easily remedied by now enabling CET support at configure
  time for glibc - see the attached debdiff which enables this for the
  supported architectures which resolves this FTBFS.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1833067/+subscriptions



More information about the foundations-bugs mailing list