NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-mips/39192: build.sh fails on -m hpcmips
>Number: 39192
>Category: port-mips
>Synopsis: build.sh fails on -m hpcmips
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-mips-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 22 21:10:00 +0000 2008
>Originator: Risto Sainio
>Release: -current == 4.99.70
>Organization:
>Environment:
cross-compiling:
===> build.sh started: Tue Jul 22 21:55:00 CEST 2008
===> NetBSD version: 4.99.70
===> MACHINE: hpcmips
===> MACHINE_ARCH: mipsel
===> Build platform: NetBSD 4.0 i386
===> HOST_SH: /bin/sh
===> TOOLDIR path: /usr/src_current/../tooldir_current
===> DESTDIR path: /usr/src_current/../destdir_current
===> RELEASEDIR path: /usr/src_current/../releasedir_current
===> makewrapper: /usr/src_current/../tooldir_current/bin/nbmake-hpcmips
===> Updated /usr/src_current/../tooldir_current/bin/nbmake-hpcmips
build ===> . (with: NOPOSTINSTALL=1)
Build started at: Tue Jul 22 21:55:01 CEST 2008
>Description:
running ./build.sh -m hpcmips -a mipsel -T ../tooldir_current -D
../destdir_current -R ../releasedir_current -O ../objdir_current -x -u
buildir_current -R ../releasedir_current -O ../objdir_current -x distribution
fails after a while with
# compile libc/mcount.o
/usr/src_current/../tooldir_current/bin/mipsel--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 -std=gnu99 -Werror
-D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP
-I/usr/src_current/lib/libc/include -I/usr/src_current/lib/libc
-I/usr/src_current/sys -I/usr/src_current/lib/libc/compat/stdlib
-I/usr/src_current/lib/libc/compat/../stdlib -D__HAVE_ASM_ATOMIC_CAS_UP
-I/usr/src_current/lib/libc/../../common/lib/libc/quad
-I/usr/src_current/lib/libc/../../common/lib/libc/string
-I/usr/src_current/lib/libc/../../common/lib/libc/arch/mips/string
-D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS
-I/usr/src_current/libexec/ld.elf_so -I/usr/src_current/lib/libc/dlfcn
-I/usr/src_current/lib/libc/gdtoa -DNO_FENV_H
-I/usr/src_current/lib/libc/arch/mips/gdtoa -DCITRUS_ICONV -DWITH_RU
NE -I/usr/src_current/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL
-DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2
-nostdinc -isystem /usr/src_current/../destdir_current/usr/include -c
/usr/src_current/lib/libc/../../common/lib/libc/gmon/mcount.c -o mcount.o
/var/tmp//cc2FaM6a.s: Assembler messages:
/var/tmp//cc2FaM6a.s:9: Warning: No .cprestore pseudo-op used in PIC code
/var/tmp//cc2FaM6a.s:219: Error: 1 warnings, treating warnings as errors
>How-To-Repeat:
>Fix:
I compiled mcount.c without "-Wa,--fatal-warnings" == ugly work-around
Home |
Main Index |
Thread Index |
Old Index