Bug 803689

Summary: undefined reference to `__builtin_irintf'
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: jakub, law
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-4.7.0-0.20.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-21 19:07:05 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:
Attachments:
Description Flags
reproducer none

Description Dan Horák 2012-03-15 12:32:08 UTC
Created attachment 570278 [details]
reproducer

Compile of the attached source fails with "undefined reference to `__builtin_irintf'"

<mock-chroot>[root@devel1 src]# gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m64 -marune=z10 -W -Wextra -Wno-long-long -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option rint.c -o rint
/tmp/ccxad5mm.o: In function `u8_from_float32ne':
/builddir/build/BUILD/pulseaudio-1.1/src/rint.c:10: undefined reference to `__builtin_irintf'
collect2: error: ld returned 1 exit status


gcc version 4.7.0 20120308 (Red Hat 4.7.0-0.19) (GCC) 

This is minimalized source from pulseaudio build, see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=617299 for real life example

Comment 1 Fedora Update System 2012-03-16 20:58:19 UTC
gcc-4.7.0-0.20.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/gcc-4.7.0-0.20.fc17

Comment 2 Dan Horák 2012-03-16 21:30:37 UTC
I confirm the update fixes the issue.

Comment 3 Fedora Update System 2012-03-17 16:50:15 UTC
Package gcc-4.7.0-0.20.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gcc-4.7.0-0.20.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-3967/gcc-4.7.0-0.20.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-03-21 19:07:05 UTC
gcc-4.7.0-0.20.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.