File: Warning__58___linker_on_each_command_Android_8.20210429.mdwn

package info (click to toggle)
git-annex 10.20230126-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,344 kB
  • sloc: haskell: 74,654; javascript: 9,103; sh: 1,304; makefile: 203; perl: 136; ansic: 44
file content (23 lines) | stat: -rw-r--r-- 1,383 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Warning: linker on each command in Android 8.20210429

Recently (about 2 or 3 weeks ago) each 'git annex <command>' in Termux for Android throws multiple warnings. The exact warning message is this:

`WARNING: linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt"`

The amount of warnings depends on the command:

* `$ git annex --version` --> 2 warnings
* `git annex status` --> 3 warnings
* `$ git annex sync origin` --> 80 warnings

The issue was already raised in the Termux matrix/discord, as i suspected it might by coming from Termux. They suspect it is a vendor specific problem, although one of them could also reproduce it via `git-annex-install` on a pixel4a.

The warning stems from the function `get_ld_config_file_path` in linker.cpp as part of the Android source code. I could not find any call to this in git-annex's source code, so it seems like it is called through some dependency.

As this issue greatly affects the usability of git-annex on Android, i would very much appreciate any work to solve this (if possible, i.e. if the issue is even caused by git-annex).

## System description
* Samsung Galaxy S20 FE (SM-G780G) with latest Android (12) from Samsung
* Termux installed via F-Droid version 0.118.0
* git-annex version 8.20210429-g538780eba
* LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so