-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpmbuild Floating Point Exception in rpmDoDigest while packaging guile 2.2.3 #420
Comments
Floating Point Exception is a division by 0 error not a signal issue. |
Seems to happen reliably with this simplified test case (even while just building a src.rpm) |
My guess is the |
(I.e. the build should work if you comment out the __prelink_undo_cmd definition in /usr/lib/rpm/macros. Can you confirm this?) |
Yes, just traced it to exactly that line as well. |
Avoid dividing by zero when hitting an ELF section without fixed-size entries. Thanks to Michael Schroeder for helping trace the problem (in rpm-software-management#420)
Avoid dividing by zero when hitting an ELF section without fixed-size entries. Thanks to Michael Schroeder for helping trace the problem (in #420)
Closed by #421 |
Packaging guile 2.2.3 results in a Floating Point Exception from rpmbuild.
A very similar error occurs while building gdb with guile support enabled.
Processing files: guile-runtime-2.2.3-2.x86_64
Program received signal SIGFPE, Arithmetic exception.
0x00007ffff7f03055 in rpmDoDigest () from /usr/lib64/librpmio.so.8
gdb backtrace:
#0 0x00007ffff7f03055 in rpmDoDigest () from /usr/lib64/librpmio.so.8
#1 0x00007ffff7f87a21 in genCpioListAndHeader () from /usr/lib64/librpmbuild.so.8
#2 0x00007ffff7f89a97 in processBinaryFiles () from /usr/lib64/librpmbuild.so.8
#3 0x00007ffff7f85a5d in buildSpec () from /usr/lib64/librpmbuild.so.8
#4 0x0000000000402bf3 in buildForTarget ()
#5 0x00000000004025b7 in build ()
#6 0x00000000004022a4 in main ()
The text was updated successfully, but these errors were encountered: