From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 29 Dec 2020 10:43:42 +0100 Subject: [Buildroot] [PATCH 1/1] package/erlang-jiffy: needs -fPIC In-Reply-To: References: <20201224101440.3427472-1-fontaine.fabrice@gmail.com> <20201228225325.4f973ae1@windsurf.home> Message-ID: <20201229104342.1eaa49a3@windsurf.home> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Tue, 29 Dec 2020 10:39:27 +0100 Fabrice Fontaine wrote: > This build failure is raised because of the -flto flag which is added > since version 1.0.0 and > https://github.com/davisp/jiffy/commit/feaf10f2d50e454f55a9d6b20c289031b0980503 > It seems that -flto can't be used without -fPIC. This seems super odd. I'm not sure what would be the relationship between LTO and PIC... Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com