Test derived from the BZ
9.2-1 and 10.0-1 both do work for x86 (as expected)
$ apt install libglusterfs-dev gcc
$ cat gtest.c
#include <stdio.h>
#include <dlfcn.h>
#include <assert.h>
int main(int argc, char **argv)
{
void *h = dlopen("/usr/lib/x86_64-linux-gnu/libglusterfs.so.0", RTLD_NOW);
if (!h) fprintf (stderr, "dlerror = %s\n", dlerror());
return 0;
}
$ gcc -Wall gtest.c -o gtest -ldl -g
$ ./gtest
But on s390x (we only see the FTBFS on s390x+arm64)
(Path obviously has to be adapted)
#include <stdio.h>
#include <dlfcn.h>
#include <assert.h>
int main(int argc, char **argv)
{
void *h = dlopen("/usr/lib/s390x-linux-gnu/libglusterfs.so.0", RTLD_NOW);
if (!h) fprintf (stderr, "dlerror = %s\n", dlerror());
return 0;
}
Impish fine
root@i-gluster:~# ./gtest
Jammy broken
root@j-gluster:~# ./gtest
dlerror = /lib/s390x-linux-gnu/libtcmalloc.so.4: cannot allocate memory in
static TLS block
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1950777
Title:
Glusterfs 1.0 breaks libvirt tests on s390x
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glusterfs/+bug/1950777/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs