kern/139527: twa driver fails to build in CURRENT
Nathaniel Filardo
nwf at cs.jhu.edu
Sun Oct 11 19:00:14 UTC 2009
>Number: 139527
>Category: kern
>Synopsis: twa driver fails to build in CURRENT
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 11 19:00:09 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Nathaniel Filardo
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD hydra.priv.oc.ietfng.org 9.0-CURRENT FreeBSD 9.0-CURRENT #7: Thu Sep 24 22:08:03 EDT 2009 root at hydra.priv.oc.ietfng.org:/systank/obj/systank/src/sys/NWFKERN sparc64
>Description:
While building twa, the TW_CL_SWAP64 macro raises errors:
cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/systank/src/sys -I/systank/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror /systank/src/sys/dev/twa/tw_cl_io.c -I/systank/src/sys/dev/twa
/systank/src/sys/dev/twa/tw_cl_io.c: In function 'tw_cli_get_param':
/systank/src/sys/dev/twa/tw_cl_io.c:790: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:790: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:790: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:790: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:790: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:790: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:790: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:790: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c: In function 'tw_cli_set_param':
/systank/src/sys/dev/twa/tw_cl_io.c:908: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:908: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:908: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:908: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:908: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:908: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:908: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:908: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:908: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c: In function 'tw_cli_send_scsi_cmd':
/systank/src/sys/dev/twa/tw_cl_io.c:1313: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:1313: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:1313: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:1313: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:1313: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:1313: error: lvalue required as unary '&' operand
/systank/src/sys/dev/twa/tw_cl_io.c:1313: error: lvalue required as unary '&' operand
etc.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list