From owner-svn-src-releng@freebsd.org Thu Dec 10 17:23:22 2020 Return-Path: Delivered-To: svn-src-releng@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 BC1BE4B139C for ; Thu, 10 Dec 2020 17:23:22 +0000 (UTC) (envelope-from ameya.181co205@nitk.edu.in) Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CsLNS2MTWz4k7v for ; Thu, 10 Dec 2020 17:23:18 +0000 (UTC) (envelope-from ameya.181co205@nitk.edu.in) Received: by mail-ot1-x32f.google.com with SMTP id 11so5586559oty.9 for ; Thu, 10 Dec 2020 09:23:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cOGynsjS3/PCAgWhIFDrJBm1JFxUDa4HcZCYMcTYP7I=; b=bHfOQL0awwa3dr4/utBviNEqFBZigNAoKsR1KgjXNeqFOVcxzdmiXiRziG4Sm35usl xi2ne0rlwT3WnlPkFQFslTT0ra3et6Dmkn5MlRBXgyYsv91iX8QYCqWl/c8ne7vsQP2S lbGaEk5FH4Z0nwBeNa4O7i9DwDYbinfnUwuLB+8i0FqlmGTMBTXxVhPp6+BXWAVSWb01 fXRpQWdfzlUlyIxnjMopMMHT3PWPoKFByVd26FL2BQMWM5p9vEhgL6AbHcpu14Tt1ugq 3JjcDfmz8trLYPE8imrcfUpINVXoO6mi/1iKibjtqeK6ZCT9p14r+xmpJGM7GEjfWrC+ lRPA== X-Gm-Message-State: AOAM531aDeq5/CHEEQGFPpC+g2wq045R9QGDCoNsvSmZWa5Ik4CWppGm 3i1xwR0C0Y9IMY0QLGQuVPp/cDMMusRqV/Pnzhh6Pmch7WS6AA== X-Google-Smtp-Source: ABdhPJz3cRB1z/1a4si/LYHolRYl7yqSV2LTPQOEMPGVf5+PWRPCFwpQsz6S+c6stlJi5maFSfIwKnxWPPnJFAHQII0= X-Received: by 2002:a9d:d8a:: with SMTP id 10mr6486024ots.11.1607620997087; Thu, 10 Dec 2020 09:23:17 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6830:2331:0:0:0:0 with HTTP; Thu, 10 Dec 2020 09:23:16 -0800 (PST) From: "Ameya Deshpande." Date: Thu, 10 Dec 2020 22:53:16 +0530 Message-ID: Subject: Build issues in releng/11.0 To: svn-src-releng@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4CsLNS2MTWz4k7v X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.58 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[nitk.edu.in:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[svn-src-releng@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::32f:from:127.0.2.255]; DKIM_TRACE(0.00)[nitk.edu.in:+]; DMARC_POLICY_ALLOW(-0.50)[nitk.edu.in,reject]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32f:from]; NEURAL_HAM_SHORT(-0.58)[-0.577]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::32f:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[svn-src-releng] X-BeenThere: svn-src-releng@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the release engineering / security commits to the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 17:23:22 -0000 Hello to the mail recipients, I am a student and new to FreeBSD Development. My work is specific to FreeBSD 11.0-RELEASE. According to this document [1], branch "releng/11.0" corresponds 11.0-RELEASE. When I build the kernel by fetching "releng/11.0", I am getting some errors. Initially, I got the error: ``` cc: error: unknown argument: '-fformat-extensions' ``` Unfortunately, I did not get a solution for this. But I found an option in "tools/build/options" and tried building the kernel using "make buildkernel WITHOUT_FORMAT_EXTENSIONS=yes". This helped me to bypass the above error but I got another error: ``` In file included from /usr/src/sys/cam/cam.c:45: In file included from /usr/src/sys/cam/cam_ccb.h:44: In file included from /usr/src/sys/cam/nvme/nvme_all.h:32: /usr/src/sys/dev/nvme/nvme.h:922:16: error: taking address of packed member 'cdw10' of class or structure 'nvme_command' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] *(uint64_t *)&cmd->cdw10 = lba; ^~~~~~~~~~ 1 error generated. *** Error code 1 ``` I am not facing any issues building other kernels versions like 'stable/11' or 'head'. Ideally, I assumed a similar build process for 'releng/11.0'. Please let me know how can I build a FreeBSD 11.0-RELEASE kernel. Thanks, Ameya Deshpande [1]: https://www.freebsd.org/security/unsupported.html