Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2002 22:39:09 +0200
From:      Thierry Herbelot <thierry@herbelot.com>
To:        "current@FreeBSD.ORG" <current@FreeBSD.ORG>
Subject:   compilation failure (in the kernel SCSI code)
Message-ID:  <3CDED2ED.E9300AEE@herbelot.com>

next in thread | raw e-mail | index | archive | help
Hello,

the import of GCC3.1 seems to reveal old bugs :
(while cross-compiling a new kernel atfer cross-compiling a new -Current
world under a fresh -Stable)
(the %b flag is not recognized in the printf()s of scsi_low.c)

%-----------------------------
cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -g
-nostdinc -I-  -I. -I/files2/SrcCurrent/src/sys
-I/files2/SrcCurrent/src/sys/dev
-I/files2/SrcCurrent/src/sys/contrib/dev/acpica
-I/files2/SrcCurrent/src/sys/contrib/ipfilter
-I/files2/SrcCurrent/src/sys/../include  -D_KERNEL -ffreestanding
-include opt_global.h -fno-common   -mpreferred-stack-boundary=2
-ffreestanding -Werror  /files2/SrcCurrent/src/sys/cam/scsi/scsi_low.c
cc1: warnings being treated as errors
/files2/SrcCurrent/src/sys/cam/scsi/scsi_low.c: In function
`scsi_low_calcf_show':
/files2/SrcCurrent/src/sys/cam/scsi/scsi_low.c:4661: warning: unknown
conversion type character `b' in format
/files2/SrcCurrent/src/sys/cam/scsi/scsi_low.c:4661: warning: too many
arguments for format
/files2/SrcCurrent/src/sys/cam/scsi/scsi_low.c: In function
`scsi_low_print':
/files2/SrcCurrent/src/sys/cam/scsi/scsi_low.c:4896: warning: unknown
conversion type character `b' in format
/files2/SrcCurrent/src/sys/cam/scsi/scsi_low.c:4896: warning: too many
arguments for format
/files2/SrcCurrent/src/sys/cam/scsi/scsi_low.c:4916: warning: unknown
conversion type character `b' in format
/files2/SrcCurrent/src/sys/cam/scsi/scsi_low.c:4916: warning: too many
arguments for format
/files2/SrcCurrent/src/sys/cam/scsi/scsi_low.c:4929: warning: unknown
conversion type character `b' in format
/files2/SrcCurrent/src/sys/cam/scsi/scsi_low.c:4929: warning: too many
arguments for format
*** Error code 1

Stop in /files2/obj/files2/SrcCurrent/src/sys/multi-Cur.
*** Error code 1

Stop in /files2/SrcCurrent/src.
*** Error code 1

Stop in /files2/SrcCurrent/src.
portable# pwd
%-----------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CDED2ED.E9300AEE>