-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[Mips] Cannot select: t28: i64 = MipsISD::GPRel TargetGlobalAddress:i64<ptr @.str.5> 0 [TF=3]
when building musl libc.a
with -mno-abicalls
#142060
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
@llvm/issue-subscribers-backend-mips Author: Alex Rønne Petersen (alexrp)
Repro:
$ git clone https://git.musl-libc.org/git/musl
$ cd musl
$ ./configure --disable-shared --target=mips64-linux-muslabi64 AR="llvm-ar" CC="clang" RANLIB="llvm-ranlib" CFLAGS="--target=mips64-linux-muslabi64 -mno-abicalls"
$ make lib/libc.a -j$(nproc) Crash:
Preprocessed source + run script: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Repro:
Crash:
Preprocessed source + run script:
The text was updated successfully, but these errors were encountered: