Wine3.6 on Android x86, error in libs right after launch, i reported it as Wine error, but Wine creator is saying its Android-x86 error, pleas clarify..

156 views
Skip to first unread message

NebudZvedy Zvedy

unread,
Apr 18, 2018, 2:54:15 PM4/18/18
to Android-x86

Chih-Wei Huang

unread,
Apr 24, 2018, 1:25:33 AM4/24/18
to Android-x86
2018-04-19 2:54 GMT+08:00 NebudZvedy Zvedy <berserke...@gmail.com>:
> Here is error description:
> https://bugs.winehq.org/show_bug.cgi?id=45010


FFmpeg librarirs need text relocations. See

https://trac.ffmpeg.org/ticket/4928

On the other hand, what's the problem of Wine
with FFmpeg's text relocations?
Does Wine developer claim they are incompatible
with FFmpeg at all?


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

NebudZvedy Zvedy

unread,
Apr 29, 2018, 4:39:04 PM4/29/18
to Android-x86
I don know, but pleas post your question right into Wine bugtracker..

Mauro Rossi

unread,
Apr 30, 2018, 7:29:03 AM4/30/18
to Android-x86
Hi,

Considerig this is an ffmpeg project problem with Android builds,
but in principle a common problem to libraries in nougat and later,

is there a (generic) tool to avoid text relocations in .S asm code,
which works and could not impact performance too much?

Mauro

Michael Goffioul

unread,
Apr 30, 2018, 7:37:02 AM4/30/18
to andro...@googlegroups.com
I don't think so:

A "solution" that works is to compile for x86_64 instead. AFAIK the text relocations problem only applies to x86 build. Or you can patch bionic/linker/linker.cpp to suppress the warning altogether (that's what I did in my android-x86 build).

Michael.




Mauro

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.

Michael Goffioul

unread,
Apr 30, 2018, 7:38:45 AM4/30/18
to andro...@googlegroups.com
Ok, this was more an answer to the question "is there any hope of having the problem fixed upstream?".

Mauro Rossi

unread,
Apr 30, 2018, 7:56:12 AM4/30/18
to Android-x86


Il giorno lunedì 30 aprile 2018 13:37:02 UTC+2, Michael Goffioul ha scritto:
I don't think so:

A "solution" that works is to compile for x86_64 instead. AFAIK the text relocations problem only applies to x86 build. Or you can patch bionic/linker/linker.cpp to suppress the warning altogether (that's what I did in my android-x86 build).

Michael.

Thanks, so revert commit "Remove text-relocs support for apps targeting M+" and that's it
 



On Mon, Apr 30, 2018 at 7:29 AM, Mauro Rossi <issor...@gmail.com> wrote:
Hi,

Considerig this is an ffmpeg project problem with Android builds,
but in principle a common problem to libraries in nougat and later,

is there a (generic) tool to avoid text relocations in .S asm code,
which works and could not impact performance too much?

Mauro

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.

Michael Goffioul

unread,
Apr 30, 2018, 8:02:29 AM4/30/18
to andro...@googlegroups.com
On Mon, Apr 30, 2018 at 7:56 AM, Mauro Rossi <issor...@gmail.com> wrote:


Il giorno lunedì 30 aprile 2018 13:37:02 UTC+2, Michael Goffioul ha scritto:
I don't think so:

A "solution" that works is to compile for x86_64 instead. AFAIK the text relocations problem only applies to x86 build. Or you can patch bionic/linker/linker.cpp to suppress the warning altogether (that's what I did in my android-x86 build).

Michael.

Thanks, so revert commit "Remove text-relocs support for apps targeting M+" and that's it

This is the patch I'm applying to my build. The end result is the same as reverting the patch you mention, for x86 platforms.


0013_no-text-relocation-warning.diff

Nebudte Zvedy

unread,
May 4, 2018, 2:01:25 AM5/4/18
to Android-x86
Sorry to technical for me, im not sure if i understand what is a summary..

 Could problem be patched on end user level, or i have to wait for next Android x86 release?

 Its not probably 32bit - x86 version problem, because im using 64bit version, at least 32bit version, upgraded to 64 bit with 1st 64 bit release.

 Its very easy to simulate this bug:
1) Download and install Android x86 apk from Wine site
2) Run Wine, error message would pop up right after start..

 If its possible pleas write summary to Wine bug tracker, link is above.. main Wine creator is monitoring the thread, so they take this seriously..

Nebudte Zvedy

unread,
May 12, 2018, 9:20:44 AM5/12/18
to Android-x86
Response from main Wine guy:
If they are saying that we shouldn't be using 32-bit libraries at all, that's not feasible. Wine needs to be a 32-bit app in order to run 32-bit Windows binaries.

If they are saying that we shouldn't be loading these specific libraries, we are not doing that. There's no reference to any of these libraries in Wine. They are being loaded by some other system library that we don't control.

https://bugs.winehq.org/show_bug.cgi?id=45010
Reply all
Reply to author
Forward
0 new messages