SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
@a4z I was going to test your latest example, but I found it just ate all my ram and then started to make my system very slow when it filled the swap too. That said the a32 version ate less ram and was able to complete before the swap was hit too hard. Would you mind satisfying my curiosity and running them with strace -fc? It'd be interesting to see if there is a difference in the number of system calls used.
Maybe I'm confused, but I thought this discussion was about building and running 32-bit programs on Slackware64 and not cross-compiling 32-bit programs on Slackware64 intended for use on 32-bit systems?
55020's example is just noise and has nothing to do with what we discuss here. he can not build the hello world I posted, he is just making noise for something that has nothing to do with the topic of he requirement of a multilib compiler for several use cases.
The 3 persons that found his post helpful should stop reading here, they obviously do not understand the topic and believe in the wrong persons, persons that tell them what they would like to hear, even if this has nothing to do with reality. This is why such post are so bad. They create wrong information and are actual damaging to Slackware and the Slackware community here.
To run a Slackware 32-bit operating system on top of a 64bit kernel from Slackware64. Fedora done something similar for long time.
thanks for the next meaningless and irrelevant OT noise, Darth Vader, did you troll enough in the KDE5 thread, now this one again?
can not admins give you a week break, or so. (please do not reply, there is already enough OT noise here, thanks)
The end result is running the 32bit software on top of a 64bit kernel, just like in a glorified and really full-fledged Multi-Lib.
BTW, while for my shame I have no benchmarks, from my empirical observations, 32bit software on top of a 64bit kernel feels snappier[1]. I talk about things like a full desktop environment.
I may be wrong, but this is what I believe.
[1] Damn, I'd just realized that I sent a huge ball right to the Multi-Lib fans side, but I keep my statement and beliefs.
Last edited by Darth Vader; 07-06-2018 at 09:58 AM.
The end result is running the 32bit software on top of a 64bit kernel, just like in a glorified and really full-fledged Multi-Lib.
BTW, while for my shame I have no benchmarks, from my empirical observations, 32bit software on top of a 64bit kernel feels snappier. I talk about things like a full desktop environment.
I may be wrong, but this is what I believe.
You ignore what I have written, just to repeat the no need for multilib and I shall think this is not trolling?
Darth, how shall I compile my code to 32 bit, not cross compile, when there is no compiler for this? what is one of the use cases we are talking about an that you are kindly ignore, and I shall think you are not trolling?
Darth, how shall I compile my code to 32 bit, not cross compile, when there is no compiler for this? what is one of the use cases we are talking about an that you are kindly ignore, and I shall think you are not trolling?
You are kidding, right? Obviously, the compiler and linker from the Slackware 32-bit generates natively 32bit code. The issue is instead on how you generate x86_64 code, like I stated.
Please read my post again; I talk about running the whole 32bit hog - a full Slackware 32bit install, but with a 64bit kernel.
Same do a Multi-Lib feature, where the 32bit code is executed literally (starting from GLIBC) on a 32bit environment, but on top of the 64bit kernel.
Last edited by Darth Vader; 07-06-2018 at 10:23 AM.
You are kidding, right? Obviously, the compiler and linker from the Slackware 32-bit generates natively 32bit code. The issue is on how you generate x86_64 code, like I stated.
Please read my post again; I talk about running the whole 32bit hog - a full Slackware 32bit install, with a 64bit kernel.
Same do a Multi-Lib feature, where the 32bit code is executed literally (starting from GLIBC) on a 32bit environment, but on top of the 64bit kernel.
who is kidding whom? you need to convert all packages via Eric scripts because everything not in /lib /usr/lib will override what Slackware64 ships, this is a super bad idea what you suggest in you desperation to hold your multilib opposition. Just give up you justament standpoint against multilib, you have nothing productive to add to this topic. If you do not stop and bring an other unusable or not comparable point, like running a container or VM, I will consider you as troll and you will be next to jakedp on the ignore list, what would be sad because very somtimes you have a valid point, but too many people have already created damage to this topic with nonsens alternative, like the one you just suggest, so if you do not stop ...
an other unusable or not comparable point, like running a container
sorry, why this is not comparable?
containers are just compartmentalized processes running under the same kernel, you even see them running along the others with ps on the host, and you also will have available a native 32bit compiler in the container...
I sincerily don't understand.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Rep:
A reminder that flame wars and personal attacks are not acceptable here. From the rules: Challenge others' points of view and opinions, but do so respectfully and thoughtfully ... without insult and personal attack. Differing opinions is one of the things that make this site great.
There seem to be a very small number of members who are unable to do this on a consistent basis. I'd ask everyone to keep this in mind if they'd like to continue participating here.
If I understand correctly this is about half the system calls and certainly shows why its faster. Of course I understand this is not the most meaningful example since different code bases may react differently.
sorry, why this is not comparable?
containers are just compartmentalized processes running under the same kernel, you even see them running along the others with ps on the host, and you also will have available a native 32bit compiler in the container...
I sincerily don't understand.
since they do not cover all use cases, like , nvida drivers, gaming , .....
whole picture, remember
Let's put that in layman's terms: you are able to compile your 32bit applications on a standard and full installation of Slackware 32bit? Yes or No?
IF YES, then replace the kernel with the one from Slackware64 with no other changes, reboot and be happy.
you know what, Darth, create such a system as a VM that you share so that we can verify what you are talking about, compile the sample code I provided, show that it covers the other use cases like gaming wine etc and is superior to a multilib that come as default install, than I might believe that you are not a troll.
But until you have delivered what you are talking and prove that what you say is true, like I did with my claims, take a break from the forum You will of course not do this because you can not deliver what you are talking about. That shows the value of your posts. 0 , zero, nothing
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.