[Bug 1756996] Re: ppc64el ICE building thin-provisioning-tools

Steve Langasek steve.langasek at canonical.com
Mon Mar 19 20:36:50 UTC 2018


It turns out this fails because of an ld preload specific to this
package.

This passes:

g++ -c -I. -I. -I./thin-provisioning -Igmock-1.6.0/include
-Igmock-1.6.0/gtest/include -g -O3 -fdebug-prefix-map=/tmp/thin-
provisioning-tools-0.6.1=. -fstack-protector-strong -Wformat -Werror
=format-security -std=gnu++98 -fno-delete-null-pointer-checks -g -Wall
-fno-strict-aliasing -g -O3 -fdebug-prefix-map=/tmp/thin-provisioning-
tools-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security
-std=gnu++98 -fno-delete-null-pointer-checks -O2  -DSTRERROR_R_CHAR_P
-Wno-unused-local-typedefs -o unit-tests/gmock_main.gmo unit-
tests/gmock_main.cc

This fails:

LD_PRELOAD=/tmp/thin-provisioning-tools-0.6.1/debian/unit-
tests/preload.so g++ -c -I. -I. -I./thin-provisioning
-Igmock-1.6.0/include -Igmock-1.6.0/gtest/include -g -O3 -fdebug-prefix-
map=/tmp/thin-provisioning-tools-0.6.1=. -fstack-protector-strong
-Wformat -Werror=format-security -std=gnu++98 -fno-delete-null-pointer-
checks -g -Wall -fno-strict-aliasing -g -O3 -fdebug-prefix-map=/tmp
/thin-provisioning-tools-0.6.1=. -fstack-protector-strong -Wformat
-Werror=format-security -std=gnu++98 -fno-delete-null-pointer-checks -O2
-DSTRERROR_R_CHAR_P   -Wno-unused-local-typedefs -o unit-
tests/gmock_main.gmo unit-tests/gmock_main.cc


** Package changed: gcc-7 (Ubuntu) => thin-provisioning-tools (Ubuntu)

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

Title:
  ppc64el ICE building thin-provisioning-tools

Status in thin-provisioning-tools package in Ubuntu:
  New

Bug description:
  The thin-provisioning-tools is failing to build in bionic on ppc64el
  with an ICE:

  make[2]: Entering directory '/<<PKGBUILDDIR>>'
      [CXX] unit-tests/gmock_main.cc
  g++ -c -I. -Igoogletest/googlemock/include -Igoogletest/googletest/include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/googletest/googlemock/include -I/usr/src/googletest/googletest/include -g -O3 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -fPIC -fno-strict-aliasing -g -O3 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -DSTRERROR_R_CHAR_P  -Wno-unused-local-typedefs -o unit-tests/gmock_main.gmo unit-tests/gmock_main.cc
  cc1plus: internal compiler error: Segmentation fault
  g++: internal compiler error: Segmentation fault (program cc1plus)
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
  unit-tests/Makefile:80: recipe for target 'unit-tests/gmock_main.gmo' failed
  make[2]: *** [unit-tests/gmock_main.gmo] Error 4
  make[2]: Leaving directory '/<<PKGBUILDDIR>>'
  debian/rules:18: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 2
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  debian/rules:10: recipe for target 'build-arch' failed
  make: *** [build-arch] Error 2

  (https://launchpad.net/ubuntu/+source/thin-provisioning-
  tools/0.7.4-2ubuntu1/+build/13721617)

  More details to follow.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thin-provisioning-tools/+bug/1756996/+subscriptions



More information about the foundations-bugs mailing list