From owner-freebsd-hackers@freebsd.org Sun Jul 1 12:26:14 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 EF8A8FF5B05 for ; Sun, 1 Jul 2018 12:26:13 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-yb0-x230.google.com (mail-yb0-x230.google.com [IPv6:2607:f8b0:4002:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81A098E29C for ; Sun, 1 Jul 2018 12:26:13 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-yb0-x230.google.com with SMTP id e9-v6so4170862ybq.1 for ; Sun, 01 Jul 2018 05:26:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CNNLc2Yvd7LlItW87iihdwJj7/SK5iwFLQhvTuER08o=; b=UIRXg7v3kxpUPXiWEptrD64vYX2B79ibU0T/PZa1ads3ywKeq2OSHWZ8tTeZPiLa7i 5PYMFGQk4Sfjhug9gsGEdiplIxUwU5ahrcRGqNJxKynhxE5zNmUWfYQtdfvoH1NPcBii Zv9ltFDwRdKYQ7pHJgQOkYY4USu8EDb0c9Tls9PnC6ts369tF07xqH+w83MpXe/1F4XZ Y4rIIr9Hb3hcfTe5owAPwaOMgzXWJH0GCEhE+xhHGpJQenM0ejDM3XzhZ7IEhn6MLay4 usg3VvGV9x69snc8WIP7HSPA/yMQsyVXKjZNo+ECwJkH0AUcFiMdPe367vFMAgXhqzqB VufA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CNNLc2Yvd7LlItW87iihdwJj7/SK5iwFLQhvTuER08o=; b=qyPoR1Wbn1E6skYRGLRHGBINRXgd0Ply3incIABcDtXCFqu4JZfEmqLu59MwDkPuBd /bTWGIl3k1qq7a1mJUtrEWySjYySXiPNyO1R86kqO6TkF+8izzpqyZklmqzwTBie6lv0 e8ZUbH2QtOI2N9yKnMb4erY9Ykn2Jkp4xdKqt5GNnc/mHzXuh889HqlFFNBI031g3gxm nQZo77PYy5o946EFJ1z9LnS3yW90gYZCf2YIeilMNeTejEymPh///hf34DItspW309Yz 6LNcqco/Hc2Ki5ZCA836poxCMiDSa4JEeBz9SSY3kJ2sUYH/N9VXd1KLxCeNN2+zs54K hQPA== X-Gm-Message-State: APt69E120jSOkfvO8HhK/SXHskeAv3kbFoZnWZPcI7pW4wTQ6vHA9zjk 6611Cnp5ymlqnlA05f0Opi4hSpWmWi2iQcsXoFtPyA== X-Google-Smtp-Source: AAOMgpepRDrVWK/wPq3cdSelZEsjsGwGCJbpNiFdMNS3fVs+HuAj8ik56aAGLqgA9XRHNZE1Ei5Oy/oaggEBjz+GP5c= X-Received: by 2002:a25:13c2:: with SMTP id 185-v6mr215227ybt.331.1530447972623; Sun, 01 Jul 2018 05:26:12 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:b90:0:0:0:0:0 with HTTP; Sun, 1 Jul 2018 05:26:12 -0700 (PDT) In-Reply-To: <79151248-d615-0a7e-d08f-96679551c083@WHISPER.SU> References: <20180701111518.GY2430@kib.kiev.ua> <79151248-d615-0a7e-d08f-96679551c083@WHISPER.SU> From: Oliver Pinter Date: Sun, 1 Jul 2018 14:26:12 +0200 Message-ID: Subject: Re: 11.2-RELEASE/efirt compile error To: "anatoly@whisper.su" Cc: Konstantin Belousov , "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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 12:26:14 -0000 On Sunday, July 1, 2018, wrote: > Konstantin, thanks for response, but it exists: > > MD5 (./sys/amd64/amd64/efirt.c) =3D ddc9b6b4e79f12ee8588dbea3d2a010d Nope: https://github.com/freebsd/freebsd/tree/releng/11.2/sys/amd64/amd64 > > > 01.07.2018 14:15, Konstantin Belousov =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >> 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 followin= g >>> error building efirt module, tried to google a bit - nothing, >>> maybe someone already fixed it? >>> >>> =3D=3D=3D> 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=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float >>> -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protecto= r >>> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes >>> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef >>> -Wno-pointer-sign -D__printf__=3D__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=3Diso9899:1= 999 >>> -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 o= f >>> '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 prototyp= e >>> 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 prototyp= e >>> 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 save= r >>> 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" >>> >> > _______________________________________________ > 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= " >