[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: globus-net-manager FTBFS during python 3.10 transition



Le 10/05/2022 à 21:23, John Paul Adrian Glaubitz a écrit :
Hi!

On 4/27/22 11:19, John Paul Adrian Glaubitz wrote:
On 4/27/22 11:04, Laurent Vivier wrote:
Normally, since qemu v6.0.0 you can preserve argv[0]:
(...)
You need also kernel v5.12:

OK, I'm installing QEMU 6.2 and kernel 5.16 from backports on all QEMU
buildds now. Let's see if that helps.

Tested with QEMU 7.0 and glibc patches from [1], still fails.

Need to keep digging.

Did you configure binfmt_misc to preserve argv0 [2] ?

$ cat /proc/sys/fs/binfmt_misc/qemu-m68k
enabled
interpreter //qemu-m68k
flags: POC
offset 0
magic 7f454c4601020100000000000000000000020004
mask fffffffffffffe00fffffffffffffffffffeffff


Thanks,
Laurent


Adrian

[1] https://github.com/zatrazz/glibc/tree/azanella/redir-refactor


[2] ``P`` - preserve-argv[0]
            Legacy behavior of binfmt_misc is to overwrite
            the original argv[0] with the full path to the binary. When this
            flag is included, binfmt_misc will add an argument to the argument
            vector for this purpose, thus preserving the original ``argv[0]``.
            e.g. If your interp is set to ``/bin/foo`` and you run ``blah``


Reply to: