← Back to team overview

dx-packages team mailing list archive

[Bug 1317276] Re: Unity 7 GCC ICE on ARM64

 

I have only seen this problem happen in the build farm (arm64 hardware
is pretty hard to come by) and it always happens on a different source
file.  Our current workaround to unblock Unity releases is to disabled
PCH for the arm64 arch.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1317276

Title:
  Unity 7 GCC ICE on ARM64

Status in Unity:
  Fix Committed
Status in Unity 7.2 series:
  In Progress
Status in “gcc-4.8” package in Ubuntu:
  Incomplete
Status in “unity” package in Ubuntu:
  Fix Released

Bug description:
  Unity 7  failed to build from source on ARM64 on Utopic due to an
  internal compiler error in GCC.

  Build log excerpt as follows.

  [ 15%] Building CXX object UnityCore/CMakeFiles/unity-core-6.0.dir/Category.cpp.o
  cd /build/buildd/unity-7.2.0+14.10.20140507/obj-aarch64-linux-gnu/UnityCore && /usr/bin/aarch64-linux-gnu-g++   -DUSE_X11 -Dunity_core_6_0_EXPORTS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -O2 -D_FORTIFY_SOURCE=2  -DGNOME_DESKTOP_USE_UNSTABLE_API -std=c++0x -fno-permissive -Werror -Wall -Wcast-align -Wempty-body -Wformat-security -Winit-self -Warray-bounds -Wno-error=unused-local-typedefs -fPIC -I/usr/include/gmock/include -I/usr/src/gmock/gtest/include -I/usr/include/Nux-4.0 -I/usr/include/sigc++-2.0 -I/usr/lib/aarch64-linux-gnu/sigc++-2.0/include -I/usr/include/unity/unity -I/usr/include/dee-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/build/buildd/unity-7.2.0+14.10.20140507/obj-aarch64-linux-gnu -I/build/buildd/unity-7.2.0+14.10.20140507/obj-aarch64-linux-gnu/UnityCore     -include unitycore_pch.hh  -fpch-preprocess  -Winvalid-pch  -o CMakeFiles/unity-core-6.0.dir/Category.cpp.o -c /build/buildd/unity-7.2.0+14.10.20140507/UnityCore/Category.cpp

  aarch64-linux-gnu-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-4.8/README.Bugs> for instructions.
  UnityCore/CMakeFiles/unity-core-6.0.dir/build.make:126: recipe for target 'UnityCore/CMakeFiles/unity-core-6.0.dir/Category.cpp.o' failed
  make[3]: *** [UnityCore/CMakeFiles/unity-core-6.0.dir/Category.cpp.o] Error 4

  
  More information at https://launchpad.net/~ci-train-ppa-service/+archive/landing-008/+build/5987360

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