[Bug 1904760] Re: autopkgtest fails in hirsute on arm64

Bug Watch Updater 1904760 at bugs.launchpad.net
Thu Nov 19 00:02:10 UTC 2020


Launchpad has imported 4 comments from the remote bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97314.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2020-10-07T08:06:28+00:00 Matthias Klose wrote:

seen with the gcc-10 branch 20201003, while originally building that for
another architecture.  The build succeeds on another 32bit arch (arm-
linux-gnueabihf) and on 64bit archs, but fails on i686-linux-gnu.

The build is also configured with --enable-default-pie and other
hardening options turned on by default, built with make -j2.

virtual memory exhausted: Operation not permitted
make[5]: *** [Makefile:1117: insn-extract.o] Error 1
make[5]: *** Waiting for unfinished jobs....
rm gcc.pod gfortran.pod cpp.pod gccbrig.pod gccgo.pod gdc.pod
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/gcc'
make[4]: *** [Makefile:4878: all-stage3-gcc] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [Makefile:27347: stage3-bubble] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:27411: bootstrap] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'

Reply at: https://bugs.launchpad.net/ubuntu/+source/cross-toolchain-
base/+bug/1904760/comments/0

------------------------------------------------------------------------
On 2020-10-07T08:46:20+00:00 Rguenth wrote:

virtual memory exhausted: Operation not permitted

ISTR Jakub mentioned a similar issue?

Reply at: https://bugs.launchpad.net/ubuntu/+source/cross-toolchain-
base/+bug/1904760/comments/1

------------------------------------------------------------------------
On 2020-10-07T09:00:47+00:00 Jakub-gcc wrote:

Yes, but for me it was resolved with r11-3518-g37ffe56c01e4a9e80a3b3c4f5beb86d80a0663db.  If the (huge) switch is optimized by switchconv, then DF doesn't run into the latent problematic case.
I'm not using --enable-default-pie though.

Reply at: https://bugs.launchpad.net/ubuntu/+source/cross-toolchain-
base/+bug/1904760/comments/2

------------------------------------------------------------------------
On 2020-11-17T15:14:49+00:00 Rsandifo-gcc wrote:

I see the same thing for arm-linux-gnueabihf on trunk, also on
insn-extract.o.  It's specific to RTL checking for me too.

I found it does work if I bootstrap with --enable-checking=yes,extra,
flip ENABLE_RTL_CHECKING to 1 in auto-host.h, and then recompile
insn-extract.c.  But it does take a large amount of VM:

phase parsing                      :  51.10 ( 27%)  43.64 ( 74%)  94.74
( 38%)  1334M ( 73%)

This used to work “a while ago” but I don't know when it stopped.

The file has 9975 lines, 435KiB, but that's a bairn compared to some
of the stuff we kick out.  Perhaps it's just the sheer number of
(nested) XEXP macro expansions?

Reply at: https://bugs.launchpad.net/ubuntu/+source/cross-toolchain-
base/+bug/1904760/comments/3


** Changed in: gcc
       Status: Unknown => New

** Changed in: gcc
   Importance: Unknown => Medium

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

Title:
  autopkgtest fails in hirsute on arm64

Status in gcc:
  New
Status in cross-toolchain-base package in Ubuntu:
  New

Bug description:
  https://autopkgtest.ubuntu.com/packages/c/cross-toolchain-
  base/hirsute/arm64

  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-hirsute/hirsute/arm64/c/cross-toolchain-base/20201116_232942_520f7@/log.gz
  ...
  aarch64-linux-gnu-g++-10 -fno-PIE -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include  -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace   -o insn-extract.o -MT insn-extract.o -MMD -MP -MF ./.deps/insn-extract.TPo insn-extract.c
  aarch64-linux-gnu-g++-10: fatal error: Killed signal terminated program cc1plus
  compilation terminated.
  ...

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



More information about the foundations-bugs mailing list