Building 1.9.1 on Debian Lenny - gcc issue

Discussion in 'Ruby' started by Michal Suchanek, Feb 5, 2009.

  1. Hello

    While building ruby 1.9.1 on a Debian Lenny box with gcc4.3 (the
    default) compiling parse.c might take several minutes on decent
    hardware.

    This problem happens on multiple x86 and x86_64 boxes for me but does
    not happen on Debian gcc maintainer's boxes.

    gcc 4.2 works fine for me.

    Anybody else sees this problem?

    Thanks

    Michal
     
    Michal Suchanek, Feb 5, 2009
    #1
    1. Advertising

  2. On Wed, Feb 4, 2009 at 7:01 PM, Michal Suchanek <> wrote:
    > Hello
    >
    > While building ruby 1.9.1 on a Debian Lenny box with gcc4.3 (the
    > default) compiling parse.c might take several minutes on decent
    > hardware.
    >
    > This problem happens on multiple x86 and x86_64 boxes for me but does
    > not happen on Debian gcc maintainer's boxes.
    >
    > gcc 4.2 works fine for me.
    >
    > Anybody else sees this problem?
    >
    > Thanks
    >
    > Michal
    >
    >


    I just built 1.9.1 successfully with gcc 4.3 on openSUSE 11.1 (64-bit
    machine). I haven't done much with Lenny recently, although I will
    probably download it when it's release and build a virtual machine
    with it.

    --
    M. Edward (Ed) Borasky

    I've never met a happy clam. In fact, most of them were pretty steamed.
     
    M. Edward (Ed) Borasky, Feb 5, 2009
    #2
    1. Advertising

  3. 2009/2/5 M. Edward (Ed) Borasky <>:
    > On Wed, Feb 4, 2009 at 7:01 PM, Michal Suchanek <> wrote:
    >> Hello
    >>
    >> While building ruby 1.9.1 on a Debian Lenny box with gcc4.3 (the
    >> default) compiling parse.c might take several minutes on decent
    >> hardware.
    >>
    >> This problem happens on multiple x86 and x86_64 boxes for me but does
    >> not happen on Debian gcc maintainer's boxes.
    >>
    >> gcc 4.2 works fine for me.
    >>
    >> Anybody else sees this problem?
    >>
    >> Thanks
    >>
    >> Michal
    >>
    >>

    >
    > I just built 1.9.1 successfully with gcc 4.3 on openSUSE 11.1 (64-bit
    > machine). I haven't done much with Lenny recently, although I will
    > probably download it when it's release and build a virtual machine
    > with it.


    It's not that it does not build, it's just that it compiles that
    particular file for very long and causes a particular pattern appear
    on graphical system monitors that normally appears when something
    locks up in a tight loop.

    Thanks

    Michal
     
    Michal Suchanek, Feb 5, 2009
    #3
  4. Hi,

    At Thu, 5 Feb 2009 12:01:00 +0900,
    Michal Suchanek wrote in [ruby-talk:326944]:
    > While building ruby 1.9.1 on a Debian Lenny box with gcc4.3 (the
    > default) compiling parse.c might take several minutes on decent
    > hardware.


    Use optflags=-O3 instead of default -O2.

    --
    Nobu Nakada
     
    Nobuyoshi Nakada, Feb 5, 2009
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    8
    Views:
    437
  2. Kevin P. Fleming

    C99 structure initialization in gcc-2.95.3 vs gcc-3.3.1

    Kevin P. Fleming, Nov 6, 2003, in forum: C Programming
    Replies:
    2
    Views:
    649
    Kevin P. Fleming
    Nov 6, 2003
  3. Luke Kenneth Casson Leighton
    Replies:
    0
    Views:
    482
    Luke Kenneth Casson Leighton
    Dec 31, 2008
  4. cassiope
    Replies:
    2
    Views:
    290
    cassiope
    Mar 30, 2009
  5. John
    Replies:
    2
    Views:
    111
Loading...

Share This Page