Project

General

Profile

Actions

Bug #1299

closed

Build failure on i586

Added by kanarip (Jeroen van Meeuwen) about 15 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
1.9.1-p0
Backport:
[ruby-core:22924]

Description

=begin
Build fails on i586, where it succeeds on x86_64. Using gcc44. The snippet of log is:

==
gcc -shared -Wl,-soname,libruby.so.1.9 dln.o encoding.o prelude.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 vers
ion.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 dmyext.o -lpthread -lrt -ldl -lcrypt -lm -o libruby.so.1.9.1
objcopy -w -L 'Init_*' libruby.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

:17: unexpected throw make: *** [encdb.h] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.efQUbX (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.efQUbX (%build) Child returncode was: 1 EXCEPTION: Command failed. See logs for output. ==

Full log attached.
=end


Files

build.log (41.9 KB) build.log Full build log kanarip (Jeroen van Meeuwen), 03/18/2009 03:44 AM
0001-Fix-compilation-with-gcc-4.4-and-D_FORTIFY_SOURCE-2.patch (1.13 KB) 0001-Fix-compilation-with-gcc-4.4-and-D_FORTIFY_SOURCE-2.patch ruby-1.9-alt-gcc4.4-catch.patch raorn (Alexey Froloff), 05/08/2009 09:01 PM

Related issues 1 (0 open1 closed)

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

Updated by raorn (Alexey Froloff) almost 15 years ago

=begin
This happens if compiling with -D_FORTIFY_SOURCE=2 (default CFLAGS for Fedora I guess?) or -D_FORTIFY_SOURCE=1. Can confirm on branches/ruby_1_9_1 revision 23343.
=end

Actions #3

Updated by nobu (Nobuyoshi Nakada) almost 15 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r23371.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0