← Back to team overview

touch-packages team mailing list archive

[Bug 1473674] Re: apt fails a test from the testsuite on ppc64el when built with gcc-5 and -O3

 

As a guess, is FindPackages being inlined?  If so, and if the parameter
passed in as &InfoDir isn't subsequently used, the compiler would be
within its rights to remove the assignment to InfoDir.  May want to
check callers of FindPackages for this possibility.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1473674

Title:
  apt fails a test from the testsuite on ppc64el when built with gcc-5
  and -O3

Status in gcc:
  Unknown
Status in apt package in Ubuntu:
  Confirmed
Status in gcc-5 package in Ubuntu:
  New
Status in apt source package in Wily:
  Confirmed
Status in gcc-5 source package in Wily:
  New

Bug description:
  to reproduce:

   - wily chroot
   - PPA https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-016/
     (this holds gcc-5 as the default, branch 20150711).
   - dpkg-buildpackage -B 

  note that explicitly using the gcc-5/g++-5 from wily doesn't show the
  test failure. the only difference in the configuration is that the one
  in wily is built using the old libstdc++ ABI and the one in the PPA
  with the dual ABI defaulting to new/c++11.

  building with -O2 instead of -O3 works around the issue.

  [ RUN      ] CDROMTest.FindPackages
  /scratch/doko/tmp/apt-1.0.9.10ubuntu1/test/libapt/cdromfindpackages_test.cc:95: Failure
  Value of: InfoDir
    Actual: ""
  Expected: path + "/.disk/"
  Which is: "/tmp/apt-tests-findpackage.gpopMw/.disk/"
  [  FAILED  ] CDROMTest.FindPackages (4 ms)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1473674/+subscriptions


References