<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJzFV1lzmzgc_zT4RSPG4Ct-8IPjo81M3HQS93hjhBBYG1mwkvCxn35_AtIkTa-dbScMltH_PsWftMzOs7cyiBfkKIJ4YgSxQkhdkNQIds8KYUlaS5V50PX1xw3JS0PWNd9ZyTyX2zFHWFUJZogrSSoIZ7UVGUnPZOdcZYPBPIjXuI04SHG0oVKHfViaAqBlFI3j_gU57oR-VMPLfSWVMNS4MOgvg_68Xbc7QYQx0L8X1sI0Ii1hFhYpVR4bRS31uN_dzXY9v7peLYF9KhjKlUyxWqalk_8IkwC7LzVAiw27F2sQWmxut3cPFIuGIDxdjJPxMMykecZeKeYQm32i5F46m1SllaeQV1VYks6ueN1oxO-IX8N_6jbWsQK-e7MQnqSJBTah55HeKK6YR1_iJpQ6ZgrhgsGyNYbW-l6XR02V1PWJFroGjT1bU5ae6EeKuayyJhhgJHT5dv5xldy-XySfl7fJW_BGACbL1eWHN_4hudsuF8ni5t3ddv5um2zmi9ubu0fE-uZ2M38Jvr7aXD1Cr35kjveeVqb8S3Cfo1_MWBj-Wkzy91cLrLqkVuyZdpJTqZ0wPldOlhq4g7QylUq6M1BgFZbuZJahPumnpvigIGNOUCf34gms1kXNTCYyyg5MKtbJ0OIIIqaUJz05w_AP9bX2PUIrZthewABAj0ZCqnUGZWCx58w6-nfNPOdeWgswzaVQGeyCsUz5EHhCua-U5NLRHGrczpR1sfP85UEY6LBH6fiOZiJntXKtel2KExeVo-5ciQak6UEaB200c6U3JxMKhtFvYGxd4FRw1Ms3Mmv5qc-F0F5-6wIAGgS2iap3QAnmuxvWI5iOdeHOJCt0aZEJCw7lFeR5rblHI0nNv_V0zLGn-xxVgToRuTzRPat-UuTf6S5Ta59F--SRfq94KNoQR8wyDH-jvP_syFftAWpCffAZ8iQ5ctRKEvah6KzLQMTbgyMafq_6bmJCCzTsu7bTn3aKd85J3W7asulyUO590XkZtCqbPgKw1kdkGM2YKm9F02uO8XtvtYPVTYY9sOtiWGdZLlqiZ_0HzEPneQaFtwv9hPpGHVHP4s5f7ymcR81rLl5gUuHQejcDuOmburOPllqd25g054N_ODAjUakc2eCmtF11T6fw3QltW999yaKa-cOB7Gn84Y93YWOscU4C2gZH-YPJULwpNXwaTfrAFKpMkS40Cdql9mGB1A9d-OkGad1sX-99RTfrV1MeZoSWr-g6J7___fQLqn8-Ivw51YN5HE-wRn4h3RttTnSJQWufoq01yjhDXCZJgvZJeWKEFeYgsggwgsPBoxpEXqGRnZ8kW4cILpkDf5HjaCosDQarl0JGl1EcjJbEn3440tbvk88YMLYrzAxvrhZQMn2U5q9gsvrqBmy0eu0YTpv1j8Twy_WTMA58GCnxAiRP_AwRDBbNKUP4DiN6EM_BinRwd_JhHVx-Q8ePw_t8um7XXjYbZNPBlPVY7XalmUmF8aCSvdqo2fPPgEK6XZ2GCG6Xj5dpwbRTNx09GvSjYW8342yYTsQwj6Z5mopx3o_7UTqcTPO4P4qi0aiHeUsoO0MEgjj2M1cjAs8IR-__WyBncT-GTmi7iAdRFPJ-nk9H_CIbX0TxqD8Ohn0MlFJ9-bjpmVkjMq0LC6SS1j1--fQYxrlCC9EYDAuddErMFl01dh853_oeevr11WuMnDUW_gsFo5zg>53014</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Compiler error building compiler-rt for Fuchsia
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ilovepi
</td>
</tr>
</table>
<pre>
Hi, we're seeing breakages building LLVM for Fuchsia, that appear to be caused by https://reviews.llvm.org/D116208 when building compiler-rt.
The error message is as follows:
```
FAILED: compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o
/b/s/w/ir/x/w/staging/llvm_build/./bin/clang++ --target=x86_64-unknown-linux-gnu --sysroot=/b/s/w/ir/x/w/cipd/linux -DHAVE_RPC_XDR_H=1 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/s/w/ir/x/w/llvm-project/compiler-rt/lib/sanitizer_common/.. --target=x86_64-unknown-linux-gnu -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -ffile-prefix-map=/b/s/w/ir/x/w/staging/llvm_build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins=../staging/llvm_build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins -ffile-prefix-map=/b/s/w/ir/x/w/llvm-project/= -no-canonical-prefixes -Wall -std=c++14 -Wno-unused-parameter -O2 -g -DNDEBUG -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -nostdinc++ -Wno-format -fno-rtti -Wframe-larger-than=570 -Wglobal-constructors -UNDEBUG -MD -MT compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -MF compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o.d -o compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -c /b/s/w/ir/x/w/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
/b/s/w/ir/x/w/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:227:17: error: no member named '__glibc_reserved1' in '_libc_fpstate'
if (fpregs->__glibc_reserved1[12] == FP_XSTATE_MAGIC1)
~~~~~~ ^
/b/s/w/ir/x/w/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:229:22: error: no member named '__glibc_reserved1' in '_libc_fpstate'
fpregs->__glibc_reserved1[13] - static_cast<const char *>(ctx);
~~~~~~ ^
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzFV9lymzoYfhp8oxGDcezYF75wvLSZiZtO4i53jBAC60QIjiRsp09_PgFpkqbbmWknDJbRv6_iJ62y-_lbGcRLchRBfG4EsUJIXZDUCHbHCmFJ2kiVedDV1cctyStDNg3fW8k8l9szR1hdC2aIq0gqCGeNFRlJ78neudoGo0UQb3AbcZDiaEOlDmVYmQKg1XA4iaMpOe6FflTDq7KWShhqXBhEqyBadOtuL4gwBvpLYS1MI9ISZmGRUtWxVdRRT6L-brebxeXVegXsU8FQrmSK1TItnfwiTAJsWWmAllt2JzYgtNjc7G4fKJYtQXiaTpLJWZhJ84y9VswhNmWiZCmdTerKylPI6zqsSG9XvGk14nfEr-U_9RvrWAHfvVkIT9LGApvQ80hvFFfMoy9wE0odM4VwwWjVGUMbfaero6ZK6uZEC92Axt5bU1We6GeKuayzNhhgJHT1dvFxndy8XyafVzfJW_AOAUxW64sPb_xDcrtbLZPl9bvb3eLdLtkuljfXt4-IzfXNdvESfHW5vXyEXv7MHO89rU31j-A-R7-ZsTD8vZjk7y-XWHVFrSiZdpJTqZ0wPldOVhq4g7QylUq6e6DAKizdyyxDfdJPbfFBQcacoE6W4gms0UXDTCYyyg5MKtbL0OIIIqaUJz05w_AP9Y32PUJrZlgpYACgRyMh1TqDMrDYc2Yd_bdhnrOU1gJMcylUBrtgLFM-BJ5QlrWSXDqaQ43bm6op9p6_OggDHfYoHd_T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