Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gcc5 fails to build on Ubuntu 14.10
2015-07-13 17:32:03 +0200
make
CC=/usr/bin/gcc-4.9
CXX=/usr/bin/g++-4.9
OTHER_CPPFLAGS=-isystem/home/tobi/.linuxbrew/include
OTHER_LDFLAGS=-L/home/tobi/.linuxbrew/lib -Wl,-rpath,/home/tobi/.linuxbrew/lib
OTHER_LDFLAGS_LD64=-lcrypto
touch src/ld/configure.h
/usr/bin/g++-4.9 -Os -w -pipe -march=core2 -Isrc/abstraction -Isrc/ld -isystem/home/tobi/.linuxbrew/include -c -o src/other/ObjectDump.o src/other/ObjectDump.cpp
In file included from /home/tobi/.linuxbrew/include/mach-o/loader.h:35:0,
from src/abstraction/MachOFileAbstraction.hpp:27,
from src/ld/MachOReaderRelocatable.hpp:37,
from src/other/ObjectDump.cpp:31:
/home/tobi/.linuxbrew/include/mach/machine.h:66:35: fatal error: mach/machine/vm_types.h: No such file or directory
#include <mach/machine/vm_types.h>
^
compilation terminated.
<builtin>: recipe for target 'src/other/ObjectDump.o' failed
make: *** [src/other/ObjectDump.o] Error 1
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/linuxbrew
HEAD: f07e72e8b8b8fc1356fbc878aac74c23cafd58e4
Last commit: 3 days ago
HOMEBREW_PREFIX: /home/tobi/.linuxbrew
HOMEBREW_CELLAR: /home/tobi/.linuxbrew/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://linuxbrew.bintray.com
CPU: quad-core 64-bit 6
OS X: 0-x86_64
Xcode: N/A
CLT: N/A
Clang: 3.5 build 0
X11: N/A
System Ruby: 2.1.2 => /usr/bin/ruby2.1
Perl: /usr/bin/perl
Python: /usr/bin/python => /usr/bin/python2.7
Ruby: /usr/bin/ruby => /usr/bin/ruby2.1
Java: 1.7.0_79
CC: /usr/bin/gcc-4.9
CXX: /usr/bin/g++-4.9
OBJC: /usr/bin/gcc-4.9
OBJCXX: /usr/bin/g++-4.9
CFLAGS: -Os -w -pipe -march=core2
CXXFLAGS: -Os -w -pipe -march=core2
CPPFLAGS: -isystem/home/tobi/.linuxbrew/include
LDFLAGS: -L/home/tobi/.linuxbrew/lib -Wl,-rpath,/home/tobi/.linuxbrew/lib
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /home/tobi/.linuxbrew
PKG_CONFIG_LIBDIR: /home/tobi/.linuxbrew/lib/pkgconfig:/usr/lib/pkgconfig
HOMEBREW_MAKE_JOBS: 1
PATH: /home/tobi/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/tobi/.rvm/bin:/home/tobi/.rvm/bin:/home/tobi/.linuxbrew/Library/ENV/scm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment