Project

General

Profile

Actions

Bug #1113

closed

Compilation fails on Ubuntu 8.10, 64 bit

Added by Jakko (Jacques Lemire) almost 16 years ago. Updated over 13 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
ruby -v:
ruby-1.9.1-p0
Backport:
[ruby-core:21855]

Description

=begin
During the make process, the make is stuck on this line; it runs forever:
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux -I./include -I. -DRUBY_EXPORT -o parse.o -c parse.c

this is my gcc config:

Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)

For Ruby, the version is actually: ruby-1.9.1-p0
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) almost 16 years ago

=begin
Hi,

At Fri, 6 Feb 2009 01:14:56 +0900,
Tadashi Saito wrote in [ruby-core:21857]:

During the make process, the make is stuck on this line; it runs forever:
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux -I./include -I. -DRUBY_EXPORT -o parse.o -c parse.c

I got the same situation with GCC 4.3.2. (on Debian lenny)
My solution was to add "-fno-tree-pre" to cflags. Compilation was smooth
with it.

Or optflags=-O3 prevents it, and defaulted in trunk.

--
Nobu Nakada

=end

Actions #2

Updated by shyouhei (Shyouhei Urabe) almost 16 years ago

  • Status changed from Open to Third Party's Issue

=begin
We cannot fix a bug of GCC.

To be fair, it just runs very long, not forever.
=end

Actions #3

Updated by radarek (Radosław Bułat) almost 16 years ago

=begin
I can confirm what Shyouhei Urabe says. It runs very long and can eat big amount of memory but it shouldn't hung forever. I use ubuntu 8.10 64bit and has that behavior.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0