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
On Sep 1, 2013, at 12:35 PM, Klemen Košir wrote:
> I'm using -Os since I'll be installing it on a USB drive.
That shouldn't be the definitive reason for using -Os. If you
understand what Os does, it wouldn't matter where you are installing
the binaries. It has to do with which system you wi
I solved it by removing the flags.
On Sun, Sep 1, 2013 at 7:46 PM, William Harrington wrote:
>
> On Sep 1, 2013, at 12:15 PM, Klemen Košir wrote:
>
> I get the same error. It's a normal warning, but gcc treats it as an error.
>
>
> Gotta reconfigure the build system.
>
> If you remove CFLAGS and
Klemen Košir wrote:
> I get the same error. It's a normal warning, but gcc treats it as an error.
>
>
> On Sun, Sep 1, 2013 at 6:56 PM, Bruce Dubbs wrote:
>
>> Klemen Košir wrote:
>>> I followed the instructions, but I set several environment variables:
>>>
>>> MAKEFLAGS="-j 4"
>>> CFLAGS="-march=
On Sep 1, 2013, at 12:15 PM, Klemen Košir wrote:
I get the same error. It's a normal warning, but gcc treats it as an
error.
Gotta reconfigure the build system.
If you remove CFLAGS and CXXFLAGS and rebuild binutils from scratch,
you will not see the error again.
It has to do with -Os a
I'm using -Os since I'll be installing it on a USB drive.
I've compiled the package from scratch now, and everything works OK now.
Thanks for the tips.
On Sun, Sep 1, 2013 at 7:05 PM, Ken Moffat wrote:
> On Sun, Sep 01, 2013 at 06:23:47PM +0200, Klemen Košir wrote:
> > I followed the instructi
On Sep 1, 2013, at 11:23 AM, Klemen Košir wrote:
../../binutils-2.23.2/binutils/stabs.c:2797:57: error: 'physname'
may be used uninitialized in this function [-Werror=maybe-
uninitialized]
variants[cvars] = debug_make_static_method_variant (dhandle,
Just to note,
This will arise whe
I get the same error. It's a normal warning, but gcc treats it as an error.
On Sun, Sep 1, 2013 at 6:56 PM, Bruce Dubbs wrote:
> Klemen Košir wrote:
> > I followed the instructions, but I set several environment variables:
> >
> > MAKEFLAGS="-j 4"
> > CFLAGS="-march=corei7 -Os -pipe"
> > CXXFLA
On Sun, Sep 01, 2013 at 06:23:47PM +0200, Klemen Košir wrote:
> I followed the instructions, but I set several environment variables:
>
> MAKEFLAGS="-j 4"
> CFLAGS="-march=corei7 -Os -pipe"
> CXXFLAGS="${CFLAGS}"
For some time, -Os has been deprecated in kernel builds. It got
introduced there w
On Sep 1, 2013, at 11:23 AM, Klemen Košir wrote:
CFLAGS="-march=corei7 -Os -pipe"
Remove Os, restart the build from scratch and see if the error removes
itself.
Sincerely,
William Harrington--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Klemen Košir wrote:
> I followed the instructions, but I set several environment variables:
>
> MAKEFLAGS="-j 4"
> CFLAGS="-march=corei7 -Os -pipe"
> CXXFLAGS="${CFLAGS}"
>
> The error:
>
> ../../binutils-2.23.2/binutils/stabs.c: In function 'parse_stab_type':
> ../../binutils-2.23.2/binutils/stabs
I followed the instructions, but I set several environment variables:
MAKEFLAGS="-j 4"
CFLAGS="-march=corei7 -Os -pipe"
CXXFLAGS="${CFLAGS}"
The error:
../../binutils-2.23.2/binutils/stabs.c: In function 'parse_stab_type':
../../binutils-2.23.2/binutils/stabs.c:2797:57: error: 'physname' may be
On Sep 1, 2013, at 10:03 AM, Klemen Košir wrote:
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.
This wil
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
14 matches
Mail list logo