Project

General

Profile

Actions

Backport #9058

closed

compilation fails with -DGC_PROFILE_MORE_DETAIL

Added by copiousfreetime (Jeremy Hinegardner) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Assignee:
-
[ruby-core:58069]

Description

=begin
Building ruby-2.0.0-p247 from source

Configure
% CFLAGS=-DGC_PROFILE_MORE_DETAIL ./configure --disable-install-doc --disable-install-rdoc --prefix=/opt/rubies/ruby-2.0.0-p247-gc
# omitted

Make
% make
CC = clang
LD = ld
LDSHARED = clang -dynamic -bundle
CFLAGS = -DGC_PROFILE_MORE_DETAIL -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin12.5.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -fstack-protector -Wl,-u,_objc_msgSend -Wl,-pie
SOLIBS =
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling dmyversion.c
compiling miniprelude.c
translating probes probes.d
. ./vm_opts.h
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
compiling dir.c
compiling dln_find.c
compiling enum.c
compiling enumerator.c
generating known_errors.inc
known_errors.inc updated
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
compiling file.c
compiling gc.c
gc.c:4089:34: error: no member named 'live_num' in 'struct rb_objspace::'
size_t live = objspace->heap.live_num;
~~~~~~~~~~~~~~ ^
1 error generated.
make: *** [gc.o] Error 1

This appears to be possibly fixed in head, I want to make sure that this is fixed in the next release of 2.0.

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport200
  • Category deleted (build)
  • Status changed from Open to Closed
  • Assignee deleted (nobu (Nobuyoshi Nakada))

Already fixed at r43429, patchlevel 341.

Actions

Also available in: Atom PDF

Like0
Like0