Klemen Košir wrote: > Hello! > > Today, I've been compiling LFS 7.4-rc2, and I got stuck in chapter 6.13, > where binutils failed to compile. > > I looked at the compile log and I've found a warning regarding the variable > physname in binutils/stabs.c being used uninitialized. The compiler turned > the warning into an error. Maybe the reason for this was the -O2 compiler > flag. > > I found a way to fix the error by looking at the commit log on the official > Git repository, and this [1] is the solution.
The better way is to not try to outguess upstream and change the optimization flags. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page