View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000820 | Double Commander | Default | public | 2014-01-19 12:50 | 2017-09-04 08:26 |
| Reporter | ginggs | Assigned To | Alexx2000 | ||
| Priority | normal | Severity | trivial | Reproducibility | N/A |
| Status | closed | Resolution | fixed | ||
| Projection | none | ETA | none | ||
| Product Version | 0.5.8 | Product Build | 5390 | ||
| Target Version | 0.5.9 | Fixed in Version | 0.5.9 | ||
| Summary | 0000820: Please link with --as-needed | ||||
| Description | Linking with the --as-needed flag will eliminate the shlibdeps warnings below. The attached patch adds '--as-needed' to LinkerOptions in src/doublecmd.lpi. dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/doublecmd-gtk/usr/lib/doublecmd/doublecmd was not linked against libgmodule-2.0.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/doublecmd-qt/usr/lib/doublecmd/doublecmd was not linked against libgmodule-2.0.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/doublecmd-qt/usr/lib/doublecmd/doublecmd was not linked against libgthread-2.0.so.0 (it uses none of the library's symbols) | ||||
| Tags | No tags attached. | ||||
| Attached Files | link-with-as-needed.patch (306 bytes)
--- a/src/doublecmd.lpi
+++ b/src/doublecmd.lpi
@@ -182,7 +182,7 @@
</SearchPaths>
<Conditionals Value="if (TargetOS = 'linux') then
begin
- LinkerOptions += ' -z relro';
+ LinkerOptions += ' -z relro --as-needed';
end;
if LCLWidgetType <> GetIDEValue('LCLWidgetType') then
| ||||
| Fixed in Revision | 5439 | ||||
| Operating system | Linux | ||||
| Widgetset | GTK2 | ||||
| Architecture | 64-bit | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-01-19 12:50 | ginggs | New Issue | |
| 2014-01-19 12:50 | ginggs | File Added: link-with-as-needed.patch | |
| 2014-01-19 15:08 | Alexx2000 | Assigned To | => Alexx2000 |
| 2014-01-19 15:08 | Alexx2000 | Status | new => assigned |
| 2014-01-19 15:08 | Alexx2000 | Target Version | => 0.5.9 |
| 2014-01-19 15:11 | Alexx2000 | Fixed in Revision | => 5439 |
| 2014-01-19 15:11 | Alexx2000 | Status | assigned => resolved |
| 2014-01-19 15:11 | Alexx2000 | Fixed in Version | => 0.5.9 |
| 2014-01-19 15:11 | Alexx2000 | Resolution | open => fixed |
| 2017-09-04 08:26 | Alexx2000 | Status | resolved => closed |