Skip to content

run-pass utf8_idents fails on android (android as problem) #7486

Closed
@yichoi

Description

@yichoi

#7467 fixed but issue remains

command: x86_64-unknown-linux-gnu/stage2/bin/rustc /home/yichoi/rust_latest/src/test/run-pass/utf8_idents.rs -o x86_64-unknown-linux-gnu/test/run-pass/utf8_idents.stage2-arm-linux-androideabi -L x86_64-unknown-linux-gnu/test/run-pass -L x86_64-unknown-linux-gnu/test/run-pass/utf8_idents.libaux --android-cross-path=/opt/ndk_standalone -O --target=arm-linux-androideabi
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error: building with `/opt/ndk_standalone/bin/arm-linux-androideabi-gcc` failed with code 1
note: /opt/ndk_standalone/bin/arm-linux-androideabi-gcc arguments: -c -o x86_64-unknown-linux-gnu/test/run-pass/utf8_idents.o x86_64-unknown-linux-gnu/test/run-pass/utf8_idents.s
note: x86_64-unknown-linux-gnu/test/run-pass/utf8_idents.s: Assembler messages:
x86_64-unknown-linux-gnu/test/run-pass/utf8_idents.s:124: Error: junk at end of line, first unrecognized character is `"'
x86_64-unknown-linux-gnu/test/run-pass/utf8_idents.s:126: Error: Missing symbol name in directive
x86_64-unknown-linux-gnu/test/run-pass/utf8_idents.s:126: Error: unrecognized symbol type "_ZN68聖?

[error]

.globl  "_ZN68?C■~C~P?C?~C~[?C~T?C~Z?C~P?C~S_?C~R?C~T?C~[?C| ?C~X?C~T?C~Z?C~X_?C■~C~P?C~S?C~X?C~Z?C~X17_ff8e4e809e2369c43_00E"
    .align  2
    .type   "_ZN68?C■~C~P?C?~C~[?C~T?C~Z?C~P?C~S_?C~R?C~T?C~[?C| ?C~X?C~T?C~Z?C~X_?C■~C~P?C~S?C~X?C~Z?C~X17_ff8e4e809e2369c43_00E",%function
"_ZN68?C■~C~P?C?~C~[?C~T?C~Z?C~P?C~S_?C~R?C~T?C~[?C| ?C~X?C~T?C~Z?C~X_?C■~C~P?C~S?C~X?C~Z?C~X17_ff8e4e809e2369c43_00E":
    .fnstart

[original utf8_idents.s of ea62fd1090fda26e1e4b68bdc7ef2e11864d80b6]

.globl  _ZN3str6traits14__extensions__9meth_30333add17_7be0a2e65a39bc5a3_00E
    .align  2
    .type   _ZN3str6traits14__extensions__9meth_30333add17_7be0a2e65a39bc5a3_00E,%function
_ZN3str6traits14__extensions__9meth_30333add17_7be0a2e65a39bc5a3_00E:
    .fnstart

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationO-androidOperating system: Android

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions