Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Building 1.9.1 on Debian Lenny - gcc issue

Reply
Thread Tools

Building 1.9.1 on Debian Lenny - gcc issue

 
 
Michal Suchanek
Guest
Posts: n/a
 
      02-05-2009
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

 
Reply With Quote
 
 
 
 
M. Edward (Ed) Borasky
Guest
Posts: n/a
 
      02-05-2009
On Wed, Feb 4, 2009 at 7:01 PM, Michal Suchanek <(E-Mail Removed)> 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.

 
Reply With Quote
 
 
 
 
Michal Suchanek
Guest
Posts: n/a
 
      02-05-2009
2009/2/5 M. Edward (Ed) Borasky <(E-Mail Removed)>:
> On Wed, Feb 4, 2009 at 7:01 PM, Michal Suchanek <(E-Mail Removed)> 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

 
Reply With Quote
 
Nobuyoshi Nakada
Guest
Posts: n/a
 
      02-05-2009
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
math:trig - is there a Lenny package John Perl Misc 2 10-26-2009 09:17 AM
Installed debian lenny is crazy slow... richms NZ Computing 13 07-13-2009 06:21 AM
smtplib problem with newly rebuilt Debian/lenny system cassiope Python 2 03-30-2009 03:31 PM
[ANN] Builds of PyWebkitGtk and Webkit-Glib-Gtk(r39359+#16401.master) for Debian i386,Debian AMD64 and Macports MacOSX 10.4 Luke Kenneth Casson Leighton Python 0 12-31-2008 08:23 PM
[Debian] Upgrading to kernel 2.6 in Debian DUser NZ Computing 0 01-11-2004 12:38 AM



Advertisments