From owner-freebsd-current@freebsd.org Sun Mar 29 16:05:44 2020 Return-Path: Delivered-To: freebsd-current@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 D66322A390A for ; Sun, 29 Mar 2020 16:05:44 +0000 (UTC) (envelope-from gbergling@gmail.com) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 48r0ml53Whz3N0R for ; Sun, 29 Mar 2020 16:05:27 +0000 (UTC) (envelope-from gbergling@gmail.com) Received: by mail-wm1-f47.google.com with SMTP id d198so17070730wmd.0 for ; Sun, 29 Mar 2020 09:05:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:subject:message-id :mime-version:content-disposition; bh=kL73ogUsUfeO+0e8tNbBKYQGOVzqccqtqWoEDRLx+xk=; b=J80EeQQcoX53VkqTekz8yv7TaV/whGa9ImZxaXoE7iRpUJSCULypoKxRONYKqqg5dI HRfcx9lVVcSIlnBPvZ/YHKHnDp7YZn+CZu+qvm8B91BgiV64cw9y99cNFCYD2s9HSYCG 0Y+uomr3ds0g1x7rxbNaGcZ44v0mcPh1EFgmW7ISaTX49Wq4/bE2GAiRlV8aGlg1UYgL 0WPVqDyjQ6Ec2JTliyObcaqVfMHdiFSm54wVPN5tDJ93nI2A8y8ZfjysmspSuJcWr4gN 7SPDV12aMznvCU0P6YDGqDe9lLE69m5CROB9lDalXtXXeyRA9lCL/r9E9mTew2/zym42 XGnQ== X-Gm-Message-State: ANhLgQ3M8sKgtosQs1+/lSW6aOOK8GguzIbrUFki90Lie+ZG0YWZdgHn vI3OfUxypGhCMEge/+1D7X/dP3GpU/Y= X-Google-Smtp-Source: ADFU+vsOCZj55XSGIIYfMYotH4zCgfPeXoBGfb/pPAIW3vyQC/zj3PgNVvtOPIGlSZmH2KLrth6J+g== X-Received: by 2002:a1c:2404:: with SMTP id k4mr8585194wmk.87.1585497916896; Sun, 29 Mar 2020 09:05:16 -0700 (PDT) Received: from lion.0xfce3.net (p4FD3AF72.dip0.t-ipconnect.de. [79.211.175.114]) by smtp.gmail.com with ESMTPSA id w67sm16883806wmb.41.2020.03.29.09.05.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Mar 2020 09:05:16 -0700 (PDT) Sender: Gordon Bergling Date: Sun, 29 Mar 2020 18:05:14 +0200 From: Gordon Bergling To: freebsd-current@freebsd.org Subject: Build world error with PIE option Message-ID: <20200329160514.GA13342@lion.0xfce3.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Url: X-Operating-System: FreeBSD 12.1-STABLE amd64 X-Host-Uptime: 5:59PM up 1 day, 19:39, 5 users, load averages: 1.88, 3.42, 3.70 X-Rspamd-Queue-Id: 48r0ml53Whz3N0R X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.20 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; FREEMAIL_FROM(0.00)[googlemail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_DNSFAIL(0.00)[googlemail.com : query timed out]; RCVD_IN_DNSWL_NONE(0.00)[47.128.85.209.list.dnswl.org : 127.0.5.0]; FORGED_SENDER(0.30)[gbergling@googlemail.com,gbergling@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[47.128.85.209.rep.mailspike.net : 127.0.0.17]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[114.175.211.79.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_NEQ_ENVFROM(0.00)[gbergling@googlemail.com,gbergling@gmail.com]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2020 16:05:45 -0000 Hello, I am trying to build -CURRENT with some custom build options, which are the following: WITH_EXTRA_TCP_STACKS=1 WITH_BEARSSL=1 WITH_PIE=1 WITH_RETPOLINE=1 But WITH_PIE=1 seems to break the build while linking sbin/veriexec with the following error messages. ===> sbin/veriexec (all) ===> lib/libkvm/tests (all) ld: error: unable to find library -lveriexec_pie ld: error: unable to find library -lsecureboot_pie ld: error: unable to find library -lbearssl_pie cc: error: linker command failed with exit code 1 (use -v to see invocation) --- veriexec.full --- *** [veriexec.full] Error code 1 make[4]: stopped in /boiler/nfs/src/sbin/veriexec 1 error make[4]: stopped in /boiler/nfs/src/sbin/veriexec --- all_subdir_sbin/veriexec --- *** [all_subdir_sbin/veriexec] Error code 2 Has anyone experienced the same error and was able to solve it? Or has anyone an idea how to solve this problem? Best regards, Gordon