-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try #1028: --target mips64el-unknown-linux-muslabi64
- Loading branch information
Showing
9 changed files
with
107 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{ | ||
"description": "link to libgcc for armv5te-unknown-linux-musleabi.", | ||
"type": "fixed" | ||
}, | ||
{ | ||
"description": "add C++ support for FreeBSD targets.", | ||
"type": "added" | ||
}, | ||
{ | ||
"description": "test dynamic library support for Android targets in CI.", | ||
"type": "internal" | ||
}, | ||
{ | ||
"description": "test partial C++ support for mips64el-unknown-linux-muslabi64 in CI.", | ||
"type": "internal" | ||
}, | ||
{ | ||
"description": "convert mips64el-unknown-linux-muslabi64 to a hard-float toolchain to match the rust target.", | ||
"type": "changed" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# the freebsd images need libstdc++ to be linked as well | ||
# otherwise, we get `undefined reference to `std::ios_base::Init::Init()'` | ||
|
||
set -x | ||
set -euo pipefail | ||
|
||
main() { | ||
if [[ $# -eq 0 ]]; then | ||
exec i686-unknown-freebsd12-gcc "${@}" | ||
else | ||
exec i686-unknown-freebsd12-gcc "${@}" -lc++ -lstdc++ | ||
fi | ||
} | ||
|
||
main "${@}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
# this linker wrapper works around the missing soft-fp routine __trunctfsf2 | ||
# this affects rust versions with compiler-builtins <= 0.1.77, | ||
# which has not yet been merged into stable. this requires the `-lgcc` | ||
# linker flag to provide the missing builtin. | ||
# https://github.com/rust-lang/compiler-builtins/pull/483 | ||
|
||
set -x | ||
set -euo pipefail | ||
|
||
main() { | ||
if [[ $# -eq 0 ]]; then | ||
exec mips64el-linux-musl-gcc "${@}" | ||
else | ||
exec mips64el-linux-musl-gcc "${@}" -lgcc -static-libgcc | ||
fi | ||
} | ||
|
||
main "${@}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# the freebsd images need libstdc++ to be linked as well | ||
# otherwise, we get `undefined reference to `std::ios_base::Init::Init()'` | ||
|
||
set -x | ||
set -euo pipefail | ||
|
||
main() { | ||
if [[ $# -eq 0 ]]; then | ||
exec x86_64-unknown-freebsd12-gcc "${@}" | ||
else | ||
exec x86_64-unknown-freebsd12-gcc "${@}" -lc++ -lstdc++ | ||
fi | ||
} | ||
|
||
main "${@}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters