Re: linux-user static build broken

2020-08-26 Thread Paolo Bonzini
Let me take a look tonight as I plan to prepare a pull request. Paolo Il mer 26 ago 2020, 12:53 Laurent Vivier ha scritto: > Le 26/08/2020 à 11:08, Paolo Bonzini a écrit : > > $ORIGIN is a special literal used by ld.so. It's probably fixed by the > > same patch that was posted for msys. > > If

Re: linux-user static build broken

2020-08-26 Thread Laurent Vivier
Le 26/08/2020 à 11:08, Paolo Bonzini a écrit : > $ORIGIN is a special literal used by ld.so. It's probably fixed by the > same patch that was posted for msys. If I remove the "-Wl,-rpath,RIGIN/" from the command line to build qemu-m68k, it works again. What the patch name or series? Thanks, Laur

Re: linux-user static build broken

2020-08-26 Thread Paolo Bonzini
$ORIGIN is a special literal used by ld.so. It's probably fixed by the same patch that was posted for msys. Paolo Il mer 26 ago 2020, 10:51 Laurent Vivier ha scritto: > Le 26/08/2020 à 10:44, Daniel P. Berrangé a écrit : > > On Tue, Aug 25, 2020 at 10:36:13PM +0200, Laurent Vivier wrote: > >> H

Re: linux-user static build broken

2020-08-26 Thread Laurent Vivier
Le 26/08/2020 à 10:44, Daniel P. Berrangé a écrit : > On Tue, Aug 25, 2020 at 10:36:13PM +0200, Laurent Vivier wrote: >> Hi, >> >> since we have switched to meson, the statically linked binaries of qemu >> linux-user are broken: >> >> cd $OBJ >> $SRC/configure --static --target-list=m68k-linux-user

Re: linux-user static build broken

2020-08-26 Thread Daniel P . Berrangé
On Tue, Aug 25, 2020 at 10:36:13PM +0200, Laurent Vivier wrote: > Hi, > > since we have switched to meson, the statically linked binaries of qemu > linux-user are broken: > > cd $OBJ > $SRC/configure --static --target-list=m68k-linux-user > make > ./qemu-m68k > Segmentation fault (core dumped) >

Re: linux-user static build broken

2020-08-25 Thread Peter Maydell
On Tue, 25 Aug 2020 at 21:37, Laurent Vivier wrote: > > Hi, > > since we have switched to meson, the statically linked binaries of qemu > linux-user are broken: > > cd $OBJ > $SRC/configure --static --target-list=m68k-linux-user > make > ./qemu-m68k > Segmentation fault (core dumped) It can't be

linux-user static build broken

2020-08-25 Thread Laurent Vivier
Hi, since we have switched to meson, the statically linked binaries of qemu linux-user are broken: cd $OBJ $SRC/configure --static --target-list=m68k-linux-user make ./qemu-m68k Segmentation fault (core dumped) Program received signal SIGSEGV, Segmentation fault. 0x77bd6833 in __dcigette