Bug 1106758

Summary: relocation R_386_GOTOFF against undefined symbol
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dan, jakub, law
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-4.9.1-11.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-08 19:09:25 UTC Type: ---
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: 1105908, 1142927    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
preprocessed file none

Description Dennis Gilmore 2014-06-09 17:23:04 UTC
Your package hercules failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=6982905

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

Comment 1 Dennis Gilmore 2014-06-09 17:23:09 UTC
Created attachment 905224 [details]
build.log

Comment 2 Dennis Gilmore 2014-06-09 17:23:11 UTC
Created attachment 905225 [details]
root.log

Comment 3 Dennis Gilmore 2014-06-09 17:23:12 UTC
Created attachment 905226 [details]
state.log

Comment 4 Dan Horák 2014-09-05 10:40:34 UTC
Created attachment 934734 [details]
preprocessed file

this is actually a gcc 4.9.1 problem (on i686) in functions {s370,s390,zarch}_set_jump_pointers(), setting __attribute__((optimize (0))) to any of them makes the problem go away

[dan@localhost .libs]$ /usr/libexec/gcc/i686-redhat-linux/4.9.1/cc1 -quiet -O2 -g -Wall -Werror=format-security -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC cpu.i;  as -o cpu.{o,s}; nm -u cpu.o | grep L; tail -n 3 cpu.s
cpu.c: In function ‘cpu_thread’:
cpu.c:1220:10: warning: ignoring return value of ‘setresuid’, declared with attribute warn_unused_result [-Wunused-result]
cpu.c:1228:10: warning: ignoring return value of ‘setresuid’, declared with attribute warn_unused_result [-Wunused-result]
         U _GLOBAL_OFFSET_TABLE_
         U .L1887
         U .L1888
         U .L1889
         U .L1890
         U .L2033
         U .L2034
         U .L2035
         U .L2036
         U .L2037
         U .L2038
         U .L2178
         U .L2179
         U .L2180
         U .L2181
         U .L2182
         U .L2183
	.hidden	__stack_chk_fail_local
	.ident	"GCC: (GNU) 4.9.1 20140813 (Red Hat 4.9.1-7)"
	.section	.note.GNU-stack,"",@progbits

Comment 5 Jakub Jelinek 2014-09-05 13:46:25 UTC
Filed as PR63186 upstream.  Whether this is the same thing as s390x libmono issue or not to be determined when this bug is fixed.

Comment 6 Fedora Update System 2014-10-01 14:39:16 UTC
gcc-4.9.1-11.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/gcc-4.9.1-11.fc21

Comment 7 Fedora Update System 2014-10-03 03:59:33 UTC
Package gcc-4.9.1-11.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gcc-4.9.1-11.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-11975/gcc-4.9.1-11.fc21
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-10-08 19:09:25 UTC
gcc-4.9.1-11.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.