[Bug 1848795] [NEW] Internal error in varasm.c

Steve Wartik 1848795 at bugs.launchpad.net
Fri Oct 18 20:53:32 UTC 2019


Public bug reported:

I am running g++ 7.4.0 on Ubuntu 18.04 (18.04.3 LTS). The full version
line from g++ is:

    g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0

The error message is:

    /home/ilab-user/ida-fabric-core/test/integration-tests/it-02
/expected-results.cpp:497:1: internal compiler error: in
output_constructor_regular_field, at varasm.c:5030

The command line that generates the error is:

/usr/bin/c++  -DSTANDALONE -I/home/ilab-user/ida-fabric-core/test
/integration-tests/it-02/../../../include -I/home/ilab-user/ida-fabric-
core/test/integration-tests/it-02/../../../src/common  -g -fPIE   -Wall
-g -std=gnu++11 -o CMakeFiles/it-02.dir/expected-results.cpp.o -c /home
/ilab-user/ida-fabric-core/test/integration-tests/it-02/expected-
results.cpp

I have attached the preprocessed output.

The output of apt-cache policy g++ is:

g++:
  Installed: 4:7.4.0-1ubuntu2.3
  Candidate: 4:7.4.0-1ubuntu2.3
  Version table:
 *** 4:7.4.0-1ubuntu2.3 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     4:7.3.0-3ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

** Affects: gcc-7 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Preprocessed version of C++ file causing the error"
   https://bugs.launchpad.net/bugs/1848795/+attachment/5298296/+files/expected-results.i

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

Title:
  Internal error in varasm.c

Status in gcc-7 package in Ubuntu:
  New

Bug description:
  I am running g++ 7.4.0 on Ubuntu 18.04 (18.04.3 LTS). The full version
  line from g++ is:

      g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0

  The error message is:

      /home/ilab-user/ida-fabric-core/test/integration-tests/it-02
  /expected-results.cpp:497:1: internal compiler error: in
  output_constructor_regular_field, at varasm.c:5030

  The command line that generates the error is:

  /usr/bin/c++  -DSTANDALONE -I/home/ilab-user/ida-fabric-core/test
  /integration-tests/it-02/../../../include -I/home/ilab-user/ida-
  fabric-core/test/integration-tests/it-02/../../../src/common  -g -fPIE
  -Wall -g -std=gnu++11 -o CMakeFiles/it-02.dir/expected-results.cpp.o
  -c /home/ilab-user/ida-fabric-core/test/integration-tests/it-02
  /expected-results.cpp

  I have attached the preprocessed output.

  The output of apt-cache policy g++ is:

  g++:
    Installed: 4:7.4.0-1ubuntu2.3
    Candidate: 4:7.4.0-1ubuntu2.3
    Version table:
   *** 4:7.4.0-1ubuntu2.3 500
          500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
          100 /var/lib/dpkg/status
       4:7.3.0-3ubuntu2 500
          500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

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



More information about the foundations-bugs mailing list