Skip to content

Compilation fails on 32bit / i686 systems #52

@phile314

Description

@phile314

Compilation fails on 32bit / i686 systems:

touch build/101/rts/bc/bc/interpreter.c
building build/101/rts/bc/bc/interpreter.o
/nix/store/icgwaw22fjy9c50rwc334hsc68xrs2w2-clang-wrapper-3.5.0/bin/clang -I/tmp/nix-build-uhc-1.1.8.7.drv-0/uhc-0dec07e/EHC/install/101/shared/include/ -std=gnu99 -Wno-array-bounds  -fomit-frame-pointer -D__UHC_BUILDS_RTS__ -O3 -D__UHC_TARGET_BC__ -D__UHC_TARGET__=bc -o build/101/rts/bc/bc/interpreter.o -c build/101/rts/bc/bc/interpreter.c
build/101/rts/bc/bc/interpreter.c:317:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
fatal error: error in backend: Invalid register name global variable
clang-3.5: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 3.5.0 (tags/RELEASE_350/final)
Target: i386-pc-linux-gnu
Thread model: posix
clang-3.5: note: diagnostic msg: PLEASE submit a bug report to  and include the crash backtrace, preprocessed source, and associated run script.
clang-3.5: note: diagnostic msg: 

Full log:
http://hydra.nixos.org/build/20345965/log/raw

I don't care if this gets fixed or not, but I'm opening the issue anyway in case somebody else runs into the same problem. Feel free to close.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions