Displaying 2 results from an estimated 2 matches for "libtest_utils".
2020 Oct 30
2
Fail to build libvirt upstream rpm on fedora 33
...iver.so: undefined reference to
`__open_missing_mode'
collect2: error: ld returned 1 exit status
[1072/1255] gcc -o tests/virtimetest src/libvirt_probes.o
tests/virtimetest.p/virtimetest.c.o -Wl,--as-needed -Wl,--no-undefined
-Wl,-export-dynamic -pie -Wl,--whole-archive -Wl,--start-group
tests/libtest_utils.a -Wl,--no-whole-archive -O2 -flto=auto
-ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1...
2020 Oct 30
0
Re: Fail to build libvirt upstream rpm on fedora 33
...bvirt.spec`
> 3. Build rpm:
> $ rpmbuild -ba ~/rpmbuild/SPECS/libvirt.spec
> FAILED: tests/cputest
> gcc -o tests/cputest src/libvirt_probes.o tests/cputest.p/cputest.c.o
> -Wl,--as-needed -Wl,--no-undefined -Wl,-export-dynamic -pie
> -Wl,--whole-archive -Wl,--start-group tests/libtest_utils.a
> tests/libtest_utils_qemu.a -Wl,--no-whole-archive -O2 -flto=auto
> -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-stron...