-mwarn-signed-overflow unknown

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

-mwarn-signed-overflow unknown

Torsten Mohr
Hi,

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/
-B/opt/v850-unknown-elf/bin/v850-unknown-elf/bin/
-B/opt/v850-unknown-elf/bin/v850-unknown-elf/lib/
-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
in TCFLAGS.


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,
Torsten.
Reply | Threaded
Open this post in threaded view
|

Re: -mwarn-signed-overflow unknown

Alan Modra
On Sat, Aug 13, 2005 at 09:26:51AM +0200, Torsten Mohr wrote:
[snip]
> -msmall-sld -Wa,-mwarn-signed-overflow -Wa,-mwarn-unsigned-overflow  -g  
[snip]
> Is this a problem of one of the following?
> - binutils
> - gcc
> - my configure options

The latter, or an incorrect PATH environment var.  I would guess that
you are not using your new assembler.

--
Alan Modra
IBM OzLabs - Linux Technology Centre