From owner-freebsd-hackers@freebsd.org Sun Jul 1 11:15:34 2018 Return-Path: Delivered-To: freebsd-hackers@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 24966FF3B2F for ; Sun, 1 Jul 2018 11:15:34 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 98FDB8C218 for ; Sun, 1 Jul 2018 11:15:33 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id w61BFISm037840 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 1 Jul 2018 14:15:21 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua w61BFISm037840 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id w61BFIQp037839; Sun, 1 Jul 2018 14:15:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 1 Jul 2018 14:15:18 +0300 From: Konstantin Belousov To: anatoly@WHISPER.SU Cc: freebsd-hackers@freebsd.org Subject: Re: 11.2-RELEASE/efirt compile error Message-ID: <20180701111518.GY2430@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2018 11:15:34 -0000 On Sun, Jul 01, 2018 at 12:24:51PM +0300, anatoly@WHISPER.SU wrote: > hi everyone! > > Trying to rebuild kernel from 11.1->11.2 RELEASE, till binary update > there was no problem at all with migrations but now im getting following > error building efirt module, tried to google a bit - nothing, > maybe someone already fixed it? > > ===> efirt (all) > cc -O2 -pipeš -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -nostdincšš -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/src/sys/amd64/compile/KERNEL/opt_global.h -I. -I/usr/src/sys > -fno-commonš -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer > -I/usr/src/sys/amd64/compile/KERNELšš -MDš -MF.depend.efirt.o -MTefirt.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 /usr/src/sys/sys/amd64/amd64/efirt.c -o efirt.o > /usr/src/sys/sys/amd64/amd64/efirt.c:124:1: error: control reaches end > of non-void function > ššššš [-Werror,-Wreturn-type] > } > ^ > /usr/src/sys/sys/amd64/amd64/efirt.c:186:1: error: static declaration of > ššššš 'efi_create_1t1_map' follows non-static declaration > efi_create_1t1_map(struct efi_md *map, int ndesc, int descsz) > ^ There is no sys/amd64/amd64/efirt.c in 11.2 sources. > /usr/src/sys/sys/efi.h:175:6: note: previous declaration is here > bool efi_create_1t1_map(struct efi_md *, int, int); > šššš ^ > /usr/src/sys/sys/amd64/amd64/efirt.c:441:1: error: no previous prototype > for function > ššššš 'efi_get_time_locked' [-Werror,-Wmissing-prototypes] > efi_get_time_locked(struct efi_tm *tm) > ^ > /usr/src/sys/sys/amd64/amd64/efirt.c:463:12: error: use of undeclared > identifier > ššššš 'resettodr_lock' > ššššššš mtx_lock(&resettodr_lock); > ššššššššššššššššš ^ > /usr/src/sys/sys/amd64/amd64/efirt.c:465:14: error: use of undeclared > identifier > ššššš 'resettodr_lock' > ššššššš mtx_unlock(&resettodr_lock); > ššššššššššššššššššš ^ > /usr/src/sys/sys/amd64/amd64/efirt.c:483:1: error: no previous prototype > for function > ššššš 'efi_set_time_locked' [-Werror,-Wmissing-prototypes] > efi_set_time_locked(struct efi_tm *tm) > ^ > /usr/src/sys/sys/amd64/amd64/efirt.c:505:12: error: use of undeclared > identifier > ššššš 'resettodr_lock' > ššššššš mtx_lock(&resettodr_lock); > ššššššššššššššššš ^ > /usr/src/sys/sys/amd64/amd64/efirt.c:507:14: error: use of undeclared > identifier > ššššš 'resettodr_lock' > ššššššš mtx_unlock(&resettodr_lock); > ššššššššššššššššššš ^ > 8 errors generated. > *** Error code 1 > > Stop. > make[2]: stopped in /usr/src/sys/modules/efirt > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src/sys/modules > *** Error code 1 > > Stop. > make: stopped in /usr/src/sys/amd64/compile/KERNEL > > part of kernel config: > deviceššššššššš vgašššššššššššššššššššš # VGA video card driver > optionsšššššššš VESAššššššššššššššššššš # Add support for VESA BIOS > Extensions (VBE) > > deviceššššššššš splashššššššššššššššššš # Splash screen and screen saver > support > > # syscons is the default console driver, resembling an SCO console > deviceššššššššš sc > optionsšššššššš SC_PIXEL_MODEšššššššššš # add support for the raster > text mode > > # vt is the new video console driver > deviceššššššššš vt > deviceššššššššš vt_vga > #deviceššššššššš vt_efifb > > -- > Anatoly > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"