-mwarn-signed-overflow unknown

Torsten Mohr tmohr@s.netic.de
Sat Aug 13 07:22:00 GMT 2005


i try to set up a more extended toolchain for
--target==v850-unknown-elf.  I compiled and installed
binutils-2.16 and only and exactly gave the options
--target=v850-unknown-elf --prefix=/opt/v850-unknown-elf.

Configuring gcc-3.4.4 with the same options went fine,
but when building it i get an error:

/rest/tmp/bgcc/gcc/xgcc -B/rest/tmp/bgcc/gcc/ 
-isystem /opt/v850-unknown-elf/bin/v850-unknown-elf/include 
-isystem /opt/v850-unknown-elf/bin/v850-unknown-elf/sys-include -O2  -DIN_GCC 
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition  -isystem ./include -mno-app-regs 
-msmall-sld -Wa,-mwarn-signed-overflow -Wa,-mwarn-unsigned-overflow  -g  
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. 
-I../../gcc-3.4.4/gcc -I../../gcc-3.4.4/gcc/. 
-I../../gcc-3.4.4/gcc/../include  -DL_mulsi3 -xassembler-with-cpp 
-c ../../gcc-3.4.4/gcc/config/v850/lib1funcs.asm -o libgcc/./_mulsi3.o
as: Unbekannte Option »-mwarn-signed-overflow«

This translates to something like "unknown option".

Is this a problem of one of the following?
- binutils
- gcc
- my configure options

"-mwarn-signed-overflow" is set in gcc/gcc/config/v850/t-v850

Is there an option for binutils to support -warn-signed-overflow
(and also unsigned-overflow)?

If not, is it safe to remove these options for V850 in TCFLAGS?
Is this a bug of gcc-3.4.4 then?

Best regards,

More information about the Binutils mailing list