bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/19854] New: Build fails with gcc<4.9: -Wstack-usage not su


From: faraz.shahbazker at imgtec dot com
Subject: [Bug binutils/19854] New: Build fails with gcc<4.9: -Wstack-usage not support
Date: Tue, 22 Mar 2016 17:07:06 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19854

            Bug ID: 19854
           Summary: Build fails with gcc<4.9: -Wstack-usage not support
           Product: binutils
           Version: 2.27 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: faraz.shahbazker at imgtec dot com
  Target Milestone: ---

Build fails because older gcc versions (<4.9) do not have a -Wstack-usage=
option. Problem commit is: e1fa0163505af867009ea73fc5f705162120e795

Configured with:
/scratch/gcc/nightly/src/binutils/configure --enable-werror

Lots of errors like:
libtool: compile:  gcc -DHAVE_CONFIG_H -I.
-I/local/frs/build/gccbuild/src/binutils-gdb/bfd -I.
-I/local/frs/build/gccbuild/src/binutils-gdb/bfd
-I/local/frs/build/gccbuild/src/binutils-gdb/bfd/../include
-DHAVE_x86_64_elf64_vec -DHAVE_i386_elf32_vec -DHAVE_iamcu_elf32_vec
-DHAVE_x86_64_elf32_vec -DHAVE_i386_aout_linux_vec -DHAVE_i386_pei_vec
-DHAVE_x86_64_pei_vec -DHAVE_l1om_elf64_vec -DHAVE_k1om_elf64_vec
-DHAVE_elf64_le_vec -DHAVE_elf64_be_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec
-DHAVE_plugin_vec -DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Werror -Wstack-usage=262144
-I/local/frs/build/gccbuild/src/binutils-gdb/bfd/../zlib -g -O2 -MT archive.lo
-MD -MP -MF .deps/archive.Tpo -c
/local/frs/build/gccbuild/src/binutils-gdb/bfd/archive.c -o archive.o
cc1: error: unrecognized command line option ‘-Wstack-usage=262144’

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object
--enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]