NetBSD-Bugs archive

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

about bugs of build.sh on landik



Dear all.
Ihave some problem about build.sh about landisk on
NetBSD 5.0.1 platform.
gcc: 4.1.3 20080704 prerelease (NetBSD nb2 20081120)

command: cd /usr/src
./build.sh -m landisk -O ../obj_landisk -T ../tools landisk -U release

This is the mk.conf file.

#MKPROFILE = no
#MKCOMPAT = no
#MKX11 = no
#MKPUFFS = no
#MKSKEY = no
#MKYP = no

#MKSTRIPIDENT = YES
#USE_SKEY = no
#USE_YP = no
#USE_INET6 = no
#USE_HESIOD = no

#CFLAGS += -fforce-addr
#CXXFLAGS += -fforce-addr

#STRIPFLAG = -s
CPUFLAGS = -m4-nofpu
#COPTS = -Os -freorder-blocks

MAKEOPTS = -j3
#PTHREAD_TYPE = native


And this is the error log.

===> build.sh command: ./build.sh -m landisk -O ../obj_landisk/ -T
../tools_landisk/ -U release
===> build.sh started: Tue Aug 25 03:05:05 JST 2009
===> NetBSD version: 5.0.1
===> MACHINE: landisk
===> MACHINE_ARCH: sh3el
===> Build platform: NetBSD 5.0.1 i386
===> HOST_SH: /bin/sh
===> TOOLDIR path: /usr/src/../tools_landisk
===> DESTDIR path: /usr/src/../obj_landisk/destdir.landisk
===> RELEASEDIR path: /usr/src/../obj_landisk/releasedir
===> makewrapper: /usr/src/../tools_landisk/bin/nbmake-landisk
===> Updated /usr/src/../tools_landisk/bin/nbmake-landisk
distribution ===> .
build ===> . (with: NOPOSTINSTALL=1)
Build started at: Tue Aug 25 03:05:06 JST 2009
check-tools ===> .
cleandir ===> .
cleandir ===> tools
cleandir ===> tools/host-mkdep

........

