Hi, the following change to the base system fixed the issue for me:
https://marc.info/?l=openbsd-cvs&m=157496009709843&w=2 Thank you guenther@ and sthen@ Kind regards -Dieter On Thu, Nov 28, 2019 at 02:48:35PM +0000, Stuart Henderson wrote: > +cc guenther, can I get you any more info? > > On 2019/11/28 15:33, Dieter Rauschenberger wrote: > > Hi, > > > > $ mplayer > > ld.so: mplayer: unknown relocation 2 > > Killed > > > > This happens with -current basesystem BUILDINFO Build date: 1574841319 > > - Wed Nov 27 07:55:19 UTC 2019 i386 and package from > > mplayer-20190817p0.tgz 28-Nov-2019 03:23 downloaded from > > ftp.openbsd.org > > I see it here too. I also see it running conftest in ports/lang/ghc: > > configure:5589: checking whether we are cross compiling > configure:5597: cc -o conftest -O2 -pipe -fno-pie -Wl,-znotext conftest.c > >&5 > configure:5601: $? = 0 > configure:5608: ./conftest > ld.so: conftest: unknown relocation 2 > Killed > configure:5612: $? = 137 > configure:5619: error: in `/pobj/ghc-8.6.4/ghc-8.6.4': > configure:5621: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details > > Here's the tail of LD_DEBUG output when trying to run mplayer: > > linking dep /usr/X11R6/lib/libxcb.so.4.0 as child of > /usr/X11R6/lib/libxcb-dri2.so.1.1 > examining: '/usr/X11R6/lib/libdrm.so.7.8' > loading: libm.so.10.1 required by /usr/X11R6/lib/libdrm.so.7.8 > linking dep /usr/lib/libm.so.10.1 as child of /usr/X11R6/lib/libdrm.so.7.8 > examining: '/usr/X11R6/lib/libgbm.so.0.4' > loading: libm.so.10.1 required by /usr/X11R6/lib/libgbm.so.0.4 > loading: libpthread.so.26.1 required by /usr/X11R6/lib/libgbm.so.0.4 > loading: libz.so.5.0 required by /usr/X11R6/lib/libgbm.so.0.4 > loading: libexpat.so.12.0 required by /usr/X11R6/lib/libgbm.so.0.4 > loading: libdrm.so.7.8 required by /usr/X11R6/lib/libgbm.so.0.4 > linking dep /usr/lib/libpthread.so.26.1 as child of > /usr/X11R6/lib/libgbm.so.0.4 > linking dep /usr/lib/libz.so.5.0 as child of /usr/X11R6/lib/libgbm.so.0.4 > linking dep /usr/lib/libexpat.so.12.0 as child of /usr/X11R6/lib/libgbm.so.0.4 > linking dep /usr/X11R6/lib/libdrm.so.7.8 as child of > /usr/X11R6/lib/libgbm.so.0.4 > linking dep /usr/lib/libm.so.10.1 as child of /usr/X11R6/lib/libgbm.so.0.4 > examining: '/usr/local/lib/libogg.so.6.2' > examining: '/usr/X11R6/lib/libXau.so.10.0' > examining: '/usr/X11R6/lib/libXdmcp.so.11.0' > flags /usr/libexec/ld.so = 0x0 > obj /usr/libexec/ld.so has mplayer as head > static tls size=0 align=4 offset=0 > ld.so: mplayer: unknown relocation 2 > Killed
