-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Compile gcc #217
Comments
What do you mean with two prefixes? Did you reconfigure something in
The error says that One personal question: are you trying to build gcc for glibc32 (I assumed this since you recently closed your request for implementing glibc32 for 64-bit architectures)? |
|
Why create such complex circuits. You can simply compile wine with a different prefix separately from the glibc system and still use it. I don’t understand your caution towards glibc, how can wine interfere with other projects?
Compiling gcc itself is quite tricky. This error can occur for various reasons, but most likely it is due to a reconfigured prefix. |
I came to the conclusion that I don’t need to create gcc. I choose such a complex scheme because when installing ready-made prefixes built on glibc, my prefix stops working normally. |
Could you show the error that occurs in this case? Perhaps I can help you solve this problem. |
I didn't ask for a gcc compilation error, I asked for an error (as I understand the use of wine) that forced you to compile gcc. |
In this case, it is difficult to show errors, all emulators are installed in the $PREFIX/glibc prefix, first destroying everything in this prefix and replacing it with their own libraries, which breaks compatibility with alternative emulators and termux-pacman |
I became more interested in this error. I will ask you to describe what you are doing that results in such an error (if it is not difficult, you can make a video or screenshots) and describe what “emulators” you use (especially the one that destroys the glibc system). |
I’ll try to write it down later, well, let’s say box64droid and mobox cannot exist together, since they have the same prefix which will overwrite glibc |
Now everything has become clear. I think it would be much easier to ask the box64droid developer and the mobox developer to add the ability to work with already installed glibc packages to their projects. |
Another hack around here - there's really no reason that box64droid and mobox have to ship the full glibc runtime. Instead, it seems do-able to just have them use/share glibc packages from here when possible:
Here, you can use https://www.reddit.com/r/termux/comments/199nmym/good_news_for_apt_users_glibcpackages_are_now/ to keep the package management simple It might even be possible, if wine-glibc is (becomes?) a thing, to just install that for the sole purpose of getting these base dependencies. After that, there are just a few more things Mobox/box64droid would need to do:
I definitely think this is possible. I've gotten both to work with the glibc-packages runtime - outside of the libraries they ship on their own - and I've even gotten both to work with a fresh build of debian 12 (but with a custom overlayed runtime with the glibc-packages glibc + box64 + libxcb + libglvnd patches added to avoid the seccomp-filter/x11-socket/mesa-loader path issues) |
Good afternoon, when compiling gcc, with the prefix $PREFIX/glibc and $PREFIX/glibc_test I get the following errors.
What could be the reason?
The text was updated successfully, but these errors were encountered: