From owner-freebsd-stable@freebsd.org Fri Apr 6 16:55:26 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C15EF9593F for ; Fri, 6 Apr 2018 16:55:26 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BA88968456 for ; Fri, 6 Apr 2018 16:55:25 +0000 (UTC) (envelope-from ian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 74CBCF9593C; Fri, 6 Apr 2018 16:55:25 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6251CF9593B for ; Fri, 6 Apr 2018 16:55:25 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0AA76844B for ; Fri, 6 Apr 2018 16:55:24 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 4d74b931-39bb-11e8-91c6-33ffc249f3e8 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 4d74b931-39bb-11e8-91c6-33ffc249f3e8; Fri, 06 Apr 2018 16:55:26 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w36GtJuG090750; Fri, 6 Apr 2018 10:55:19 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1523033719.40504.3.camel@freebsd.org> Subject: Re: [Bug 227323] [patch] [spi] sys/modules/spi/mx25l cannot be built outside of kernel build environment From: Ian Lepore To: bugzilla-noreply@freebsd.org, stable@FreeBSD.org Date: Fri, 06 Apr 2018 10:55:19 -0600 In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2018 16:55:26 -0000 On Fri, 2018-04-06 at 13:09 +0000, bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227323 > >             Bug ID: 227323 >            Summary: [patch] [spi] sys/modules/spi/mx25l cannot be > built >                     outside of kernel build environment >            Product: Base System >            Version: 11.1-STABLE >           Hardware: Any >                 OS: Any >             Status: New >           Keywords: easy, patch-ready >           Severity: Affects Some People >           Priority: --- >          Component: kern >           Assignee: loos@FreeBSD.org >           Reporter: eugen@freebsd.org >                 CC: eadler@FreeBSD.org, ian@FreeBSD.org, >                     stable@FreeBSD.org > > Created attachment 192286 >   --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192286&acti > on=edit > The fix > > # cd /usr/src/sys/modules/spi/mx25l && make > cc -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -nostdinc   > -I. -I/home/src/sys -fno-common  -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer   -MD  -MF.depend.mx25l.o -MTmx25l.o > -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  > -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack- > protector -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing- > prototypes > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs > -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error- > tautological-compare > -Wno-error-empty-body -Wno-error-parentheses-equality > -Wno-error-unused-function -Wno-error-pointer-sign > -Wno-error-shift-negative-value -Wno-error-address-of-packed- > member  -mno-aes > -mno-avx  -std=iso9899:1999 -c /home/src/sys/dev/flash/mx25l.c -o > mx25l.o > /home/src/sys/dev/flash/mx25l.c:30:10: fatal error: 'opt_platform.h' > file not > found > #include "opt_platform.h" >          ^~~~~~~~~~~~~~~~ > 1 error generated. > *** Error code 1 > Does anybody know why mailing lists have recently started being spammed with bug reports?  Using the list to point out a bug that's been languishing without attention for a while might be appropriate, but spamming the list with every action on every bug, IMO, is not. -- Ian