LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-13-2023, 11:34 AM   #16
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,811

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486

Quote:
Originally Posted by shelldweller View Post
By the way... the last time I tried to run Firefox on an i586 CPU, I'm pretty sure I got a segmentation fault, not the CPU ISA message in the OP.
The error message "CPU ISA level is lower than required" comes from the dynamic loader /lib64/ld-linux-x86-64.so.2, at least on a 64-bit system. I don't know if there is a similar convention in 32-bit linux. There is info about ISA level in the elf header of the binary itself, in note .note.gnu.property, for example
Code:
$ readelf -n /usr/bin/ls    

Displaying notes found in: .note.gnu.property
  Owner                Data size        Description
  GNU                  0x00000020       NT_GNU_PROPERTY_TYPE_0
      Properties: x86 feature used: x86, x87, XMM
        x86 ISA used: x86-64-baseline

Displaying notes found in: .note.ABI-tag
  Owner                Data size        Description
  GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
    OS: Linux, ABI: 3.2.0
So, the dynamic loader checks all the shared objects needed (see ldd output) what is the highest ISA level needed, whether the CPU ISA level is high enough. No blindly executing and getting a segmentation fault any longer. There could be 'x86 ISA used: x86-64-v2' or x86-64-v3 or x86-64-v4 instead of x86-64-baseline.

EDIT: I guess this wouldn't prevent firefox crashing, as firefox-bin does not have .note.gnu.property. I guess the gnu toolchain would be needed instead of llvm/clang/lld.

Last edited by Petri Kaukasoina; 07-13-2023 at 12:43 PM.
 
1 members found this post helpful.
Old 07-13-2023, 03:10 PM   #17
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 976

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by Minime_2003 View Post
If you upgraded glibc packages you are begging for problems as you will have to rebuild more or less the hole system, this is due to that more or less all packages are built against glibc...
Quote:
Originally Posted by marav View Post
thankfully not
glibc is backward compatible
From the ChangeLog of Slackware 15.0:

Code:
+--------------------------+
Mon Feb 15 19:23:44 UTC 2021
Here we go again... upgraded to glibc-2.33 and one last mass rebuild for
Slackware 15.0. The only packages upgraded in this batch are glibc and the
kernels - everything else is just a rebuild against the new glibc.
Many years ago I messed up my system by upgrading glibc, things might have gotten better since then with version information in the libraries, but to me it still seems to be a need to recompile applications and other libraries.

regards Henrik
 
Old 07-13-2023, 08:01 PM   #18
the3dfxdude
Member
 
Registered: May 2007
Posts: 734

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
Quote:
Originally Posted by henca View Post
From the ChangeLog of Slackware 15.0:

Code:
+--------------------------+
Mon Feb 15 19:23:44 UTC 2021
Here we go again... upgraded to glibc-2.33 and one last mass rebuild for
Slackware 15.0. The only packages upgraded in this batch are glibc and the
kernels - everything else is just a rebuild against the new glibc.
Many years ago I messed up my system by upgrading glibc, things might have gotten better since then with version information in the libraries, but to me it still seems to be a need to recompile applications and other libraries.

regards Henrik
Without more context on what it was bumped from, this could be considered "freshening-up", which can be a good thing during distro maintenance (there was alot of that in the 15.0 dev). Recompiles do happen, but you don't necessarily have to rebuild everything. I have continued to run packages from Slackware 14.2 that I have built myself. Honestly if it aint broke, don't mess with it is a really good philosophy. Pat has been pretty good at handling rebuilds -- in the past it was slower paced on the amount of recompiling done. But alot of good work has went into the scripts, so I think it has picked up including more packages in the different phases as the package count increased.

If you have done LFS, you'll know a bit on how things work. But for glibc, I would never replace it on a stable release. Following -current can be a cause for concern if you have to track your changes on top of this. But what is even more an issue would be when you start pulling third party packages that have bleeding edge requirements. If certain distros are bumping the architecture flags more frequently, then more of these questions are going to keep coming in. It'd be nice to know the details on what was being done here.
 
1 members found this post helpful.
Old 07-14-2023, 12:39 AM   #19
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
https://www.gnu.org/software/libc/
Quote:
The GNU C Library is designed to be a backwards compatible, portable, and high performance ISO C library.
The project was started circa 1988 and is more than 30 years old.
It is designed to be backwards compatible, however I'm not really sure it is still [really] compatible with the [really] old releases. And if I remember correctly, it [=compatibility] broke down once somewhere before 2.30. But anyway it is strictly tied to the kernel too (and these are [loosely] coupled by the compiler itself).
 
1 members found this post helpful.
Old 07-22-2023, 08:14 PM   #20
nugax
LQ Newbie
 
Registered: Jun 2023
Posts: 11

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by LuckyCyborg View Post
Probably Firefox on Slackware 15.0 with arch i586 and a really old CPU.
Nope. BBBS software on a VM running new tech. BBBS needs glibc 2.37.
 
1 members found this post helpful.
Old 07-23-2023, 01:38 AM   #21
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 145

Rep: Reputation: 58
For lovers of slackware 14.2
https://sourceware.org/git/?p=glibc....se/2.23/master

For lovers of slackware 15.0
https://sourceware.org/git/?p=glibc....se/2.33/master
 
Old 07-23-2023, 03:58 AM   #22
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,811

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by nugax View Post
software on a VM
This would have been good info in the beginning that you are running on a VM. Your VM is misconfigured. Select a CPU model which supports x86-64-v2, or whatever is needed, instead of plain x86-64-v1.

Last edited by Petri Kaukasoina; 07-23-2023 at 04:00 AM.
 
1 members found this post helpful.
Old 07-23-2023, 04:07 AM   #23
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,811

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by nugax View Post
BBBS needs glibc 2.37.
Is it available somewhere? I found this: https://www.bbbs.net/simka/bbbs-2021...nux-64.tar.bz2. It needs only glibc 2.14.
 
2 members found this post helpful.
Old 07-23-2023, 04:50 AM   #24
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,385

Rep: Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105
It would be surprising if a software released in 2021
needed a library released in 2023.
 
3 members found this post helpful.
Old 07-23-2023, 08:55 AM   #25
the3dfxdude
Member
 
Registered: May 2007
Posts: 734

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
It would be surprising if a software that has a current release on OS/2 requires anything from glibc or x86-64-v2.
I think OP should go to the provider of the bbbs software and ask them to compile the software to a baseline 64-bit cpu on a baseline distro instead of using a bleeding edge distro if they want to advertise it as "64-bit linux". As far as we know this is a very specific binary for a single distro that is only going to work in a specific scenario.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RH 9.0 glibc rpm says it needs glibc-common, but glibc-common is installed whitshade Red Hat 2 04-28-2007 05:49 PM
glibc 2.3.2 => glibc 2.3.3 causes bash & syslog issues natetheros Red Hat 1 09-27-2004 01:35 AM
Upgrading glibc-2.2.4 to glibc-2.3.2 on redhat 7.2 Shuja Linux From Scratch 2 07-30-2004 12:34 AM
upgrade glibc-2.2.4 to glibc-2.3.2 on redhat 7.2 Shuja Red Hat 0 07-28-2004 06:10 AM
Possible bug in glibc-devel-2.2.93-5 and glibc-devel-2.2.5 mark_umr Linux - Software 1 10-22-2002 01:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration