LinuxQuestions.org
Review your favorite Linux distribution.
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 05-14-2024, 07:29 PM   #4501
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 902

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412

Just curious, why gcc would cause some compiled apps to crash? Does it have some kind of runtime?
 
Old 05-14-2024, 07:32 PM   #4502
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,570

Rep: Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438
Quote:
Originally Posted by sombragris View Post
Just curious, why gcc would cause some compiled apps to crash? Does it have some kind of runtime?
Yep, it have.

The "worst" one is that /usr/lib{,64}/libgcc_s.so.1 mentioned by me in another thread.
 
1 members found this post helpful.
Old 05-14-2024, 07:37 PM   #4503
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,601

Rep: Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925
Quote:
Originally Posted by LuckyCyborg View Post
Yep, it have.

The "worst" one is that /usr/lib{,64}/libgcc_s.so.1 mentioned by me in another thread.
Insert "the more you know!" gif here. My brain sure wouldn't have gone to gcc as the culprit. My thought process would've been that which was changed, and gcc wouldn't have registered since nothing that's crashing was compiled against/with it.
 
1 members found this post helpful.
Old 05-14-2024, 07:52 PM   #4504
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 572

Rep: Reputation: 322Reputation: 322Reputation: 322Reputation: 322
So, are there now a whole bunch of items that will need to be rebuilt with gcc14 ?

In other words... is there a mass rebuild coming in the near future ?

Last edited by glennmcc; 05-14-2024 at 07:54 PM.
 
1 members found this post helpful.
Old 05-14-2024, 07:54 PM   #4505
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,570

Rep: Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438Reputation: 3438
Quote:
Originally Posted by glennmcc View Post
So, are there now a whole bunch of items that will need to be rebuilt with gcc14 ?
Well, technically... ALL.

My bet is that on a particular town from Minnesota the lights started to flicker erratically, because our BDFL powered up his entire computers fleet for a really Mass Rebuild.

Let's hope that no compile errors will happen, thought...

Last edited by LuckyCyborg; 05-14-2024 at 07:58 PM.
 
4 members found this post helpful.
Old 05-14-2024, 07:57 PM   #4506
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 902

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Well, I'm happy to report that things have gone back to normal.

I tried to revert first to gcc 13.2. System still messed.

Reverted the kernel to 6.6.30, and only then, with kernel 6.6.30 and gcc-13.2, I got things back to normal.

Considering reports from willy, I think that the culprit may have been the newest kernel; not in itself, but because it might have been built with gcc-14.

Will keep investigating. Thanks everyone for their advice.
 
Old 05-14-2024, 08:08 PM   #4507
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 572

Rep: Reputation: 322Reputation: 322Reputation: 322Reputation: 322
Quote:
Originally Posted by ponce View Post
looking at the gazillion of fixes Pat had to do for gcc 14.x I doubt that stuff on SBo won't need a similar treatment...

https://git.slackware.nl/current/commit/?id=abc3e67
After the fiasco today... I wonder how many more gazillions of fixes Patrick will now need to make.
 
1 members found this post helpful.
Old 05-14-2024, 08:15 PM   #4508
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,601

Rep: Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925
Quote:
Originally Posted by glennmcc View Post
After the fiasco today... I wonder how many more gazillions of fixes Patrick will now need to make.
I hope not many because 6.9's been pretty good for me.
 
Old 05-14-2024, 08:19 PM   #4509
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 902

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
Originally Posted by garpu View Post
I hope not many because 6.9's been pretty good for me.
I think the kernel itself it's good; what caused the instability might have been that it had been built with that bugged gcc. Just a speculation but at least it makes sense.
 
Old 05-14-2024, 08:23 PM   #4510
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,601

Rep: Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925
Quote:
Originally Posted by sombragris View Post
I think the kernel itself it's good; what caused the instability might have been that it had been built with that bugged gcc. Just a speculation but at least it makes sense.
I played about an hour of Diablo IV after dinner, then loaded palworld again, just to see if it would crash with the issue I had in 6.6.30. (Everything was fine. I did have a memory leak, but Diablo IV is horrible in that regard.) Youtube videos while playing vampire survivors, and everything seems OK...then again neither are very demanding nor use qt.

ETA: I'm on xfce4.

Last edited by garpu; 05-14-2024 at 10:07 PM.
 
Old 05-14-2024, 09:51 PM   #4511
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,684

Rep: Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800
As stated by Ponce, some of the sources have been patched to work with GCC 14, but maybe not all of them need to be rebuilt, so that's why Patrick didn't do a mass rebuild. At least the sources have been tested to work with GCC 14, but only at build time. We still have runtime issue, like what we had right now
 
Old 05-14-2024, 10:06 PM   #4512
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 902

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
@LuckyCyborg suggested I rebuild kernel 6.9 with gcc 13.2, and I plan to do that next.
 
Old 05-14-2024, 10:27 PM   #4513
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,545

Rep: Reputation: 8547Reputation: 8547Reputation: 8547Reputation: 8547Reputation: 8547Reputation: 8547Reputation: 8547Reputation: 8547Reputation: 8547Reputation: 8547Reputation: 8547
Quote:
Originally Posted by willysr View Post
As stated by Ponce, some of the sources have been patched to work with GCC 14, but maybe not all of them need to be rebuilt, so that's why Patrick didn't do a mass rebuild. At least the sources have been tested to work with GCC 14, but only at build time. We still have runtime issue, like what we had right now
It is usually better to get things ready to rebuild, but to rebuild as little as possible, in case of buggy gcc.
 
1 members found this post helpful.
Old 05-14-2024, 10:36 PM   #4514
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,684

Rep: Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800
Quote:
Originally Posted by volkerdi View Post
It is usually better to get things ready to rebuild, but to rebuild as little as possible, in case of buggy gcc.
yeah, we can understand the load to do a mass rebuild, so your approach is already the best solution
 
1 members found this post helpful.
Old 05-15-2024, 12:17 AM   #4515
henca
Senior Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 1,009

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Quote:
Originally Posted by sombragris View Post
The only message left is "Illegal instruction".
When this happens it usually means that a binary program has been compiled with flags allowing the use of instructions that is lacking on your CPU. Examples of such instructions might be SSE and AVX in different generations. Having instructions not supported by your CPU in the executable program itself or some dynamic library used by the program will cause a crash with that error message when trying to use that instruction.

regards Henrik
 
2 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
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

All times are GMT -5. The time now is 11:03 PM.

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