Commit 56621bc
Fix armv6 cross link: rpath-link for libdbus's transitive libsystemd
The arm-unknown-linux-gnueabihf cross image uses a crosstool-NG toolchain
that is not multiarch-aware, so its linker did not search
/usr/lib/arm-linux-gnueabihf for libdbus-1.so's NEEDED libsystemd.so.0
(GNU ld uses -rpath-link, not -L, for transitive shared-lib deps). Add
-rpath-link via RUSTFLAGS for the armv6 target only; armv7/aarch64 use the
Debian multiarch gcc and are unaffected. Pure link-arg, so ARMv6 codegen
is unchanged.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 9878742 commit 56621bc
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
64 | 73 | | |
65 | 74 | | |
66 | 75 | | |
67 | 76 | | |
68 | 77 | | |
69 | 78 | | |
| 79 | + | |
70 | 80 | | |
71 | 81 | | |
72 | 82 | | |
| |||
113 | 123 | | |
114 | 124 | | |
115 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
116 | 130 | | |
117 | 131 | | |
118 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
0 commit comments