symver test fails to build
Closed this issue · 0 comments
bkmgit commented
Consider updating the test in https://github.com/LLNL/GOTCHA/tree/develop/test/symver as it fails to build with newer versions of GCC
cd /builddir/build/BUILD/GOTCHA-1.0.5/redhat-linux-build/test/symver && /usr/bin/cmake -E cmake_link_script CMakeFiles/retX.dir/link.txt --verbose=1
/usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--version-script=/builddir/build/BUILD/GOTCHA-1.0.5/test/symver/symver.map -shared -Wl,-soname,libretX.so -o libretX.so CMakeFiles/retX.dir/retX_old.c.o CMakeFiles/retX.dir/retX_new.c.o
/builddir/build/BUILD/GOTCHA-1.0.5/src/gotcha_auxv.c: In function ‘get_vdso_from_auxv’:
/builddir/build/BUILD/GOTCHA-1.0.5/src/gotcha_auxv.c:108:21: warning: ‘vdso_dynamic’ may be used uninitialized [-Wmaybe-uninitialized]
108 | if (m->l_addr + vdso_dynamic == (ElfW(Addr))m->l_ld) {
| ~~~~~~~~~~^~~~~~~~~~~~~~
/builddir/build/BUILD/GOTCHA-1.0.5/src/gotcha_auxv.c:93:14: note: ‘vdso_dynamic’ was declared here
93 | ElfW(Addr) vdso_dynamic;
| ^~~~~~~~~~~~
gmake[2]: Leaving directory '/builddir/build/BUILD/GOTCHA-1.0.5/redhat-linux-build'
[ 22%] Built target num3
{standard input}: Assembler messages:
{standard input}: Error: invalid attempt to declare external version name as default in symbol `retX@@GOTCHA_2'
Full log https://kojipkgs.fedoraproject.org//work/tasks/3462/109123462/build.log