Skip to content

Instantly share code, notes, and snippets.

@morgant morgant/01.make
Created Jun 11, 2015

Embed
What would you like to do?
tigerbrew ld64 on 400MHz PowerBook G3 (Pismo) w/Mac OS X 10.4.11 Tiger
Wed Jun 10 08:43:17 EDT 2015
make
CC=/usr/local/bin/gcc-4.2
CXX=/usr/local/bin/g++-4.2
OTHER_CPPFLAGS=-I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include
OTHER_LDFLAGS=-L/usr/local/lib -Wl,-headerpad_max_install_names
OTHER_LDFLAGS_LD64=-lcrypto
touch src/ld/configure.h
/usr/local/bin/g++-4.2 -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4 -Isrc/abstraction -Isrc/ld -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include -c -o src/other/ObjectDump.o src/other/ObjectDump.cpp
/usr/local/bin/gcc-4.2 -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4 -Isrc/abstraction -Isrc/ld -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include -c -o src/ld/debugline.o src/ld/debugline.c
/usr/local/bin/g++-4.2 -L/usr/local/lib -Wl,-headerpad_max_install_names src/other/ObjectDump.o src/ld/debugline.o -o ObjectDump
/usr/local/bin/g++-4.2 -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4 -Isrc/abstraction -Isrc/ld -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include -c -o src/other/dyldinfo.o src/other/dyldinfo.cpp
/usr/local/bin/g++-4.2 -L/usr/local/lib -Wl,-headerpad_max_install_names src/other/dyldinfo.o -o dyldinfo
/usr/local/bin/g++-4.2 -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4 -Isrc/abstraction -Isrc/ld -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include -c -o src/ld/Options.o src/ld/Options.cpp
/usr/local/bin/g++-4.2 -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4 -Isrc/abstraction -Isrc/ld -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include -c -o src/ld/ld.o src/ld/ld.cpp
src/ld/ld.cpp: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<mach_o::executable::NonLazyPointerAtom<ppc>**, std::vector<mach_o::executable::NonLazyPointerAtom<ppc>*, std::allocator<mach_o::executable::NonLazyPointerAtom<ppc>*> > >, _Distance = int, _Tp = mach_o::executable::NonLazyPointerAtom<ppc>*, _Compare = mach_o::executable::AtomByNameSorter]’:
src/ld/ld.cpp:4234: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make: *** [src/ld/ld.o] Error 1
HOMEBREW_VERSION: 0.9.5
ORIGIN: (none)
HEAD: (none)
Last commit: never
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: single-core 32-bit g3
OS X: 10.4.11-Power Macintosh
Xcode: 2.5
CLT: N/A
GCC-4.0: build 5370
GCC-4.2: build 5553
Clang: N/A
X11: 1.1.3 => /usr/X11R6
System Ruby: 1.8.2 => /usr/bin/ruby
Perl: /usr/bin/perl
Python: /usr/bin/python => /System/Library/Frameworks/Python.framework/Versions/2.3/bin/python
Ruby: /usr/bin/ruby
Java: N/A
CC: /usr/local/bin/gcc-4.2 => /usr/local/Cellar/apple-gcc42/4.2.1-5553/bin/gcc-4.2
CXX: /usr/local/bin/g++-4.2 => /usr/local/Cellar/apple-gcc42/4.2.1-5553/bin/g++-4.2
OBJC: /usr/local/bin/gcc-4.2
OBJCXX: /usr/local/bin/g++-4.2
CFLAGS: -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4
CXXFLAGS: -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4
CPPFLAGS: -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include
LDFLAGS: -L/usr/local/lib -Wl,-headerpad_max_install_names
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /usr/local/opt/libunwind-headers:/usr/local/opt/dyld-headers:/usr/local/opt/cctools-headers
MACOSX_DEPLOYMENT_TARGET: 10.4
PKG_CONFIG_LIBDIR: /usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.4:/usr/lib/pkgconfig
HOMEBREW_MAKE_JOBS: 1
PATH: /usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/Library/ENV/scm
CPATH: /usr/local/include
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Git could not be found in your PATH.
Tigerbrew uses Git for several internal functions, and some formulae use Git
checkouts instead of stable tarballs. You may want to install Git:
brew install git
$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install ld64
==> Downloading https://opensource.apple.com/tarballs/ld64/ld64-97.17.tar.gz
Already downloaded: /Library/Caches/Homebrew/ld64-97.17.tar.gz
==> Verifying ld64-97.17.tar.gz checksum
/usr/bin/tar xzf /Library/Caches/Homebrew/ld64-97.17.tar.gz
==> Downloading https://trac.macports.org/export/103948/trunk/dports/devel/ld64/files/ld64-97-ppc-branch-island.patch
Already downloaded: /Library/Caches/Homebrew/ld64--patch-a6bbf25c6e4fa348eee3d4756ad65f42ba42b78922dc0f75669023cdf9c25d72.patch
==> Verifying ld64--patch-a6bbf25c6e4fa348eee3d4756ad65f42ba42b78922dc0f75669023cdf9c25d72.patch checksum
==> Downloading https://trac.macports.org/export/103949/trunk/dports/devel/ld64/files/ld64-97-no-LTO.patch
Already downloaded: /Library/Caches/Homebrew/ld64--patch-2596cc25118981cbc31e82ddcb70508057f1946c46c3d6d6845ab7bd01ff1433.patch
==> Verifying ld64--patch-2596cc25118981cbc31e82ddcb70508057f1946c46c3d6d6845ab7bd01ff1433.patch checksum
==> Downloading https://trac.macports.org/export/103951/trunk/dports/devel/ld64/files/ld64-version.patch
Already downloaded: /Library/Caches/Homebrew/ld64--patch-3753b6877641648017eab2bb391361840fe887a2b3eb2e5ef689272a28c374fc.patch
==> Verifying ld64--patch-3753b6877641648017eab2bb391361840fe887a2b3eb2e5ef689272a28c374fc.patch checksum
==> Patching
/usr/bin/patch -g 0 -f -p0 -i /private/tmp/ld64--patch20150610-16361-1pmrhsk/ld64-97-ppc-branch-island.patch
patching file src/ld/MachOWriterExecutable.hpp
/usr/bin/patch -g 0 -f -p0 -i /private/tmp/ld64--patch20150610-16361-16lbfv/ld64-97-no-LTO.patch
patching file src/ld/ld.cpp
patching file src/other/ObjectDump.cpp
/usr/bin/patch -g 0 -f -p0 -i /private/tmp/ld64--patch20150610-16361-r2d81v/ld64-version.patch
patching file src/ld/Options.cpp
Hunk #1 succeeded at 68 with fuzz 2 (offset 36 lines).
Hunk #2 succeeded at 2598 with fuzz 1 (offset 443 lines).
==> Downloading https://trac.macports.org/export/123511/trunk/dports/devel/ld64/files/Makefile-97
Already downloaded: /Library/Caches/Homebrew/ld64--makefile-97
==> Verifying ld64--makefile-97 checksum
==> make CC=/usr/local/bin/gcc-4.2 CXX=/usr/local/bin/g++-4.2 OTHER_CPPFLAGS=-I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include OTHER_LDFLAGS=-L/usr/local/lib -Wl,-headerpad_max_install_names OTHER_LDFLAGS_LD64=-lcrypto
touch src/ld/configure.h
/usr/local/bin/g++-4.2 -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4 -Isrc/abstraction -Isrc/ld -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include -c -o src/other/ObjectDump.o src/other/ObjectDump.cpp
/usr/local/bin/gcc-4.2 -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4 -Isrc/abstraction -Isrc/ld -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include -c -o src/ld/debugline.o src/ld/debugline.c
/usr/local/bin/g++-4.2 -L/usr/local/lib -Wl,-headerpad_max_install_names src/other/ObjectDump.o src/ld/debugline.o -o ObjectDump
/usr/local/bin/g++-4.2 -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4 -Isrc/abstraction -Isrc/ld -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include -c -o src/other/dyldinfo.o src/other/dyldinfo.cpp
/usr/local/bin/g++-4.2 -L/usr/local/lib -Wl,-headerpad_max_install_names src/other/dyldinfo.o -o dyldinfo
/usr/local/bin/g++-4.2 -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4 -Isrc/abstraction -Isrc/ld -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include -c -o src/ld/Options.o src/ld/Options.cpp
/usr/local/bin/g++-4.2 -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4 -Isrc/abstraction -Isrc/ld -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include -c -o src/ld/ld.o src/ld/ld.cpp
src/ld/ld.cpp: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<mach_o::executable::NonLazyPointerAtom<ppc>**, std::vector<mach_o::executable::NonLazyPointerAtom<ppc>*, std::allocator<mach_o::executable::NonLazyPointerAtom<ppc>*> > >, _Distance = int, _Tp = mach_o::executable::NonLazyPointerAtom<ppc>*, _Compare = mach_o::executable::AtomByNameSorter]’:
src/ld/ld.cpp:4234: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make: *** [src/ld/ld.o] Error 1
==> Formula
Path: /usr/local/Library/Formula/ld64.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: (none)
HEAD: (none)
Last commit: never
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: single-core 32-bit g3
OS X: 10.4.11-Power Macintosh
Xcode: 2.5
CLT: N/A
GCC-4.0: build 5370
GCC-4.2: build 5553
Clang: N/A
X11: 1.1.3 => /usr/X11R6
System Ruby: 1.8.2 => /usr/bin/ruby
Perl: /usr/bin/perl
Python: /usr/bin/python => /System/Library/Frameworks/Python.framework/Versions/2.3/bin/python
Ruby: /usr/bin/ruby
Java: N/A
==> ENV
CC: /usr/local/bin/gcc-4.2 => /usr/local/Cellar/apple-gcc42/4.2.1-5553/bin/gcc-4.2
CXX: /usr/local/bin/g++-4.2 => /usr/local/Cellar/apple-gcc42/4.2.1-5553/bin/g++-4.2
OBJC: /usr/local/bin/gcc-4.2
OBJCXX: /usr/local/bin/g++-4.2
CFLAGS: -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4
CXXFLAGS: -Os -w -pipe -mcpu=750 -faltivec -mmacosx-version-min=10.4
CPPFLAGS: -I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include
LDFLAGS: -L/usr/local/lib -Wl,-headerpad_max_install_names
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /usr/local/opt/libunwind-headers:/usr/local/opt/dyld-headers:/usr/local/opt/cctools-headers
MACOSX_DEPLOYMENT_TARGET: 10.4
PKG_CONFIG_LIBDIR: /usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.4:/usr/lib/pkgconfig
HOMEBREW_MAKE_JOBS: 1
PATH: /usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/Library/ENV/scm
CPATH: /usr/local/include
Error: ld64 97.17 did not build
Logs:
/Users/someuser/Library/Logs/Homebrew/ld64/01.make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.