Project

General

Profile

Actions

Bug #3293

closed

fails to build with gcc 4.4.3

Added by lucas (Lucas Nussbaum) over 14 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
ruby -v:
1.9.1p378
[ruby-core:30239]

Description

=begin
Hi,

Ruby 1.9.1 fails to build with GCC 4.4.3:
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./enc/make_encmake.rb --builtin-encs="ascii.o us_ascii.o unicode.o utf_8.o" --builtin-transes="newline.o" enc.mk
gcc -fno-strict-aliasing -g -g -O2 -O2 -g -Wall -Wno-parentheses -fPIC -I. -I.ext/include/i486-linux -I./include -I. -DRUBY_EXPORT -o encoding.o -c encoding.c
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb -I. -rrbconfig ./tool/compile_prelude.rb ./prelude.rb ./enc/prelude.rb ./gem_prelude.rb prelude.c
gcc -fno-strict-aliasing -g -g -O2 -O2 -g -Wall -Wno-parentheses -fPIC -I. -I.ext/include/i486-linux -I./include -I. -DRUBY_EXPORT -o prelude.o -c prelude.c
ar rcu libruby-1.9.1-static.a dln.o encoding.o array.o bignum.o class.o compar.o complex.o dir.o enum.o enumerator.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o time.o transcode.o util.o variable.o version.o compile.o debug.o iseq.o vm.o vm_dump.o thread.o cont.o ascii.o us_ascii.o unicode.o utf_8.o newline.o strlcpy.o strlcat.o prelude.o dmyext.o
gcc -shared -Wl,-soname,libruby-1.9.1.so.1.9 dln.o encoding.o array.o bignum.o class.o compar.o complex.o dir.o enum.o enumerator.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o time.o transcode.o util.o variable.o version.o compile.o debug.o iseq.o vm.o vm_dump.o thread.o cont.o ascii.o us_ascii.o unicode.o utf_8.o newline.o strlcpy.o strlcat.o prelude.o dmyext.o -lpthread -lrt -ldl -lcrypt -lm -o libruby-1.9.1.so.1.9.1
objcopy -w -L 'Init_*' libruby-1.9.1.so.1.9.1
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./tool/generic_erb.rb -c -o encdb.h ./template/encdb.h.tmpl ./enc enc

: unexpected throw make[1]: *** [encdb.h] Error 1

This can be reproduced on Debian unstable or Ubuntu lucid.

Example log:
https://buildd.debian.org/fetch.cgi?pkg=ruby1.9.1&arch=i386&ver=1.9.1.378-3&stamp=1273378507&file=log&as=raw

With GCC 4.5, it also fails, but differently: https://launchpad.net/ubuntu/+source/ruby1.9.1/1.9.1.378-3/+build/1730898

This is tracked in Debian at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580852
=end


Related issues 1 (0 open1 closed)

Related to Backport191 - Bug #2727: make: *** [encdb.h] AbortedThird Party's Issue02/09/2010Actions
Actions #1

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

  • Description updated (diff)
  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0