Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 987192

Summary: ICE in lttng-tools-2.2.1-1.fc20
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dennis, jakub, law, yannick.brosseau
Target Milestone: ---   
Target Release: ---   
Hardware: arm   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-30 23:58:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 245418, 991858    
Attachments:
Description Flags
preprocessed source 1
none
preprocessed source 2 none

Description Peter Robinson 2013-07-22 22:33:23 UTC
Created attachment 777093 [details]
preprocessed source 1

http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2005888

gcc -DHAVE_CONFIG_H -I../../.. -I../../.. -I../../../src -I../../../include -include config.h  -I../../../include -I../../../src -DINSTALL_BIN_PATH=\""/usr/lib/lttng/libexec"\" -DINSTALL_LIB_PATH=\""/usr/lib"\"  -fno-strict-aliasing -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -g -fno-strict-aliasing -c ust-thread.c
ust-app.c: In function 'ust_app_start_trace':
ust-app.c:3732:1: internal compiler error: in gen_movsi, at config/arm/arm.md:5539
 }
 ^
gcc -DHAVE_CONFIG_H -I../../.. -I../../.. -I../../../src -I../../../include -include config.h  -I../../../include -I../../../src -DINSTALL_BIN_PATH=\""/usr/lib/lttng/libexec"\" -DINSTALL_LIB_PATH=\""/usr/lib"\"  -fno-strict-aliasing -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -g -fno-strict-aliasing -c ust-metadata.c
gcc -DHAVE_CONFIG_H -I../../.. -I../../.. -I../../../src -I../../../include -include config.h  -I../../../include -I../../../src -DINSTALL_BIN_PATH=\""/usr/lib/lttng/libexec"\" -DINSTALL_LIB_PATH=\""/usr/lib"\"  -fno-strict-aliasing -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -g -fno-strict-aliasing -c main.c
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
main.c: In function 'thread_manage_kernel':
main.c:880:1: internal compiler error: in gen_movsi, at config/arm/arm.md:5539
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc6nrrH7.out file, please attach this to your bugreport.
make[3]: *** [ust-app.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Preprocessed source stored into /tmp/ccSrcyvi.out file, please attach this to your bugreport.
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/builddir/build/BUILD/lttng-tools-2.2.1/src/bin/lttng-sessiond'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/lttng-tools-2.2.1/src/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/lttng-tools-2.2.1/src'
make: *** [all-recursive] Error 1

Comment 1 Peter Robinson 2013-07-22 22:34:43 UTC
Created attachment 777094 [details]
preprocessed source 2

Comment 2 Peter Robinson 2013-07-22 22:36:48 UTC
assigning to gcc as it looks like an ICE

Comment 3 Yannick Brosseau 2013-08-05 13:25:59 UTC
*** Bug 992151 has been marked as a duplicate of this bug. ***

Comment 4 Fedora End Of Life 2013-09-16 14:42:35 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 5 Yannick Brosseau 2013-09-24 18:06:59 UTC
It happens when we activate the hardening flags. If I remove those, it compiles without problems.

Comment 6 Yannick Brosseau 2014-03-02 00:07:32 UTC
GCC bug report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58595

Comment 7 Peter Robinson 2014-07-30 23:58:56 UTC
fixed upstream and package built in F-20