Bug 1668323 - GCC 9.0 compiler regression
Summary: GCC 9.0 compiler regression
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: armv7hl
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-22 12:47 UTC by Vitaly
Modified: 2019-03-09 12:35 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-09 12:35:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Preprocessed files (106.97 KB, application/x-bzip)
2019-01-22 12:47 UTC, Vitaly
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 87935 0 P1 RESOLVED [9 regression] new failures on arm since r265788 2020-01-23 14:34:37 UTC

Description Vitaly 2019-01-22 12:47:11 UTC
Created attachment 1522393 [details]
Preprocessed files

Description of problem:
Compiler regression on building libtgvoip package (armv7hl architecture).

Version-Release number of selected component (if applicable):
9.0.0-0.3.fc30

How reproducible:
Always.

Steps to Reproduce:
1. Download SRPM: https://xvitaly.fedorapeople.org/rhbz/libtgvoip-2.4.2-2.fc29.src.rpm
2. Build it in mock or Koji for armv7hl architecture.

Actual results:
[ 37%] Building CXX object CMakeFiles/libtgvoip.dir/builddir/build/BUILD/libtgvoip-2.4.2/webrtc_dsp/absl/types/optional.o
/usr/bin/c++  -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_LINUX -DWEBRTC_NS_FLOAT -DWEBRTC_POSIX -Dlibtgvoip_EXPORTS -I/builddir/build/BUILD/libtgvoip-2.4.2/out/Release/../../webrtc_dsp -I/usr/include/opus  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -fPIC   -o CMakeFiles/libtgvoip.dir/builddir/build/BUILD/libtgvoip-2.4.2/webrtc_dsp/absl/types/optional.o -c /builddir/build/BUILD/libtgvoip-2.4.2/webrtc_dsp/absl/types/optional.cc
make[2]: Leaving directory '/builddir/build/BUILD/libtgvoip-2.4.2/out/Release'
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | annobin: Generate final annotations
PLUGIN_START_UNIT                | annobin: Generate global annotations
PLUGIN_ALL_PASSES_START          | annobin: Generate per-function annotations
PLUGIN_ALL_PASSES_END            | annobin: Register per-function end symbol
/builddir/build/BUILD/libtgvoip-2.4.2/webrtc_dsp/absl/types/optional.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
/builddir/build/BUILD/libtgvoip-2.4.2/webrtc_dsp/absl/types/optional.cc:21:47: internal compiler error: in gimplify_expr, at gimplify.c:13363
   21 | extern const nullopt_t nullopt{nullopt_t::init};
      |                                               ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cckDxRMS.out file, please attach this to your bugreport.

Expected results:
Successful build.

Additional info:
Preprocessed files attached to this ticket.
Full build log: http://koji.rpmfusion.org/kojifiles/work/tasks/1564/291564/build.log

Comment 1 Jakub Jelinek 2019-01-22 12:53:26 UTC
Likely upstream PR87935, the ARM EABI requirement of returning this from cdtors (instead of void everywhere else) is causing a lot of grief.

Comment 2 Jakub Jelinek 2019-01-24 15:40:22 UTC
Please try gcc-9.0.1-0.1.fc30 in rawhide, hopefully it should fix this issue.


Note You need to log in before you can comment on or make changes to this bug.