Current-Users archive

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

Build failure - evbmips

With "-m evbmips -a mipseb" I get the following build errors:

#   compile  libm/s_exp2.po
/build/netbsd-local/tools/x86_64/mipseb-evbmips/bin/mipseb--netbsd-gcc -O2 
-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 
-Wsign-compare -std=gnu99  -Werror  -fno-strict-aliasing  -D_MULTI_LIBM 
-D_POSIX_MODE -DLIBM_SCCS -I/build/netbsd-local/src/lib/libm/gen  -nostdinc 
-isystem /build/netbsd-local/dest/mipseb-evbmips/usr/include -c -DGPROF -DPROF  
  -pg /build/netbsd-local/src/lib/libm/src/s_exp2.c -o s_exp2.po
/build/netbsd-local/src/lib/libm/src/s_exp2.c:398:29: error: macro 
"__weak_reference" passed 2 arguments, but takes just 1
cc1: warnings being treated as errors
/build/netbsd-local/src/lib/libm/src/s_exp2.c:398: warning: data definition has 
no type or storage class
/build/netbsd-local/src/lib/libm/src/s_exp2.c:398: warning: type defaults to 
'int' in declaration of '__weak_reference'
*** [s_exp2.po] Error code 1

The same sources (updated as of 2010-01-11 19:52:06 UTC) build fine in port-amd64

|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at |
| Kernel Developer |                          | pgoyette at  |

Home | Main Index | Thread Index | Old Index