Message boards : Number crunching : Android - Text Relocations Error
Message board moderation

To post messages, you must log in.

AuthorMessage
Nick Name

Send message
Joined: 22 Feb 15
Posts: 12
Credit: 46,880,289
RAC: 0
Message 1888 - Posted: 14 Jan 2017, 17:29:56 UTC

I've put some ARM boards on this project and when I saw some very long running tasks, found this error.

WARNING: linker: ../../projects/universeathome.pl_universe/BHspin2_1_arm-android-linux-gnu has text relocations. This is wasting memory and prevents security hardening. Please fix.

It shows on almost every task, not just the very long one. The work validated, so it doesn't seem to be a problem, but I wonder if it makes tasks run longer than they should.
Team USA forum | Team USA page
Always crunching / Always recruiting
ID: 1888 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Yavanius
Avatar

Send message
Joined: 13 May 15
Posts: 87
Credit: 4,320,738
RAC: 5
Message 1933 - Posted: 4 Feb 2017, 7:00:37 UTC - in response to Message 1888.  

I was having issues on WCG with some of my arm devices so I started checking my other projects...

On Samsung Tab S2 8.9" running Droid 6, I'm seeing 8 successful completes and close to 80 errors.

http://universeathome.pl/universe/result.php?resultid=19194213

There's errors like this on SETI beta although on different devices...
https://setiweb.ssl.berkeley.edu/beta/forum_thread.php?id=2273&postid=56359#56359


I haven't delved much into the details but seems related to something with the PIE routines.
ID: 1933 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Krzysztof Piszczek - wspieram ...
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 4 Feb 15
Posts: 841
Credit: 144,180,465
RAC: 2
Message 1940 - Posted: 6 Feb 2017, 20:40:21 UTC - in response to Message 1933.  

It's happens because BOINC server can't see difference between new and old Android versions. Seti has same problem and they just leave it as server after some work units (millions of them) "teach" itself which applications can execute on each device.
Krzysztof 'krzyszp' Piszczek

Member of Radioactive@Home team
My Patreon profile
Universe@Home on YT
ID: 1940 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile [B@P] Daniel

Send message
Joined: 21 Sep 16
Posts: 9
Credit: 2,676,333
RAC: 0
Message 1941 - Posted: 7 Feb 2017, 11:56:26 UTC

Some projects (e.g. GoofyxGrid@Home) provides both PIE and non-PIE android apps, so there must be some way to distinguish them at server side. Android 5.x and newer needs PIE, older ones needs non-PIE. Devices reports their kernel versions, you should be able to use it to detect Android 5.x+ devices.
ID: 1941 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Krzysztof Piszczek - wspieram ...
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 4 Feb 15
Posts: 841
Credit: 144,180,465
RAC: 2
Message 1942 - Posted: 7 Feb 2017, 13:22:12 UTC - in response to Message 1941.  

non-Pie application wasn't reliable enogh to use in this project.
With Goofyx we worked together on it :)
Krzysztof 'krzyszp' Piszczek

Member of Radioactive@Home team
My Patreon profile
Universe@Home on YT
ID: 1942 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile [B@P] Daniel

Send message
Joined: 21 Sep 16
Posts: 9
Credit: 2,676,333
RAC: 0
Message 1977 - Posted: 20 Feb 2017, 19:53:31 UTC

I have logged issue for BOINC to provide some way to solve the PIE/non-PIE issue, and got answer that it is possible to check Android version sent to server by client. You may find it useful:
https://github.com/BOINC/boinc/issues/1794#issuecomment-281110422
ID: 1977 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Android - Text Relocations Error




Copyright © 2024 Copernicus Astronomical Centre of the Polish Academy of Sciences
Project server and website managed by Krzysztof 'krzyszp' Piszczek