Subject: compiling jemalloc.c failed
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 11/30/2007 14:06:16
Hi,
build.sh distribution on amd64 stopped with:
compile libc/jemalloc.ln
/u/NetBSD/src/lib/libc/stdlib/jemalloc.c(1477): warning: conversion of poin=
ter to 'unsigned int' loses bits [133]
compile libc/jemalloc.o
cc1: warnings being treated as errors
/u/NetBSD/src/lib/libc/stdlib/jemalloc.c: In function 'choose_arena':
/u/NetBSD/src/lib/libc/stdlib/jemalloc.c:1477: warning: cast from pointer t=
o integer of different size
/u/NetBSD/src/lib/libc/stdlib/jemalloc.c: In function 'choose_arena_hard':
/u/NetBSD/src/lib/libc/stdlib/jemalloc.c:1515: warning: cast to pointer fro=
m integer of different size
*** Failed target: jemalloc.o
*** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -O2 -=
pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-si=
gn-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Ww=
rite-strings -Wextra -Wno-unused-parameter -std=3Dgnu99 -Werror -march=3Dop=
teron -fstack-protector -Wstack-protector --param ssp-buffer-size=3D1 -D_LI=
BC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP -I/u=
/NetBSD/src/lib/libc/include -I/u/NetBSD/src/lib/libc -I/u/NetBSD/src/sys -=
I/u/NetBSD/src/lib/libc/compat/stdlib -I/u/NetBSD/src/lib/libc/compat/../st=
dlib -I/u/NetBSD/src/lib/libc/../../common/lib/libc/quad -I/u/NetBSD/src/li=
b/libc/../../common/lib/libc/string -I/u/NetBSD/src/lib/libc/../../common/l=
ib/libc/arch/x86_64/string -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=3D4 -=
DCITRUS -I/u/NetBSD/src/libexec/ld.elf_so -I/u/NetBSD/src/lib/libc/dlfcn -I=
/u/NetBSD/src/lib/libc/gdtoa -DNO_FENV_H -I/u/NetBSD/src/lib/libc/arch/x86_=
64/gdtoa -DCITRUS_ICONV -DWITH_RUNE -I/u/NetBSD/src/lib/libc -DPOSIX_MISTAK=
E -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT=
-D_FORTIFY_SOURCE=3D2 -nostdinc -isystem /u/NetBSD/arch/amd64/dest/usr/inc=
lude -c /u/NetBSD/src/lib/libc/stdlib/jemalloc.c -o jemalloc.o
*** Error code 1
Stop.
Kurt