I have now compiled locally again with only the following option:
%build
%cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DCMAKE_SKIP_RPATH:BOOL=OFF \
-DOPTION_DEBUG:STRING=ON \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \
-DSD_BINDIR:PATH=bin \
-DOPTION_3RDPARTY_SOLID:BOOL=ON \
-DOPTION_TRACKEDITOR:BOOL=OFF \
-DOPTION_OFFICIAL_ONLY:BOOL=ON \
-DCMAKE_C_FLAGS="%{optflags}" \
-DCMAKE_CXX_FLAGS="%{optflags}"
%cmake_build
# installed local rpm file
$ rpm -ivh
/home/martin/rpmbuild/RPMS/x86_64/speed-dreams-2.4.2-2.fc42.x86_64.rpm
/home/martin/rpmbuild/RPMS/noarch/speed-dreams-robots-base-2.4.2-2.fc42.noarch.rpm
# check binary, still stripped
$ file /usr/bin/speed-dreams-2
/usr/bin/speed-dreams-2: ELF 64-bit LSB pie executable, x86-64, version 1
(SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
BuildID[sha1]=7b6259c262bf9d382214f9129f965b5cdb33dcc6, for GNU/Linux 3.2.0,
stripped
$ rpm -qa |grep debuginfo
elfutils-debuginfod-client-0.193-2.fc42.x86_64
elfutils-debuginfod-client-devel-0.193-2.fc42.x86_64
$ export DEBUGINFOD_URLS="https://debuginfod.fedoraproject.org/"
$ gdb /usr/bin/speed-dreams-2
backtrace:
[1] https://martinkg.fedorapeople.org/ErrorReports/gdb.txt
Regards
Martin
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue