Q: Strange problems with kernel build done with gcc-3.4 or gcc-4.0 - Linux

This is a discussion on Q: Strange problems with kernel build done with gcc-3.4 or gcc-4.0 - Linux ; Hi. Currently my Debian testing has updated it's compilers and had changed the default compiler from 3.3.5 -> 4.0.1. Since then I have the problem, that with a kernel build with gcc-4.0 the system will not boot correctly and stops ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Q: Strange problems with kernel build done with gcc-3.4 or gcc-4.0

  1. Q: Strange problems with kernel build done with gcc-3.4 or gcc-4.0

    Hi.

    Currently my Debian testing has updated it's compilers and had
    changed the default compiler from 3.3.5 -> 4.0.1.

    Since then I have the problem, that with a kernel build with gcc-4.0
    the system will not boot correctly and stops when it tries to start
    the portmapper.

    The kernel build with 3.4 does come up, but show some serious
    instabilities regarding the harddisk use. If I view e.g. a movie with
    mplayer or other maybe heavy use of CPU and hardisk io the data on the
    hdd corrupts. Sometimes it is recoverable with fsck, but in most cases
    a reinstall of the affected files has to be done. This does not happen
    if I use a kernel build with gcc-3.3.

    Has anybody else observed a similar behavior?

    TIA

    Torsten
    --
    s-mail: Neckarstr. 120 Torsten Zirzlaff
    70190 Stuttgart
    Germany e-mail : zirzlaff@nienor.s.bawue.de
    phone: +49 711 285 19 40 torsten@zirzlaff.de
    mobil: +49 174 857 56 77
    data: +49 711 286 40 57/9

    +-----------------------------------------------------------------------------+
    | The shortest unit of time in the universe is the New York Second, defined |
    | as the period of time between the traffic lights turning green and the cab |
    | behind you honking. -- Terry Pratchett 'Lords and Ladies' |
    +-----------------------------------------------------------------------------+

  2. Re: Strange problems with kernel build done with gcc-3.4 or gcc-4.0

    For starters you have to tell us what version of the Kernel you're
    attempting to compile? I do know that GCC-4.0 had some issues with bootstrap
    code but from what I've heard, haven't tested, its been fixed in 4.0.1. When
    it comes to building Kernels I found the following out via trial and error:

    Kernels 2.5 and earlier compile with GCC-3.0.4
    Kernels 2.6 and later compile with GCC-3.4.3
    *No Kernels compile with LCC/CCC

    Will L G

    "Torsten Zirzlaff" wrote in message
    news:87wtmg5kn7.fsf@new.home-net.stg...
    > Hi.
    >
    > Currently my Debian testing has updated it's compilers and had
    > changed the default compiler from 3.3.5 -> 4.0.1.
    >
    > Since then I have the problem, that with a kernel build with gcc-4.0
    > the system will not boot correctly and stops when it tries to start
    > the portmapper.
    >
    > The kernel build with 3.4 does come up, but show some serious
    > instabilities regarding the harddisk use. If I view e.g. a movie with
    > mplayer or other maybe heavy use of CPU and hardisk io the data on the
    > hdd corrupts. Sometimes it is recoverable with fsck, but in most cases
    > a reinstall of the affected files has to be done. This does not happen
    > if I use a kernel build with gcc-3.3.
    >
    > Has anybody else observed a similar behavior?
    >
    > TIA
    >
    > Torsten
    > --
    > s-mail: Neckarstr. 120 Torsten

    Zirzlaff
    > 70190 Stuttgart
    > Germany e-mail :

    zirzlaff@nienor.s.bawue.de
    > phone: +49 711 285 19 40 torsten@zirzlaff.de
    > mobil: +49 174 857 56 77
    > data: +49 711 286 40 57/9
    >
    >

    +---------------------------------------------------------------------------
    --+
    > | The shortest unit of time in the universe is the New York Second,

    defined |
    > | as the period of time between the traffic lights turning green and the

    cab |
    > | behind you honking. -- Terry Pratchett 'Lords and Ladies'

    |
    >

    +---------------------------------------------------------------------------
    --+



  3. Re: Strange problems with kernel build done with gcc-3.4 or gcc-4.0

    Hi.

    " DiskMan" writes:

    > For starters you have to tell us what version of the Kernel you're
    > attempting to compile?


    2.6.12.4

    > I do know that GCC-4.0 had some issues with bootstrap
    > code but from what I've heard, haven't tested, its been fixed in 4.0.1. When
    > it comes to building Kernels I found the following out via trial and error:
    >
    > Kernels 2.5 and earlier compile with GCC-3.0.4
    > Kernels 2.6 and later compile with GCC-3.4.3
    > *No Kernels compile with LCC/CCC


    Well, I do not have a problem with compiling the kernel. That does
    work sufficiently enough, but the resulting build seems to have some
    problems. And as I had written gcc-3.3.5 or 3.3.6 are stable. Only the
    3.4.x and 4.0.1 one create some trouble for me.

    > Will L G


    Ciao

    Torsten

    --
    s-mail: Neckarstr. 120 Torsten Zirzlaff
    70190 Stuttgart
    Germany e-mail : zirzlaff@nienor.s.bawue.de
    phone: +49 711 285 19 40 torsten@zirzlaff.de
    mobil: +49 174 857 56 77
    data: +49 711 286 40 57/9

    +-----------------------------------------------------------------------------+
    | The shortest unit of time in the universe is the New York Second, defined |
    | as the period of time between the traffic lights turning green and the cab |
    | behind you honking. -- Terry Pratchett 'Lords and Ladies' |
    +-----------------------------------------------------------------------------+

  4. Re: Strange problems with kernel build done with gcc-3.4 or gcc-4.0

    I'm running Kernel-2.6.11.6 and as I stated, it was compiled with GCC-3.4.3
    and runs fine... With both IDE and SCSI drives installed. Kernel source can
    be either a hit or miss proposition. After some time of 'trial and error', I
    managed to work out what 'works' for me... GCC-3.0.4 for 2.5. and earlier
    kernels and GCC-3.4.3 for 2.6.x sources... the kernels fire up and work like
    a charm, haven't had a single issue other than my drive speed [scsi] dropped
    slightly from my original 2.4 kern, other than that, nada... Will L G

    "Torsten Zirzlaff" wrote in message
    news:87r7clj13s.fsf@new.home-net.stg...
    > Hi.
    >
    > " DiskMan" writes:
    >
    > > For starters you have to tell us what version of the Kernel you're
    > > attempting to compile?

    >
    > 2.6.12.4
    >
    > > I do know that GCC-4.0 had some issues with bootstrap
    > > code but from what I've heard, haven't tested, its been fixed in 4.0.1.

    When
    > > it comes to building Kernels I found the following out via trial and

    error:
    > >
    > > Kernels 2.5 and earlier compile with GCC-3.0.4
    > > Kernels 2.6 and later compile with GCC-3.4.3
    > > *No Kernels compile with LCC/CCC

    >
    > Well, I do not have a problem with compiling the kernel. That does
    > work sufficiently enough, but the resulting build seems to have some
    > problems. And as I had written gcc-3.3.5 or 3.3.6 are stable. Only the
    > 3.4.x and 4.0.1 one create some trouble for me.
    >
    > > Will L G

    >
    > Ciao
    >
    > Torsten
    >
    > --
    > s-mail: Neckarstr. 120 Torsten

    Zirzlaff
    > 70190 Stuttgart
    > Germany e-mail :

    zirzlaff@nienor.s.bawue.de
    > phone: +49 711 285 19 40 torsten@zirzlaff.de
    > mobil: +49 174 857 56 77
    > data: +49 711 286 40 57/9
    >
    >

    +---------------------------------------------------------------------------
    --+
    > | The shortest unit of time in the universe is the New York Second,

    defined |
    > | as the period of time between the traffic lights turning green and the

    cab |
    > | behind you honking. -- Terry Pratchett 'Lords and Ladies'

    |
    >

    +---------------------------------------------------------------------------
    --+



+ Reply to Thread