Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2012 06:39:20 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        arm@freebsd.org
Subject:   Re: [head tinderbox] failure on arm/arm
Message-ID:  <CAGH67wTNJ9_GqjzQ_XWbkp%2BUhXXNxhNMFXP%2B9iE%2B_T7dDeivxA@mail.gmail.com>
In-Reply-To: <201206061321.q56DLA7L013817@freebsd-current.sentex.ca>
References:  <201206061321.q56DLA7L013817@freebsd-current.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
...

cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef
-Wno-pointer-sign -fformat-extensions =A0-Wmissing-include-dirs
-fdiagnostics-show-option =A0 -nostdinc =A0-I. -I/src/sys
-I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finline-limit=3D8000 --param inline-unit-growth=3D100 --param
large-function-growth=3D1000 -mcpu=3Darm9 -mno-apcs-frame -ffreestanding
-Werror =A0/src/sys/arm/at91/at91sam9260.c
/src/sys/arm/at91/at91sam9260.c: In function 'at91_identify':
/src/sys/arm/at91/at91sam9260.c:203: error: break statement not within
loop or switch
*** Error code 1

Stop in /obj/arm.arm/src/sys/ETHERNUT5.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2012-06-06 13:21:10 - WARNING: /usr/bin/make returned exit code =A01
TB --- 2012-06-06 13:21:10 - ERROR: failed to build ETHERNUT5 kernel
TB --- 2012-06-06 13:21:10 - 3927.58 user 801.22 system 6069.07 real

    This simple patch will unbreak arm tinderbox.
Thanks!
-Garrett

Index: sys/arm/at91/at91sam9260.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- sys/arm/at91/at91sam9260.c   (revision 236680)
+++ sys/arm/at91/at91sam9260.c   (working copy)
@@ -200,7 +200,6 @@
        if (soc_data.type =3D=3D AT91_CPU_SAM9260) {
                at91_add_child(parent, 0, "at91sam9260", 0, 0, 0, -1, 0, 0)=
;
                at91_cpu_add_builtin_children(parent);
-               break;
        }
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wTNJ9_GqjzQ_XWbkp%2BUhXXNxhNMFXP%2B9iE%2B_T7dDeivxA>