SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
5.18.3 built fine with gcc-12.1. Offered one change to .config and I accepted default. Comparing the 5.18.3 .config to the previous version the following changes were seen -
Code:
Additions:
CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y
# CONFIG_EFI_FAKE_MEMMAP is not set
and changed CONFIG_RADIO_ADAPTERS from y to m
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,018
Rep:
Quote:
Originally Posted by 3rensho
5.18.3 built fine with gcc-12.1. Offered one change to .config and I accepted default. Comparing the 5.18.3 .config to the previous version the following changes were seen -
Code:
Additions:
CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y
# CONFIG_EFI_FAKE_MEMMAP is not set
and changed CONFIG_RADIO_ADAPTERS from y to m
Logs look OK.
hmm I had CONFIG_EFI_FAKE_MEMMAP disabled long time ago (earliest config that I still have is 5.13.x), I never had CONFIG_RADIO_ADAPTERS enabled either.
my understanding is that CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT detects buggy clang, if so, not really needed.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,167
Original Poster
Rep:
Just had one heck of a scare!
I was about to shut the machine down, but before doing so told Thunderbird to check for e-mail. It replied there wasn't enough hard disk space for new mail. There is plenty of space!
The next thing I know I'm out of X and back at the prompt (init3).
I typed, "startx" and Xfce opens, but I'm using KDE4 (in up to the moment -current). I checked my user directory and it is fresh, as if I'm a brand new user, that is, my /home/username directory had been deleted.
After restoring my backup, I was looking at the system with Midnight Commander and noticed that in /home was a new directory named, Home (note the capital H). Turns out that was my user directory. It, somehow, was renamed to, Home.
I have no idea how any of this happened. NONE. I never have had a problem sleep walking , so I really don't have clue as to what is going on.
The panic is over, but I had already returned to gcc-11.3.0 and the 5.18.2 kernel before restoring the backup and I think I'll stay with them for the time being.
Last edited by cwizardone; 06-12-2022 at 10:19 AM.
Reason: Typo.
Looks like we got "CONFIG_DEBUG_INFO=y" in the brand new .config file for 5.18.3 and the debug data is stripped latter into SlackBuild.
While previously, there was used "CONFIG_DEBUG_INFO_NONE=y" and its friends.
In fact, the entire properly config section for 5.18.3 looks like this:
Code:
#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO_NONE=y
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set
# CONFIG_DEBUG_INFO_DWARF4 is not set
# CONFIG_DEBUG_INFO_DWARF5 is not set
CONFIG_FRAME_WARN=0
CONFIG_STRIP_ASM_SYMS=y
# CONFIG_READABLE_ASM is not set
# CONFIG_HEADERS_INSTALL is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
# CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B is not set
CONFIG_STACK_VALIDATION=y
# CONFIG_VMLINUX_MAP is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# end of Compile-time checks and compiler options
I just imagine someone giving a malefic laugh, while the unsuspecting users tries to reuse the stock config and ends seeing more than 20GB of their space gone while getting XXXL modules...
Dear BDFL, I've appreciated well this joke, BUT you can fix your config please?
Now that we have found it out, isn't amusing anymore...
Last edited by LuckyCyborg; 06-12-2022 at 10:21 AM.
The CONFIG_DEBUG_INFO_BTF_MODULES option adds a huge amount of debugging
data to the modules which we don't actually need. We'll strip debugging
information from kernel modules by default. If you are building a debug
kernel and wish to retain this data, export the variable below set to "NO".
in my custom kernels I just use a line from that after building and before packaging
(obviously $PKG should point to the already built modules tree)
In practice, from my own experience this means that building a kernel with the stock generic config requires over 20GB of space temporary wasted - this building with debug information sent a system of mine with 35GB free space in low space danger.
So, with all respect, permit me to say this: it's done in a freaking wrong way!
And for WHAT? To delete/strip all this over 20GB debug data by default? There isn't even the excuse of shipping debug packages for the kernels!
Assuming that there is a stray kernel developer who uses Slackware (which I sincerely doubt), permit me to bet that the kernel developers knows how to build their kernels with debug data.
So, this kernel config (with full debug enabled) shipped in rather decent sized kernel package(s) is nothing more than a storage space bomb - just like was long time ago those zip bombs, that 10KB zip archives which contains one or more 100GB files.
In the end, IF our BDFL really cares that much about the kernel developers wellness, he can just use a dedicated config file with all fancy debug enabled, selected by SlackBuild on choice.
Last edited by LuckyCyborg; 06-12-2022 at 12:05 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.