NetBSD-Bugs archive

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

port-vax/41277: libc/gdtoa/hdtoa.c will not compile on vax with gcc 4.3.3



>Number:         41277
>Category:       port-vax
>Synopsis:       libc/gdtoa/hdtoa.c will not compile on vax with gcc 4.3.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 25 03:30:00 +0000 2009
>Originator:     Kurt Lidl
>Release:        netbsd-5
>Organization:
>Environment:
cross-building for a vax, from a solaris x86 machine,
using gcc 4.3.3

>Description:
Since I spent a bunch of time getting gcc 4.3.3 to run
as a cross-compiler in the netbsd tree, I figured I'd
see if it could work for something other than a coldfire.

I picked the vax, since I know its support in gcc is,
um, a little weak.

Anyway:

#   compile  libc/hdtoa.o
/nbsd/vax-5/tools/bin/vax--netbsdelf-gcc -O1 -fgcse -fstrength-reduce 
-fgcse-after-reload -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings 
-Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra 
-Wno-unused-parameter -std=gnu99  -Werror  -pipe  -fstack-protector 
-Wstack-protector --param ssp-buffer-size=1   -D_LIBC -DLIBC_SCCS 
-DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP 
-I/nbsd/nbsd-5/lib/libc/include -I/nbsd/nbsd-5/lib/libc -I. -I/nbsd/nbsd-5/sys 
-I/nbsd/nbsd-5/lib/libc/compat/stdlib -I/nbsd/nbsd-5/lib/libc/compat/../stdlib 
-I/nbsd/nbsd-5/lib/libc/../../common/lib/libc/quad 
-I/nbsd/nbsd-5/lib/libc/../../common/lib/libc/string 
-I/nbsd/nbsd-5/lib/libc/../../common/lib/libc/arch/vax/string 
-D__DBINTERFACE_PRIVATE -I/nbsd/nbsd-5/libexec/ld.elf_so 
-I/nbsd/nbsd-5/lib/libc/dlfcn -I/nbsd/nbsd-5/lib/libc/gdtoa -DNO_FENV_H 
-I/nbsd/nbsd-5/lib/libc/arch/vax/gdtoa -DWITH_RUNE -I/nbsd/nbsd-5/lib/
 libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE 
-DALL_STATE -DUSG_COMPAT  -D_FORTIFY_SOURCE=2  -nostdinc -isystem 
/nbsd/vax-5/nbuild/usr/include -c    /nbsd/nbsd-5/lib/libc/gdtoa/hdtoa.c -o 
hdtoa.o
cc1: warnings being treated as errors
/nbsd/nbsd-5/lib/libc/gdtoa/hdtoa.c: In function '__hdtoa':
/nbsd/nbsd-5/lib/libc/gdtoa/hdtoa.c:164: error: floating constant exceeds range 
of 'double'


>How-To-Repeat:
build libc with gcc 4.3.3

>Fix:



Home | Main Index | Thread Index | Old Index