ppl ftbfs in precise on powerpc

Bug #941676 reported by Matthias Klose on 2012-02-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Won't Fix
Michael Collison
gcc-4.6 (Ubuntu)
ppl (Ubuntu)

Bug Description

the build fails as shown in

it is a test suite failure, so the failure could be worked around by disabling the testsuite on powerpc. however ppl is a build dependency of gcc itself.

Related branches

Matthias Klose (doko) wrote :

the build on Debian unstable does succeed

Changed in ppl (Ubuntu):
importance: Undecided → Medium
milestone: none → ubuntu-12.04-beta-2
status: New → Confirmed
Matthias Klose (doko) on 2012-02-26
tags: added: ftbfs precise
Matthias Klose (doko) wrote :

this looks like a regression in memory use, the cc1plus apparenty needs more than ~3.5GB. works with fsf gcc-4.6 and Linaro gcc-4.5.

$ g++-4.5 -c -g -O2 -frounding-math -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security mipproblem1.ii
mipproblem1.cc: In function 'bool<unnamed>::test03()':
mipproblem1.cc:234:1: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without

powerpc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -I../../utils -I../../tests -DNDEBUG=1 -D_FORTIFY_SOURCE=2 -g -O2 -frounding-math -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -g -W -Wall -MT mipproblem1.o -MD -MP -MF .deps/mipproblem1.Tpo -c -o mipproblem1.o mipproblem1.cc
virtual memory exhausted: Cannot allocate memory
make[1]: *** [mipproblem1.o] Error 1

Asa Sandahl (asa-sandahl) wrote :

I have run the test on ARM on a number of toolchains, and confirmed that there is no failure in that case.
The note:
"note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without" is present but does not lead to the memory error.

Michael will now help out in reproducing on PowerPC.

Martin Pitt (pitti) on 2012-03-26
Changed in ppl (Ubuntu Precise):
milestone: ubuntu-12.04-beta-2 → ubuntu-12.04
Matthias Klose (doko) wrote :

still seen in precise

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ppl - 0.11.2-6ubuntu3

ppl (0.11.2-6ubuntu3) precise; urgency=low

  * Build the test suite with -gstabs rather than -g on powerpc, to avoid
    running out of memory (LP: #941676).
 -- Colin Watson <email address hidden> Thu, 12 Apr 2012 01:17:49 +0100

Changed in ppl (Ubuntu Precise):
status: Confirmed → Fix Released
Changed in gcc-linaro:
assignee: nobody → Michael Collison (michael-collison)

Unable to reproduce with linaro 4.8 or 4.9 targeting arm and powerpc.

Changed in gcc-linaro:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers