From owner-freebsd-bugs@FreeBSD.ORG Sun Oct 11 19:00:14 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36128106568B for ; Sun, 11 Oct 2009 19:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ED1838FC33 for ; Sun, 11 Oct 2009 19:00:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9BJ09JB057061 for ; Sun, 11 Oct 2009 19:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9BJ09Pb057060; Sun, 11 Oct 2009 19:00:09 GMT (envelope-from gnats) Resent-Date: Sun, 11 Oct 2009 19:00:09 GMT Resent-Message-Id: <200910111900.n9BJ09Pb057060@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nathaniel Filardo Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0BCB1065672 for ; Sun, 11 Oct 2009 18:59:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D08998FC31 for ; Sun, 11 Oct 2009 18:59:55 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9BIxtQW005583 for ; Sun, 11 Oct 2009 18:59:55 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9BIxttN005582; Sun, 11 Oct 2009 18:59:55 GMT (envelope-from nobody) Message-Id: <200910111859.n9BIxttN005582@www.freebsd.org> Date: Sun, 11 Oct 2009 18:59:55 GMT From: Nathaniel Filardo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/139527: twa driver fails to build in CURRENT X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2009 19:00:14 -0000 >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@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: