[haiku-bugs] Re: [Haiku] #14733: configure: error: Link Time Optimisation is not supported ... Building on FreeBSD

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 04 Dec 2018 00:26:16 -0000

#14733: configure: error: Link Time Optimisation is not supported ... Building 
on
FreeBSD
-----------------------------+----------------------------
   Reporter:  datafatmunger  |      Owner:  nobody
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  Unscheduled
  Component:  - General      |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by waddlesplash):

I'm only trying FreeBSD because that's apparently where a lot of the
 drivers have be ported from ...

 Only the network drivers. And I don't know why you would try to build
 there "because of the drivers"; we don't use FreeBSD headers, tools, or
 anything like that in the build process that are not also already in the
 tree.

Does someone have a recommendation on a Linux distribution which is
 building Haiku successfully?

 Yes, just about any one of them works. I use Ubuntu, I know of others who
 use CentOS, Arch, SUSE, Manjaro, etc.

At least in my case, this was using gcc from FreeBSD's ports tree as a
 starting point, since the last time I tried, Clang failed even earlier.

 Perhaps try adding --no-link-time-optimization (I think that's the flag
 name?) to the configure invocation for binutils in
 {{{build/scripts/build_cross_tools_gcc4}}} script and trying again.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14733#comment:10>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: