On Thu, Apr 05, 2018 at 06:06:59PM +0200, Patrick Wildt wrote:
> Does this still compile with LLVM 5.0.1?

No.

cc -DHAVE_CONFIG_H -I. -I/usr/src/gnu/usr.bin/binutils-2.17/gas -I. 
-D_GNU_SOURCE -I. -I/usr/src/gnu/usr.bin/binutils-2.17/gas -I../bfd 
-I/usr/src/gnu/usr.bin/binutils-2.17/gas/config 
-I/usr/src/gnu/usr.bin/binutils-2.17/gas/../include 
-I/usr/src/gnu/usr.bin/binutils-2.17/gas/.. 
-I/usr/src/gnu/usr.bin/binutils-2.17/gas/../bfd 
-I/usr/src/gnu/usr.bin/binutils-2.17/gas/../intl -I../intl 
-DLOCALEDIR="\"/usr/share/locale\""    -W -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wno-null-pointer-arithmetic -Werror -O2 -pipe  
-DPIE_DEFAULT=1  -c /usr/src/gnu/usr.bin/binutils-2.17/gas/app.c
error: unknown warning option '-Wno-null-pointer-arithmetic'; did you mean     
      '-Wno-null-arithmetic'? [-Werror,-Wunknown-warning-option]               
*** Error 1 in obj/gas (Makefile:2566 'app.o')                                 

root@ot6:.../binutils-2.17# cc --version
OpenBSD clang version 5.0.1 (tags/RELEASE_501/final) (based on LLVM 5.0.1)     
Target: amd64-unknown-openbsd6.3
Thread model: posix
InstalledDir: /usr/bin

kern.version=OpenBSD 6.3-current (GENERIC.MP) #0: Thu Apr  5 17:02:35 CEST 2018
    r...@ot6.obsd-lab.genua.de:/usr/src/sys/arch/amd64/compile/GENERIC.MP

bluhm

Reply via email to