WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Re: Tiny Core v17.0 upgrade issues  (Read 9737 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15605
Re: Tiny Core v17.0 upgrade issues
« Reply #150 on: Today at 06:02:38 AM »
I'm not certain of this and may be misremembering.
I think the new kernel is built on the previous version of Tinycore.
If that's the case, it might be built with the previous version of GCC.
Newer versions of GCC typically build larger executables.

Maybe Juanito and/or Paul_123 can comment.

The new toolchain is built in a chroot environment against the new kernel headers on the previous version of tinycore and this toolchain is used to build the new kernel. Thus the version of gcc in tc-17.x was used to build the kernel.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1563
Re: Re: Tiny Core v17.0 upgrade issues
« Reply #151 on: Today at 08:19:28 AM »
There were quite a few changes in the kernel config between 17.0 and 17.1 proposed kernel, in addition the kernel version.  That is why its size changed.

It should not make a difference what CPU a kernel is compiled under, as the kernel config dictates the compiler output, as long as its the same compiler version.   It is true that the x86 kernel is built on a 64bit cpu, but done in the tc 32bit environment.

Offline Stefann

  • Wiki Author
  • Full Member
  • *****
  • Posts: 206
Re: Re: Tiny Core v17.0 upgrade issues
« Reply #152 on: Today at 11:45:57 AM »
There were quite a few changes in the kernel config between 17.0 and 17.1 proposed kernel, in addition the kernel version.  That is why its size changed.

It should not make a difference what CPU a kernel is compiled under, as the kernel config dictates the compiler output, as long as its the same compiler version.   It is true that the x86 kernel is built on a 64bit cpu, but done in the tc 32bit environment.
So.. that is strange. Because on TC17.0 I compiled a TC17.1 kernel that is 20kB bigger than the published TC17.1 kernel.
It’s probably handier to investigate this towards TC17.1 instead of TC17.0 as the TC team has that under active development.

I’m currently out.
I will do a “very clean” TC17.1  kernel make tomorrow.
Including Mrproper and oldconfig, and make sure to have all apps update before I compile.

I wil do that TC17.1 compile on TC17.0 system. That’s ok I hope.

Anything else I should check?
« Last Edit: Today at 11:50:42 AM by Stefann »