Unity8 build causes internal compiler error on armhf
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | gcc |
Fix Released
|
Medium
|
||
| | gcc-4.9 (Ubuntu) |
High
|
Matthias Klose | ||
| | unity-scopes-shell (Ubuntu) |
Critical
|
Paweł Stołowski | ||
| | unity8 (Ubuntu) |
Critical
|
Michał Sawicz | ||
Bug Description
I've encountered this first today, thought this was a problem with some of my MPs, but have reduced them to no-op and the unity8 trunk does not build on armhf in the PPAs:
In file included from /build/
/build/
/build/
class ScopesOverview : public Scope
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: gcc-4.9 4.9.2-10ubuntu3
ProcVersionSign
Uname: Linux 3.18.0-12-generic x86_64
ApportVersion: 2.15.1-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Feb 3 17:59:59 2015
SourcePackage: gcc-4.9
SystemImageInfo:
current build number: 0
device name:
channel: daily
last update: Unknown
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- dobey (community): Approve on 2015-02-05
- PS Jenkins bot: Approve (continuous-integration) on 2015-02-04
-
Diff: 13 lines (+3/-0)1 file modifiedsrc/Unity/CMakeLists.txt (+3/-0)
| Michał Sawicz (saviq) wrote : | #1 |
| Changed in gcc-4.9 (Ubuntu): | |
| importance: | Undecided → Critical |
| Changed in gcc-4.9 (Ubuntu): | |
| assignee: | nobody → Matthias Klose (doko) |
| Colin Watson (cjwatson) wrote : | #3 |
(vivid-
/home/cjwatson/
/home/cjwatson/
for (Scope *scope : m_scopes) {
In file included from /home/cjwatson/
/home/cjwatson/
/home/cjwatson/
class ScopesOverview : public Scope
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
Preprocessed source stored into /tmp/ccXrHoJO.out file, please attach this to your bugreport.
| Colin Watson (cjwatson) wrote : | #4 |
(vivid-
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 4.9.2 (Ubuntu/Linaro 4.9.2-10ubuntu3)
| Changed in gcc-4.9 (Ubuntu): | |
| status: | Incomplete → Triaged |
| Steve Langasek (vorlon) wrote : | #5 |
Matthias mentions that a possible workaround for this issue would be to build just the failing source file with -O1. Michał, does that help unblock you on this issue?
| Michał Sawicz (saviq) wrote : | #6 |
Yes, for reference:
# Workaround for gcc failure LP: #1417664
set_source_
| Changed in unity8 (Ubuntu): | |
| status: | New → In Progress |
| status: | In Progress → Fix Committed |
| importance: | Undecided → Critical |
| assignee: | nobody → Michał Sawicz (saviq) |
| kevin gunn (kgunn72) wrote : | #7 |
lowering priority since we have a workaround
| Changed in gcc-4.9 (Ubuntu): | |
| importance: | Critical → High |
| Changed in unity-scopes-shell (Ubuntu): | |
| status: | New → In Progress |
| importance: | Undecided → Critical |
| assignee: | nobody → Pawel Stolowski (stolowski) |
|
|
#8 |
Created attachment 34668
test case
$ arm-linux-
test.ii:66:53: internal compiler error: in symtab_
H<J *> Scopes::favScopes() const { return m_scopes; }
Please submit a full bug report,
with preprocessed source if appropriate.
configured with --with-arch=armv7-a --with-
not seen on the trunk, introduced by backporting the fix for PR63970. Reverting this backport lets the test case build.
|
|
#9 |
couldn't find any approval email on gcc-patches for the backport. Was this supposed to go to the gcc-4.9 google branch?
|
|
#10 |
Author: doko
Date: Wed Feb 4 23:36:22 2015
New Revision: 220426
URL: https:/
Log:
2015-02-04 Matthias Klose <email address hidden>
PR target/64938
Backport from mainline
2015-01-15 Jan Hubicka <email address hidden>
PR ipa/64068
PR ipa/64559
* ipa.c (symbol_
Do not put abstract origins into boundary.
2015-02-04 Matthias Klose <email address hidden>
Backport from mainline
2015-01-15 Martin Liska <email address hidden>
* g++.dg/
* gcc.dg/
Added:
branches/
branches/
Modified:
branches/
branches/
branches/
|
|
#11 |
Author: wmi
Date: Thu Feb 5 00:27:54 2015
New Revision: 220431
URL: https:/
Log:
Backport from gcc-4_9-branch.
2015-02-04 Matthias Klose <email address hidden>
PR target/64938
Backport from mainline
2015-01-15 Jan Hubicka <email address hidden>
PR ipa/64068
PR ipa/64559
* ipa.c (symbol_
Do not put abstract origins into boundary.
Added:
branches/
branches/
Modified:
branches/
| Changed in gcc: | |
| importance: | Unknown → Medium |
| status: | Unknown → New |
| Launchpad Janitor (janitor) wrote : | #12 |
This bug was fixed in the package gcc-4.9 - 4.9.2-10ubuntu5
---------------
gcc-4.9 (4.9.2-10ubuntu5) vivid; urgency=medium
* Update to SVN 20150204 (r220426) from the gcc-4_9-branch.
* Revert the workaround for PR target/64938, and backport the real fix
to the 4.9 branch. LP: #1417664.
-- Matthias Klose <email address hidden> Thu, 05 Feb 2015 00:49:51 +0100
| Changed in gcc-4.9 (Ubuntu): | |
| status: | Triaged → Fix Released |
| Changed in unity8 (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Changed in unity-scopes-shell (Ubuntu): | |
| status: | In Progress → Fix Released |
| Changed in gcc: | |
| status: | New → Fix Released |
|
|
#14 |
Author: ctice
Date: Thu Feb 19 00:43:33 2015
New Revision: 220805
URL: https:/
Log:
Backport patch from Google 4.9 branch (r220431):
r220431 | wmi | 2015-02-04 16:27:54 -0800 (Wed, 04 Feb 2015) | 12 lines
Backport from gcc-4_9-branch.
2015-02-04 Matthias Klose <email address hidden>
PR target/64938
Backport from mainline
2015-01-15 Jan Hubicka <email address hidden>
PR ipa/64068
PR ipa/64559
* ipa.c (symbol_
Do not put abstract origins into boundary.
Added:
branches/
branches/
Modified:
branches/
Hello Michał, or anyone else affected,
Accepted gccgo-4.9 into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| tags: | added: verification-needed |
| Steve Langasek (vorlon) wrote : | #16 |
This bug was not identified with gccgo, only with g++, which is not applicable to the in-progress gccgo-4.9 SRU.
| tags: | removed: verification-needed |
The verification of the Stable Release Update for gccgo-4.9 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.


a preprocessed source would help