[PATCH] Explicitly link against libm (Fix for ld no longer implicitly linking DSOs)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| window-picker-applet |
Undecided
|
Unassigned | ||
| Fedora |
Fix Released
|
High
|
Bug Description
Fedora's Rawhide series use a new linker that no longer implicitly link DSOs, for security reasons:
http://
Window Picker Applet's task-item.o uses libm's cos, but right now libm is not directly linked during the build process. This no longer works:
/usr/bin/ld: task-item.o: undefined reference to symbol 'cos@@GLIBC_2.2.5'
/usr/bin/ld: note: 'cos@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [window-
make[2]: Leaving directory `/builddir/
See attached patch for fix
|
#3 |
Created attachment 391271
root.log
root.log for i386
|
#4 |
Created attachment 391272
build.log
build.log for i386
|
#5 |
Created attachment 391273
mock.log
mock.log for i386
|
#6 |
Created attachment 391274
root.log
root.log for x86_64
|
#7 |
Created attachment 391275
build.log
build.log for x86_64
|
#8 |
Created attachment 391276
mock.log
mock.log for x86_64
|
#9 |
Fixed in Rawhide, and upstreamed to Launchpad. Will close when F-13 build becomes a stable update
|
#10 |
gnome-applet-
http://
|
#11 |
gnome-applet-
If you want to test the update, you can install it with
su -c 'yum --enablerepo=
|
#12 |
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle.
Changing version to '13'.
More information and reason for this action is here:
http://
|
#13 |
This hasn't been pushed to stable yet. Is there an issue with the test version?
|
#14 |
gnome-applet-
Changed in fedora: | |
importance: | Unknown → High |
status: | Unknown → Fix Released |
gnome-applet- window- picker- 0.5.6-3. fc12.src. rpm Failed To Build From Source against the rawhide tree. See http:// fedoraproject. org/wiki/ FTBFS for more information. fedoraproject. org/wiki/ Features/ ChangeInImplici tDSOLinking .
This failure is due to a change in the linker default behavior, which uncovered a fault in your package. See http://
If you believe this is actually a bug in another package, do NOT change the component in this bug or close this bug. Instead, add the appropriate bug number from the other package to the "Depends on" line in this bug. If the other package does not yet have a bug created that you think matches, please create one. Doing so helps us properly track bugs and their dependencies, just as we track package dependencies. (If you close this bug, and the other package is not fixed before the next FTBFS run, a new bug will get created. Please follow the above advice to avoid such duplication.)