[Bug 1514092] Re: gcc5-powerpc:lto1: internal compiler error: in lhd_tree_size, at langhooks.c:302

Jockel joro-2013 at t-online.de
Sun Nov 8 16:26:30 UTC 2015


When building my powerpc-optimized version of the playstation emulator
pcsx the error given above is output at the end of the build in the
linking/lto stage.

Before ugrading to the latest gcc 5 packages the build went through
fine.

That's on a Powerpc Mac Mini G4, Ubuntu Release is

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.5 LTS
Release:	12.04
Codename:	precise

gcc version is

gcc (Ubuntu 5.2.1-23ubuntu1~12.04) 5.2.1 20151031

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

Title:
  gcc5-powerpc:lto1: internal compiler error: in lhd_tree_size, at
  langhooks.c:302

Status in gcc-5 package in Ubuntu:
  Incomplete

Bug description:
  When building a certain application after upgrading to the latest gcc5
  packages, gcc now fails to link with the following output:

  /bin/bash ../libtool --tag=CC   --mode=link gcc  -lpthread -mcpu=7450 -O2 -ggdb  -ldl -lnsl -o pcsx LnxMain.o Plugin.o Config.o Gtk2Gui.o MemcardDlg.o ConfDlg.o Cheat.o DebugMemory.o AboutDlg.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0   -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0   -lpthread -lz -lm -lXext -lXtst ../libpcsxcore/libpcsxcore.a -lpthread
  libtool: link: gcc -mcpu=7450 -O2 -ggdb -o pcsx LnxMain.o Plugin.o Config.o Gtk2Gui.o MemcardDlg.o ConfDlg.o Cheat.o DebugMemory.o AboutDlg.o  -ldl -lnsl /usr/lib/powerpc-linux-gnu/libglade-2.0.so -lgtk-x11-2.0 /usr/lib/powerpc-linux-gnu/libxml2.so -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/powerpc-linux-gnu/libcairo.so -lpango-1.0 /usr/lib/powerpc-linux-gnu/libfreetype.so -lfontconfig -lgobject-2.0 -lglib-2.0 -lz -lm -lXext -lXtst ../libpcsxcore/libpcsxcore.a -lpthread
  lto1: internal compiler error: in lhd_tree_size, at langhooks.c:302
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
  lto-wrapper: fatal error: gcc returned 1 exit status
  compilation terminated.
  /usr/bin/ld: lto-wrapper failed
  collect2: error: ld returned 1 exit status
  Kompilierung fehlgeschlagen.
  make[1]: Verlasse Verzeichnis '/home/jochen/sources/pcsxr-1.9.92.release/gui'
  make[1]: *** [pcsx] Fehler 1
  make: *** [all-recursive] Fehler 1

  Before upgrading, the application built fine, so this is probably a
  regreesion

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1514092/+subscriptions



More information about the foundations-bugs mailing list