Skip to content

zig build fails on ppc64le / CPU = power8 Fedora Core 42 #24568

@matevy

Description

@matevy

Zig Version

0.14.1

Steps to Reproduce and Observed Behavior

CMAKE_GENERATOR=Ninja ./build native-linux-gnu baseline
or
CMAKE_GENERATOR=Ninja ./build native-linux-gnu power8

[1/4] Building C object CMakeFiles/zig2.dir/zig2.c.o
FAILED: CMakeFiles/zig2.dir/zig2.c.o
/usr/sbin/cc -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/root/zig/zig-bootstrap/zig/stage1 -I/root/zig/zig-bootstrap/out/host/include -O3 -DNDEBUG -std=c99 -O0 -fno-stack-protector -MD -MT CMakeFiles/zig2.dir/zig2.c.o -MF CMakeFiles/zig2.dir/zig2.c.o.d -o CMakeFiles/zig2.dir/zig2.c.o -c /root/zig/zig-bootstrap/out/build-zig-host/zig2.c
/tmp/cctryZSi.s: Assembler messages:
/tmp/cctryZSi.s:10170593: Error: operand out of range (0xfffffffffdff0bc8 is not between 0xfffffffffe000000 and 0x1fffffc)
/tmp/cctryZSi.s:10170621: Error: operand out of range (0xfffffffffdff0b9c is not between 0xfffffffffe000000 and 0x1fffffc)
... similar lines ...

full log attached

zig-build-fail.txt

Expected Behavior

build

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-powerpc32-bit and 64-bit Power ISAbugObserved behavior contradicts documented or intended behavioros-linux

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions