Bug 167064 - [build] Cross compile build failed - broken toolchain
Summary: [build] Cross compile build failed - broken toolchain
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-18 16:40 UTC by misho
Modified: 2017-11-05 20:05 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description misho 2012-04-18 16:40:01 UTC
After last update of system sources I found this problem.
When you try to cross compiling system, build process stops at toolchain section with this:
c++ -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/TableGen -I. -I/usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd10.0\" -I/usr/obj/amd64.amd64/usr/src/tmp/legacy/usr/include -c /usr/src/lib/clang/libllvmtablegen/../../../contrib/llvm/lib/TableGen/Record.cpp

/usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

How-To-Repeat: make TARGET=amd64 TARGET_ARCH=amd64 buildworld
Comment 1 Ed Maste freebsd_committer freebsd_triage 2017-11-05 20:05:58 UTC
I believe that whatever issue you encountered has been addressed, and hence am closing this ticket. I am sorry that there was no response to this report until now.

In general build failures will be addressed most quickly by reporting them on the freebsd-current mailing list. I recommend posting there if you have further issues.