Closed JoshyPHP closed 9 years ago
i'm comfirm this problem. Configure stops on;
-- libdwarf uses char* type
-- libdwarf has dwarf_producer_init_c
CMake Error at CMake/HPHPFindLibs.cmake:369 (message):
You need to install binutils
Call Stack (most recent call first):
CMake/HPHPSetup.cmake:97 (include)
third-party/CMakeLists.txt:18 (include)
binutils istalled:
eix -I binutils
[I] sys-devel/binutils-config
Available versions: 1.9-r4 2-r1 3-r3 ~4
Installed versions: 3-r3(00:08:18 12.06.2012)
Homepage: http://www.gentoo.org/
Description: Utility to change the binutils version being used
[I] sys-devel/binutils
Available versions: ~2.19.1-r1 2.20.1-r1 2.21.1-r1 2.22-r1{tbz2} **2.22.52.0.4 ~2.22.90 ~2.23 2.23.1 2.23.2{tbz2} **2.23.51.0.1 **2.23.51.0.2 **2.23.51.0.3 **2.23.51.0.5 **2.23.51.0.6 **2.23.51.0.7 **2.23.51.0.8 **2.23.51.0.9 **2.23.52.0.1 **2.23.52.0.2 ~2.24-r2 ~2.24-r3 **2.24.51.0.1 **2.24.51.0.2 **2.24.51.0.3 **9999 {cxx multislot multitarget nls static-libs test vanilla zlib}
Installed versions: 2.23.2{tbz2}(20:15:24 22.05.2014)(cxx nls zlib -multislot -multitarget -static-libs -test -vanilla)
Homepage: http://sourceware.org/binutils/
Description: Tools necessary to build programs
if build with static lib, where emerge ebuild I can errors http://pastebin.com/Kvs2peda
Fixed in 564f27ca408ddbf827d73f4f08914953b1c53b37
About a week ago HHVM stopped compiling and started complaining that I needed to install binutils. Recompiling binutils with the static-libs USE flag fixed that issue.
Judging by the comments in https://github.com/facebook/hhvm/commit/d7a95c828395a024c76a887a6e5285729055a43d it now requires libbfd to be compiled as a static lib, meaning that it now depends on binutils with the static-libs USE flag.