'addedFunc' itself is 0 (NULL).
    Substituting testvoidarg.cpp.o as compiled by gcc-8.2.1-6.fc28.x86_64 (from 
the same source)
    gives the same SIGSEGV.  So compiling testvoidarg.cpp with gcc-9 is no 
longer a suspect.


I just performed a mockbuild for Fedora 29 and all tests passed... What am I 
missing?

Look at the final command (the static binding) that built the 'testvoidarg' 
executable:
=====
cd .../BUILD/apiextractor-0.10.10/x86_64-redhat-linux-gnu/tests &&
/usr/bin/cmake -E cmake_link_script CMakeFiles/testvoidarg.dir/link.txt 
--verbose=1

/usr/bin/c++  -O2 -g -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS \
   -fexceptions -fstack-protector-strong -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 \
   -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic 
-fasynchronous-unwind-tables \
   -fstack-clash-protection -fcf-protection -Wall -fvisibility=hidden -DNDEBUG  
-Wl,-z,relro  -Wl,-z,now \
   -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic 
CMakeFiles/testvoidarg.dir/testvoidarg.cpp.o  \
   -o testvoidarg 
-Wl,-rpath,.../BUILD/apiextractor-0.10.10/x86_64-redhat-linux-gnu/tests \
   -lQtTest -lQtCore -lQtGui libapiextractor.so.0.10.10 -lxslt -lxml2 -lQtCore 
-lQtXmlPatterns -lQtXml
=====

Replace each piece, one-by-one, with the corresponding piece from Fedora 29,
(or from Fedora 30, but compiled by gcc-8.2.1-6) and test before replacing
the next piece, too.  In this case: each '-l' argument, and the 
libapiextractor.so.0.10.10 .
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to