Read through the indicated log to see if the failure is identified. Usually there is a summary at the end of that log with more details at the failure point.
It seems we need more info.
Please post the output of dnf list installed \*nvidia\* and please use the </> button on the toolbar (preformatted text) so it retains the on screen formatting when you copy and paste text from your screen.
gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
Yes – . -fmin-function-alignment=16 is supported in gcc (GCC) 14.1.1 20240701 (Red Hat 14.1.1-7) here. Many users often switch between different compilers using “Environment Modules”. This capability was available in SGI IRX64 decades ago. I use a newer implementation:
% dnf info Lmod
Last metadata expiration check: 0:28:34 ago on Thu 25 Jul 2024 03:36:46 PM.
Installed Packages
Name : Lmod
Version : 8.7.37
Release : 1.fc40
Architecture : x86_64
Size : 1.2 M
Source : Lmod-8.7.37-1.fc40.src.rpm
Repository : @System
From repo : fedora
Summary : Environmental Modules System in Lua
URL : https://www.tacc.utexas.edu/tacc-projects/lmod
License : MIT AND LGPL-2.0-only
Description : Lmod is a Lua based module system that easily handles the MODULEPATH
: Hierarchical problem. Environment Modules provide a convenient way to
: dynamically change the users' environment through modulefiles. This includes
: easily adding or removing directories to the PATH environment variable.
: Modulefiles for library packages provide environment variables that specify
: where the library and header files can be found.
If you installed gcc-13.2 in some private directory it should be easy to follow the examples in “Writing Lua Modulefiles” (/usr/share/doc/Lmod/README_lua_modulefiles.txt) to create a ~/privatemodule/compilers/gcc13.lua. To use gcc13 you would just run ml load gcc13.
However, the default gcc for f40 at present seems to be 14.1.1-7.
If you downgraded gcc to 13.2 it may certainly cause problems in compilation and potentially other areas as well. Particularly since software should be in sync throughout the system and the linked libraries will no longer match what the compiled software expects.
This type of issue is a self caused problem and can be avoided by not making such a major change to the system.
Note that this thread had a solution marked at post 61, and is now lingering on with different issues at post 122+.
I strongly suggest that you open a new thread with the current issues so this one that already has a marked solution can end.
can 't find the thread , any link ? or explain quickly how to find a thread by its number , which will be even better, if u can>. I did put #61 in search bar but couldn’t find the thread
thanks but your solution is way to advanced for my knowledge in computer . i did install gcc 13.2because it was needed for qa dlib python library. i had no idea that it could affect the rest of the system , don’t know nothing about " environment modules’ , or “writing Lua Modulefiles” which is for me like an alien language . netherless i appreciate your concern , but i think that after some months using linux it may not be a good system for me , i’m using it only for AI image generation but it’s so fragile in a way , at least for me. I never reinstall so many times a system on a computer, coming from mac never face this pb maybe not even with windows and god knows i hate windows, but i may have to go back with it. Anyway thanks trying to help
oh ok i get it now, sorry as english isn’t my first language, i thought you said my actual pb had a solution in a #60 thread , so i was surprised to just get back in time in the thread , but now i find out that you mentioned that this thread was already consider as solution found > Sorry for my mistake
Reinstalling usually loops back to the same issue. Linux has excellent tools to help us understand and fix problems, and, unlike Windows, the underlying details are not secret until you run into one of the (increasingly common) commercial products like Nvidia that rely on “proprietary” code.
The difference is that computer makers pre-install Windows and make changes to ensure it works. You can, however, buy systems with linux pre-installed, and Nvidia is making changes (only for recent hardware) that should allow more US-based distributions to legally ship working drivers.
Another problem new users often encounter is low-quality clickbait sites offering “easy solutions” to linux problems that do more harm that good.
If you stick with Linux you will find it important to be able to use command-line tools in a terminal. At work I used to “practical sessions” for workshops where PhD level scientists from developing countries were introduced to specialized command-line software that required linux or macOS. Most participants had only used Windows. We spent the first afternoon of a 2-week program with Linux Command – not teaching much about linux, but ensuring that participants had basic familiarity with the command line and a reliable source of information that they could use after returning to their home institutions. We also advised participants to seek out linux users at their home institutions – many are eager to help new users get off to a good start.