Skip to content

Failed to compile from i686 to x86_64. #22

@vi

Description

@vi
   Compiling context v0.1.4
Build failed, waiting for other jobs to finish...
failed to run custom build command for `context v0.1.4`
Process didn't exit successfully: `/mnt/src/_/rust_mioco_test/target/debug/build/context-ca8e3979cf5f1cbc/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("0")
PROFILE = Some("debug")
TARGET = Some("x86_64-unknown-linux-gnu")
debug=true opt-level=0
HOST = Some("i686-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("i686-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
TARGET_CC = None
CC = None
HOST = Some("i686-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("i686-unknown-linux-gnu")
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
TARGET_CFLAGS = None
CFLAGS = None
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-m64" "-fPIC" "-o" "/mnt/src/_/rust_mioco_test/target/x86_64-unknown-linux-gnu/debug/build/context-ca8e3979cf5f1cbc/out/src/asm/i686/_context.o" "-c" "src/asm/i686/_context.S"
ExitStatus(ExitStatus(256))


command did not execute successfully, got: exit code: 1



--- stderr
src/asm/i686/_context.S: Assembler messages:
src/asm/i686/_context.S:41: Error: invalid instruction suffix for `pop'
src/asm/i686/_context.S:46: Error: invalid instruction suffix for `pop'
src/asm/i686/_context.S:61: Error: operand type mismatch for `push'
src/asm/i686/_context.S:85: Error: invalid instruction suffix for `pop'
src/asm/i686/_context.S:90: Error: invalid instruction suffix for `pop'
src/asm/i686/_context.S:117: Error: operand type mismatch for `push'
thread '<main>' panicked at 'explicit panic', /home/vi/.cargo/registry/src/git.colasdn.top-48ad6e4054423464/gcc-0.3.21/src/lib.rs:772

Why does it try to compile something from i686 with -m64?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions