Saturday, August 29, 2020

i386 pgrouting clang ICE

On 2020/08/29 05:21, Stuart Henderson wrote:
> CVSROOT: /cvs
> Module name: ports
> Changes by: sthen@cvs.openbsd.org 2020/08/29 05:21:00
>
> Modified files:
> geo/pgrouting : Makefile
>
> Log message:
> mark pgrouting BROKEN-i386, clang ICE
>

Preprocessed source and run script attached. Running the run script
on amd64 also reproduces the failure.



fatal error: error in backend: Cannot select: 0x44c9e800: i32,ch = X86ISD::STRICT_FCMPS 0x5f492080, 0x562a2d40, 0x44c9e740
0x562a2d40: f64,ch = X86ISD::FILD<(load 4 from %stack.5)> 0x3a4fd380, FrameIndex:i32<5>
0x3a4fde40: i32 = FrameIndex<5>
0x44c9e740: f64,ch = load<(load 8 from %ir.203, align 4)> 0x3a4fd580, 0x562a2300, undef:i32
0x562a2300: i32 = add 0x562a2280, Constant:i32<-40>
0x562a2280: i32 = add 0x44c9e5c0, 0x3123e540
0x44c9e5c0: i32,ch = CopyFromReg 0x439cac34, Register:i32 %25
0x3a4fdf40: i32 = Register %25
0x3123e540: i32 = shl 0x3a4fd680, Constant:i8<2>
0x3a4fd680: i32,ch = CopyFromReg 0x439cac34, Register:i32 %23
0x44c9ed40: i32 = Register %23
0x5f492380: i8 = Constant<2>
0x5f492840: i32 = Constant<-40>
0x5f492280: i32 = undef
In function: get_edges_9_columns
Stack dump:
0. Program arguments: /usr/bin/cc -B /pobj/pgrouting-3.1.0/bin -DPGROUTING_VERSION="3.1.0" -DPGSQL_VERSION=123 -I/usr/local/include/postgresql/server -I/usr/local/include -I/pobj/pgrouting-3.1.0/pgrouting-3.1.0/include -O2 -pipe -std=gnu99 -fPIC -frounding-math -DNDEBUG -MD -MT src/common/CMakeFiles/common.dir/edges_input.c.o -MF src/common/CMakeFiles/common.dir/edges_input.c.o.d -o src/common/CMakeFiles/common.dir/edges_input.c.o -c /pobj/pgrouting-3.1.0/pgrouting-3.1.0/src/common/edges_input.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module '/pobj/pgrouting-3.1.0/pgrouting-3.1.0/src/common/edges_input.c'.
4. Running pass 'X86 DAG->DAG Instruction Selection' on function '@get_edges_9_columns'
cc: error: clang frontend command failed with exit code 70 (use -v to see invocation)
OpenBSD clang version 10.0.1
Target: i386-unknown-openbsd6.7
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
cc: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/edges_input-3cdc4f.c
cc: note: diagnostic msg: /tmp/edges_input-3cdc4f.sh
cc: note: diagnostic msg:

********************
ninja: build stopped: subcommand failed.

No comments:

Post a Comment