Bug 803689 - undefined reference to `__builtin_irintf'
Summary: undefined reference to `__builtin_irintf'
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 17
Hardware: s390x
OS: Unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-03-15 12:32 UTC by Dan Horák
Modified: 2012-03-21 19:07 UTC (History)
2 users (show)

Fixed In Version: gcc-4.7.0-0.20.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-03-21 19:07:05 UTC
Type: ---

Attachments (Terms of Use)
reproducer (446 bytes, text/x-csrc)
2012-03-15 12:32 UTC, Dan Horák
no flags Details

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

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.

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:
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.

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