-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RA] build fails: undefined reference to 'gfx_ctx_mali_fbdev' #8114
Comments
Can you find the first bad commit so we know when this started? I don't have any mali hardware to test. |
Please share a full configure and build log. Does this work?
|
@orbea well... I already included all of these information. There is a full build log included and the last working commit was b2e8a7a and this is the package https://github.com/5schatten/LibreELEC.tv/blob/libreelec-9.0-rr/packages/5schatten/emulation-frontends/retroarch/package.mk I'm rebuilding an RPi image right now to see if it limited to Mali stuff. |
Sorry, I missed the build log and only saw the package.mk. There are a few commits between b2e8a7a and 2bd70ab so I'm not sure which one is the first bad one. Now that I am looking at the build log I see you are not building the relevant mali file. Line 1085 in 158cec1
I suppose the root issue is this
Line 110 in 158cec1
The issue probably started here. 2bd70ab#diff-64b12eb68f319652c8ff364e7ef9f561R244 Where before it would fall back to |
So I suppose the good solution is to find out why your pkg-config is not finding egl.pc and how to fix it... |
Alternatively this will probably work even if the previous suggestion would be better.
|
Basically this is a mali bug that was fixed in 2014, but no one bothered to merge the PR... And further background. I suppose the above fix is good enough... |
@orbea I asked the LE devs about this maybe they have a clue why it's missing. Lakka 3.0 will probably have this issue as well if they use the LE 9.0 repo. |
I think the main problem is that even if its fixed everywhere today it will take time for users to update their systems to include these fixes. And I would not be surprised if more than one vendor does this. Hopefully everyone will move to using only mesa in time and this problem will go away. |
Description
Build fails for Vim (S905X) Mali target.
Expected behavior
Should build fine.
Actual behavior
Build log -> https://pastebin.com/drC5qyLb
Steps to reproduce the bug
Update your lokal repo to commit 2bd70ab or later and try to compile it for Mali.
Bisect Results
This commit builds fine b2e8a7a <- latest working commit
Environment information
Latest LibreELEC 9.0 build system -> cross compile
Package file: https://github.com/5schatten/LibreELEC.tv/blob/libreelec-9.0-rr/packages/5schatten/emulation-frontends/retroarch/package.mk
The text was updated successfully, but these errors were encountered: