[PATCH] Explicitly link against libm (Fix for ld no longer implicitly linking DSOs)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
window-picker-applet |
New
|
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
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.)