Summary: | sys-freebsd/boot0-9.0 fails to compile with LLVM/Clang | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Richard Yao (RETIRED) <ryao> |
Component: | FreeBSD | Assignee: | Gentoo/BSD Team <bsd+disabled> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | Keywords: | Bug |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | FreeBSD | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963 | ||
Attachments: |
Build failure with LLVM/Clang 3.0
Build failure with LLVM/Clang 3.1 Fix a compilation error with LLVM/Clang 3.1 |
Description
Richard Yao (RETIRED)
2012-05-27 00:47:41 UTC
Created attachment 313195 [details]
Build failure with LLVM/Clang 3.1
Created attachment 313205 [details, diff]
Fix a compilation error with LLVM/Clang 3.1
I should probably have mentioned that I am building boot0 with ZFS support.
With that said, the following patch fixes a compilation error with LLVM/Clang 3.1. Applying the patch and setting BOOT2_UFS=UFS1_ONLY in the environment to remove UFS2 support from stage2 will permit it to build. I had tried BOOT2_UFS=UFS2_ONLY, but the binary was 9 bytes too large.
I am curious how FreeBSD manages to make these things fit.
*** This bug has been marked as a duplicate of bug 409815 *** |