From owner-freebsd-questions@freebsd.org Sun Jul 5 21:41:01 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3CE9D34E430 for ; Sun, 5 Jul 2020 21:41:01 +0000 (UTC) (envelope-from jcuzmar@protonmail.com) Received: from mail-40141.protonmail.ch (mail-40141.protonmail.ch [185.70.40.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B0MZg70sQz4QQW for ; Sun, 5 Jul 2020 21:40:59 +0000 (UTC) (envelope-from jcuzmar@protonmail.com) Date: Sun, 05 Jul 2020 21:40:52 +0000 To: "freebsd-questions@freebsd.org" From: Juan Cuzmar Reply-To: Juan Cuzmar Subject: Error "misleading indentation" compiling the kernel Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch X-Rspamd-Queue-Id: 4B0MZg70sQz4QQW X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.38 / 15.00]; HAS_REPLYTO(0.00)[jcuzmar@protonmail.com]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[protonmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; NEURAL_HAM_LONG(-0.86)[-0.859]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-0.89)[-0.887]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; DKIM_TRACE(0.00)[protonmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; RCVD_IN_DNSWL_NONE(0.00)[185.70.40.141:from]; NEURAL_HAM_SHORT(-0.63)[-0.630]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[185.70.40.141:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jul 2020 21:41:01 -0000 Hi! Im trying to compile my custom kernel but shows me this error: --- mrsas_cam.o --- cc -target x86_64-unknown-freebsd12.1 --sysroot=3D/usr/obj/usr/src/amd64.am= d64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict= -aliasing -march=3Dnative -g -nostdinc=C2=A0 -I. -I/usr/src/sys -I/usr/src/= sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNE= L_OPTION_HEADERS -include opt_global.h=C2=A0 -fno-omit-frame-pointer -mno-o= mit-leaf-frame-pointer -MD=C2=A0 -MF.depend.mrsas_cam.o -MTmrsas_cam.o -fde= bug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map= =3D./x86=3D/usr/src/sys/x86/include -mcmodel=3Dkernel -mno-red-zone -mno-mm= x -mno-sse -msoft-float=C2=A0 -fno-asynchronous-unwind-tables -ffreestandin= g -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-exte= rns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -W= undef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-includ= e-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautologic= al-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error= -unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -W= no-address-of-packed-member=C2=A0 -mno-aes -mno-avx=C2=A0 -std=3Diso9899:19= 99 -Werror=C2=A0 /usr/src/sys/dev/mrsas/mrsas_cam.c /usr/src/sys/dev/mrsas/mrsas_cam.c:1919:4: error: misleading indentation; s= tatement is not part of the previous 'if' [-Werror,-Wmisleading-indentation= ] =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 if (mpt_cmd->ccb_ptr->cpi.bus_id =3D=3D bus_id && =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 ^ /usr/src/sys/dev/mrsas/mrsas_cam.c:1916:3: note: previous statement is here =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if (bus_id =3D=3D 1= ) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^ 1 error generated. *** [mrsas_cam.o] Error code 1 make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GLATS --- mmc.o --- ctfconvert -L VERSION -g mmc.o --- modules-all --- ctfconvert -L VERSION -g arcmsr.o A failure has been detected in another branch of the parallel make make[4]: stopped in /usr/src/sys/modules/arcmsr *** [all_subdir_arcmsr] Error code 2 make[3]: stopped in /usr/src/sys/modules 1 error make[3]: stopped in /usr/src/sys/modules *** [modules-all] Error code 2 make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GLATS --- mrsas.o --- ctfconvert -L VERSION -g mrsas.o 2 errors make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GLATS *** [buildkernel] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildkernel] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src here is my /etc/make.conf CPUTYPE?=3Dnative CFLAGS=3D-O2 -pipe -fno-strict-aliasing COPTFLAGS=3D-O2 -pipe -fno-strict-aliasing MALLOC_PRODUCTION=3D"YES" and my /etc/src.conf WITHOUT_ASSERT_DEBUG=3D"ON" I don't think the configuration kernel is important. But if it is, please l= et me know to post it. Thanks!