-
Notifications
You must be signed in to change notification settings - Fork 5
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
Link error "undefined hidden symbol:" in firefox 93 building with clang #37
Comments
@smsxgli Did you ever solved this? :) |
I solved this link error by the ugly hack I mentioned above, but the llvm throw another error during PGO, |
@smsxgli Could you please provide your hack/workaround? :) It does build It helps closing things eating CPU and memory like |
@smsxgli You can view my current testing sources here: https://github.com/francoism90/pkgs/tree/master/firefox-dev-kde-opensuse |
@francoism90 Do you have the same issue? If so, I'am happy to offer the modified patch. Since I have no idea about how to upload a patch file here, I will post it as plain text. |
@smsxgli Do you have repository containing the full set (incl. PKGBUILD, mozconfig, etc.)? :) I'll try to checkout your patch, thanks! Edit: this does seem to be the same provided patch here? |
@francoism90 Thanks, I will have a test on your PKGBUILD. In fact, I just used |
@francoism90 Oh, yes, I mess something up, really sorry for that. Now I will test my patch again. Really strange. I will test on your PKGBUILD. |
@francoism90 You can test with this patch, it should work, if my memory do not lie to me...
|
@smsxgli Thanks for patch! I have turned your changes into a patch file, which should applied after applying all other ones:
You can checkout the updated sources as well. :) Thanks for all your help! Maybe you should open a PR? |
@francoism90 I will have a test soon. By the way, I met a link error about LLVM again with your last PKGBUILD and the modified patch. |
removed obsolete patches * mozilla-bmo1602730.patch * mozilla-bmo1725828.patch * mozilla-bmo1729124.patch fix Plasma detection (boo#1191825) fix Link error "undefined hidden symbol:" #37
This error should be solved in commit |
I am a KDE user, build firefox 93 with these patches. While during linking
libxul.so
, the lld failed with errorI think this might because of the unimplemented virtual function
IsDefaultForScheme
, which should be defined inbrowser/components/shell/nsKDEShellService.cpp
, created by thefirefox-kde.patch
file.I try to fix this error by offering the missing function with just return
NS_ERROR_NOT_IMPLEMENTED
, and then this error is gone. But I have no idea about how to really realize this function.Build environment:
Arch linux, amd64
Build with clang, llvm and lld, version12
If any more information should be offered, please let me known, and forgive my poor english since I'm not a native speaker.
The text was updated successfully, but these errors were encountered: