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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848795
Title:
Internal error in varasm.c
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1848795/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs