Skip to contentSkip to conversation

gcc-runtime: Debug sources not packaged

DISCUSSION Christian Eggers 1 participant 1 message Aug 7, 2020

lore
Share & tools
lore
#0 lore raw

It seems that there are no debug sources available for libstdc++. When debugging with GDB, I get the following message:

Quoted 5 lines

Can't find a source file at "/opt/orbiter-tiny/3.1.1/sysroots/cortexa7t2hf- neon-vfpv4-poky-linux-musleabi/usr/src/debug/gcc-runtime/9.3.0-r0/arm-poky- linux-musleabi/libstdc++-v3/libsupc++/../../../../../../../../../work-shared/ gcc-9.3.0-r0/gcc-9.3.0/libstdc++-v3/libsupc++/eh_alloc.cc"
Locate the file or edit the source lookup path to include its location.

Debug sources for all other libraries are available.

The directory work/.../gcc-runtime/.../packages-split/gcc-runtime-src is empty and so there is no gcc-runtime-src ipk generated. It looks like packaging debug sources does not work as the gcc sources are extracted to the work-shared/ directory instead of work/

The gcc-runtime recipe creates special -fdebug-prefix-map options. It looks like these settings make it impossible copy the debug sources during packaging.

Any ideas how to generate a gcc-runtime-src package?

Best regards
Christian

________________________________
[http://assets.arri.com/media/sign/2020-04-03-E-mail-signature-Stellar2_V1.jpg] <https://microsites.arri.com/stellar/>

Get all the latest information from www.arri.com<https://www.arri.com/>, Facebook<https://www.facebook.com/TeamARRI>, Twitter<https://twitter.com/ARRIChannel>, Instagram<https://instagram.com/arri> and YouTube<https://www.youtube.com/user/ARRIChannel>.

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRA 57918 Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRB 54477 Geschäftsführer: Dr. Michael Neuhäuser; Stephan Schenk; Walter Trauninger; Markus Zeiler