# compile libwrap/hosts_access.ln
CC=/usr/src/../tools_landisk/bin/shle--netbsdelf-gcc
/usr/src/../tools_landisk/bin/shle--netbsdelf-lint -chapbxzFS -d
/usr/src/../obj_landisk/destdir.landisk/usr/include
-DFACILITY=LOG_AUTHPRIV -DSEVERITY=LOG_INFO
-DREAL_DAEMON_DIR=\"/usr/libexec\" -DHOSTS_ACCESS -DDAEMON_UMASK=022
-DRFC931_TIMEOUT=10 -DALWAYS_HOSTNAME -DHOSTS_ALLOW=\"/etc/hosts.allow\"
-DHOSTS_DENY=\"/etc/hosts.deny\" -DPROCESS_OPTIONS -D_FORTIFY_SOURCE=2
-i /usr/src/lib/libwrap/hosts_access.c
/usr/src/lib/libwrap/hosts_access.c(362): warning: conversion to
'unsigned int' due to prototype, arg #3 [259]
# compile libwrap/hosts_access.o
/usr/src/../tools_landisk/bin/shle--netbsdelf-gcc -Os -freorder-blocks
-fforce-addr -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings
-Wreturn-type -Wswitch -Wshadow -Werror -m4-nofpu -fstack-protector
-Wstack-protector --param ssp-buffer-size=1 -DFACILITY=LOG_AUTHPRIV
-DSEVERITY=LOG_INFO -DREAL_DAEMON_DIR=\"/usr/libexec\" -DHOSTS_ACCESS
-DDAEMON_UMASK=022 -DRFC931_TIMEOUT=10 -DALWAYS_HOSTNAME
-DHOSTS_ALLOW=\"/etc/hosts.allow\" -DHOSTS_DENY=\"/etc/hosts.deny\"
-DPROCESS_OPTIONS -D_FORTIFY_SOURCE=2 -nostdinc -isystem
/usr/src/../obj_landisk/destdir.landisk/usr/include -c
/usr/src/lib/libwrap/hosts_access.c -o hosts_access.o
/usr/src/../tools_landisk/bin/shle--netbsdelf-objcopy -x hosts_access.o
# compile libwrap/hosts_access.so
/usr/src/../tools_landisk/bin/shle--netbsdelf-gcc -Os -freorder-blocks
-fforce-addr -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings
-Wreturn-type -Wswitch -Wshadow -Werror -m4-nofpu -fstack-protector
-Wstack-protector --param ssp-buffer-size=1 -DFACILITY=LOG_AUTHPRIV
-DSEVERITY=LOG_INFO -DREAL_DAEMON_DIR=\"/usr/libexec\" -DHOSTS_ACCESS
-DDAEMON_UMASK=022 -DRFC931_TIMEOUT=10 -DALWAYS_HOSTNAME
-DHOSTS_ALLOW=\"/etc/hosts.allow\" -DHOSTS_DENY=\"/etc/hosts.deny\"
-DPROCESS_OPTIONS -D_FORTIFY_SOURCE=2 -nostdinc -isystem
/usr/src/../obj_landisk/destdir.landisk/usr/include -c -fPIC -DPIC
/usr/src/lib/libwrap/hosts_access.c -o hosts_access.so
/usr/src/lib/libwrap/hosts_access.c: In function 'table_match':
/usr/src/lib/libwrap/hosts_access.c:196: error: unable to find a
register to spill in class 'R0_REGS'
/usr/src/lib/libwrap/hosts_access.c:196: error: this is the insn:
(insn:HI 263 363 310 20 (set (reg/f:SI 1 r1 [275])
(mem/u/c:SI (plus:SI (reg:SI 12 r12)
(reg/f:SI 1 r1 [276])) [0 S4 A32])) 171 {movsi_i}
(insn_list:REG_DEP_TRUE 261 (nil))
(expr_list:REG_DEAD (reg/f:SI 1 r1 [276])
(expr_list:REG_EQUIV (symbol_ref:SI ("tcpd_context") [flags 0x40]
<var_decl 0xbb744de0 tcpd_context>)
(nil))))
/usr/src/lib/libwrap/hosts_access.c:196: confused by earlier errors,
bailing out

*** Failed target: hosts_access.so
*** Failed command: /usr/src/../tools_landisk/bin/shle--netbsdelf-gcc
-Os -freorder-blocks -fforce-addr -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional
-Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Werror -m4-nofpu
-fstack-protector -Wstack-protector --param ssp-buffer-size=1
-DFACILITY=LOG_AUTHPRIV -DSEVERITY=LOG_INFO
-DREAL_DAEMON_DIR=\"/usr/libexec\" -DHOSTS_ACCESS -DDAEMON_UMASK=022
-DRFC931_TIMEOUT=10 -DALWAYS_HOSTNAME -DHOSTS_ALLOW=\"/etc/hosts.allow\"
-DHOSTS_DENY=\"/etc/hosts.deny\" -DPROCESS_OPTIONS -D_FORTIFY_SOURCE=2
-nostdinc -isystem /usr/src/../obj_landisk/destdir.landisk/usr/include
-c -fPIC -DPIC /usr/src/lib/libwrap/hosts_access.c -o hosts_access.so
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libwrap

*** Failed target: dependall
*** Failed command: cd /usr/src/lib/libwrap;
/usr/src/../tools_landisk/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libwrap

*** Failed target: dependall-libwrap
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="lib/"; real="/usr/src/lib" ;; *) this="lib/${dir}/";
real="/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/src/../tools_landisk/bin/nbmake _THISDIR_="${this}" "$@" ${target};
}; _makedirtarget libwrap dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib

*** Failed target: do-lib
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/src/../tools_landisk/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget lib dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/src/../tools_landisk/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget . do-lib
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/src/../tools_landisk/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target: release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/src/../tools_landisk/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget . distribution
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make release
*** BUILD ABORTED ***


Please advice for me.

Thank you.




Home | Main Index | Thread Index | Old Index