{"id":6636,"date":"2020-02-05T00:25:03","date_gmt":"2020-02-04T23:25:03","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=6636"},"modified":"2020-02-05T00:25:05","modified_gmt":"2020-02-04T23:25:05","slug":"oh-debug-symbols","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2020\/02\/05\/oh-debug-symbols\/","title":{"rendered":"Oh, debug symbols"},"content":{"rendered":"\n<p>I forgot how big an executable can become when you compile it with debug symbols.<\/p>\n\n\n\n<p>I was recompiling IfcOpenShell. For a moment my 16Gb, 12core machine froze. Well, an executable of <strong>six hundred, thirty five millions of bytes!<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">paolo@rigel:\/mnt\/dati\/paolo\/src\/IfcOpenShell\/build\/Linux\/x86_64\/install\/ifcopenshell\/bin$ file *\nIfcConvert: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter \/lib64\/ld-linux-x86-64.so.2, BuildID[sha1]=4aedda5d6f5398c7692e05e99cad2384cf90c992, for GNU\/Linux 3.2.0, with debug_info, not stripped\nIfcGeomServer: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter \/lib64\/ld-linux-x86-64.so.2, BuildID[sha1]=1b6d02232a0994d7c4cb07c08a56543a1e7849d1, for GNU\/Linux 3.2.0, with debug_info, not stripped\npaolo@rigel:\/mnt\/dati\/paolo\/src\/IfcOpenShell\/build\/Linux\/x86_64\/install\/ifcopenshell\/bin$ du -h *\n<strong>635M IfcConvert<\/strong>\n<strong>413M IfcGeomServer<\/strong>\npaolo@rigel:\/mnt\/dati\/paolo\/src\/IfcOpenShell\/build\/Linux\/x86_64\/install\/ifcopenshell\/bin$ strip *\npaolo@rigel:\/mnt\/dati\/paolo\/src\/IfcOpenShell\/build\/Linux\/x86_64\/install\/ifcopenshell\/bin$ du -h *\n52M IfcConvert\n42M IfcGeomServer<\/pre>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">I forgot how big an executable can become when you compile it with debug symbols. I was recompiling IfcOpenShell. For a moment my 16Gb, 12core machine froze. Well, an executable of six hundred, thirty five millions of bytes! paolo@rigel:\/mnt\/dati\/paolo\/src\/IfcOpenShell\/build\/Linux\/x86_64\/install\/ifcopenshell\/bin$ file * IfcConvert: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter \/lib64\/ld-linux-x86-64.so.2,&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2020\/02\/05\/oh-debug-symbols\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-6636","post","type-post","status-publish","format-standard","hentry","category-senza-categoria"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-1J2","jetpack-related-posts":[{"id":7144,"url":"https:\/\/monodes.com\/predaelli\/2020\/04\/30\/little-notes\/","url_meta":{"origin":6636,"position":0},"title":"Little notes","author":"Paolo Redaelli","date":"2020-04-30","format":false,"excerpt":"Just a little note to myself, to start salome on a severly hacked and messed up workstation like mine: paolo@rigel:~\/salome_meca\/appli_V2019.0.3_universal$ \/home\/paolo\/salome_meca\/appli_V2019.0.3_universal\/salome runSalome running on rigel Searching for a free port for naming service: 2815 - OK Searching Naming Service + found in 0.1 seconds Searching \/Kernel\/Session in Naming Service ++++libGL\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14846,"url":"https:\/\/monodes.com\/predaelli\/2026\/01\/28\/flutter-a-necessary-evil\/","url_meta":{"origin":6636,"position":1},"title":"Flutter? A necessary evil","author":"Paolo Redaelli","date":"2026-01-28","format":false,"excerpt":"Flutter SDK is available only for Linux x64. MacOS has ARM and x64 packages, Windows has x64. This make developing on Raspberry a real chore, not to speak *BSD. This makes me distrust the language as it seems a little to much under the whims of the GAFAM that controls\u2026","rel":"","context":"In &quot;Ethics&quot;","block_context":{"text":"Ethics","link":"https:\/\/monodes.com\/predaelli\/category\/ethics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/12\/flet-dev.webp?fit=752%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/12\/flet-dev.webp?fit=752%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/12\/flet-dev.webp?fit=752%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/12\/flet-dev.webp?fit=752%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":12336,"url":"https:\/\/monodes.com\/predaelli\/2025\/01\/23\/ventoy\/","url_meta":{"origin":6636,"position":2},"title":"Ventoy","author":"Paolo Redaelli","date":"2025-01-23","format":"link","excerpt":"Ventoy is an open source tool to create bootable USB drive for ISO\/WIM\/IMG\/VHD(x)\/EFI files. With ventoy, you don't need to format the disk over and over, you just need to copy the ISO\/WIM\/IMG\/VHD(x)\/EFI files to the USB drive and boot them directly. You can copy many files at a time\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/monodes.com\/predaelli\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/01\/screen_uefi_en.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/01\/screen_uefi_en.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/01\/screen_uefi_en.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/01\/screen_uefi_en.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":981,"url":"https:\/\/monodes.com\/predaelli\/2016\/02\/01\/cryptography-linux-and-me-grub2-a-rundown\/","url_meta":{"origin":6636,"position":3},"title":"Cryptography, Linux, and me: GRUB2 &#8211; A Rundown","author":"Paolo Redaelli","date":"2016-02-01","format":false,"excerpt":"Useful stuffs to manage GRUB:\u00a0 Cryptography, Linux, and me: GRUB2 - A Rundown I've spent an inordinate amount of time today going over GRUB2 for my upcoming\u00a0RHCSA exam. I probably went overboard. If you are like me (scratching your head at GRUB2 wishing it would go back to \"the way\u2026","rel":"","context":"In &quot;GNU\/Linux&quot;","block_context":{"text":"GNU\/Linux","link":"https:\/\/monodes.com\/predaelli\/category\/gnulinux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1714,"url":"https:\/\/monodes.com\/predaelli\/2016\/07\/29\/still-at-step-3\/","url_meta":{"origin":6636,"position":4},"title":"Still at step 3","author":"Paolo Redaelli","date":"2016-07-29","format":"aside","excerpt":"Windows Subsystem for Linux Windows Subsystem for Linux (WSL) is a compatibility layer for running Linuxbinary executables (in ELF format) natively on Windows 10. Microsoft and Canonical partnered together to enable a genuine UbuntuTrusty Tahr image to be downloaded and extracted to the user's local machine, and for the tools\u2026","rel":"","context":"In &quot;GNU\/Linux&quot;","block_context":{"text":"GNU\/Linux","link":"https:\/\/monodes.com\/predaelli\/category\/gnulinux\/"},"img":{"alt_text":"windows-subsystem-for-linux","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/07\/windows-subsystem-for-linux-1.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/07\/windows-subsystem-for-linux-1.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/07\/windows-subsystem-for-linux-1.png?resize=525%2C300 1.5x"},"classes":[]},{"id":12136,"url":"https:\/\/monodes.com\/predaelli\/2024\/12\/19\/fuss-the-gnu-linux-distribution-for-a-digitally-sustainable-school\/","url_meta":{"origin":6636,"position":5},"title":"FUSS &#8211; The GNU\/Linux Distribution for a Digitally Sustainable School","author":"Paolo Redaelli","date":"2024-12-19","format":false,"excerpt":"FUSS The GNU\/Linux Distribution for a Digitally Sustainable School FUSS is a complete GNU\/Linux solution (server, client and desktop\/standalone) based on Debian for managing an educational network. It is at the same time also a digital sustainability project that since 2005 allows students and teachers to use at home the\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/monodes.com\/predaelli\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2024\/12\/logo-FUSS-circle.png?fit=980%2C980&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2024\/12\/logo-FUSS-circle.png?fit=980%2C980&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2024\/12\/logo-FUSS-circle.png?fit=980%2C980&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2024\/12\/logo-FUSS-circle.png?fit=980%2C980&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/6636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=6636"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/6636\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=6636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=6636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=6636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}