[#58730] [ruby-trunk - misc #9188][Open] r43870 make benchmark/bm_so_k_nucleotide.rb slow — "authorNari (Narihiro Nakamura)" <authorNari@...>

17 messages 2013/12/01

[#58732] [ruby-trunk - Bug #9189][Open] Build failure on Windows in case of nonascii TEMP environment. — "phasis68 (Heesob Park)" <phasis@...>

11 messages 2013/12/01

[#58750] [ruby-trunk - Feature #9190][Open] Expose serial helper macros — "simeonwillbanks (Simeon Willbanks)" <sfw@...>

13 messages 2013/12/01

[#58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal — "vatsu (Gustavo Sales)" <vatsu21@...>

18 messages 2013/12/02

[#58797] [ruby-trunk - Bug #9198][Open] Segfault in TestException#test_machine_stackoverflow — "vo.x (Vit Ondruch)" <v.ondruch@...>

11 messages 2013/12/02

[#58833] [ruby-trunk - Bug #9205][Open] Assertion failed: heap_pages_deferred_final == 0 — "phasis68 (Heesob Park)" <phasis@...>

11 messages 2013/12/03

[#58866] [ruby-trunk - misc #9215][Open] Maintenance Policy for Future Releases (2.1.0 & beyond) — "hone (Terence Lee)" <hone02@...>

17 messages 2013/12/05

[#58876] [ruby-trunk - Bug #9221][Open] Time.parse performance becomes exponentially worse as string length grows — "mpelzsherman (Michael Pelz-Sherman)" <mpelzsherman@...>

15 messages 2013/12/05

[#58948] [ruby-trunk - Bug #9226][Open] Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect — "myronmarston (Myron Marston)" <myron.marston@...>

11 messages 2013/12/07

[#59032] [ruby-trunk - Bug #9239][Open] Array#to_h ignores flat arrays — "sawa (Tsuyoshi Sawada)" <sawadatsuyoshi@...>

15 messages 2013/12/10

[#59122] [ruby-trunk - Bug #9251][Open] ! operator has lower precedence than = in an assignment expression — "rits (First Last)" <redmine@...>

26 messages 2013/12/15

[#59198] [ruby-trunk - Bug #9262][Open] global_method_cache should be configurable or grow automatically — "tmm1 (Aman Gupta)" <ruby@...1.net>

28 messages 2013/12/19

[#59209] [ruby-trunk - Bug #9264][Open] Compiling error: encdb.bundle Undefined symbols for architecture x86_64 — "spastorino (Santiago Pastorino)" <santiago@...>

15 messages 2013/12/19
[#59211] [ruby-trunk - Bug #9264][Feedback] Compiling error: encdb.bundle Undefined symbols for architecture x86_64 — "zzak (Zachary Scott)" <e@...> 2013/12/19

[#59212] Re: [ruby-trunk - Bug #9264][Feedback] Compiling error: encdb.bundle Undefined symbols for architecture x86_64 — Santiago Pastorino <spastorino@...> 2013/12/19

zzak, make distclean is the first thing I've ran. Read the gist again :),

[#59213] Re: [ruby-trunk - Bug #9264][Feedback] Compiling error: encdb.bundle Undefined symbols for architecture x86_64 — Zachary Scott <e@...> 2013/12/19

Sorry I missed the gist, can you try building outside of $srcdir?

[#59214] Re: [ruby-trunk - Bug #9264][Feedback] Compiling error: encdb.bundle Undefined symbols for architecture x86_64 — Santiago Pastorino <spastorino@...> 2013/12/19

It works if I do ...

[#59215] Re: [ruby-trunk - Bug #9264][Feedback] Compiling error: encdb.bundle Undefined symbols for architecture x86_64 — Zachary Scott <e@...> 2013/12/19

I've been using the following:

[#59255] [ruby-trunk - Bug #9276][Open] "RUBY_FREE_MIN is obsolete. Use RUBY_GC_HEAP_FREE_SLOTS instead" warning should not be issued when both ENV vars are set. — "myronmarston (Myron Marston)" <myron.marston@...>

10 messages 2013/12/21

[#59260] [ruby-trunk - Feature #9278][Open] Magic comment "immutable: string" makes "literal".freeze the default for that file — "colindkelley (Colin Kelley)" <colin@...>

12 messages 2013/12/22

[#59343] [ruby-trunk - Bug #9309][Open] Crash while running tests — "mdemare (Michiel de MAre)" <merloen@...>

12 messages 2013/12/27

[#59345] [ruby-trunk - Bug #9310][Open] inheritance.rb: 27: [BUG] Segmentation fault at 0x00000c — "jasnow (Al Snow)" <jasnow@...>

10 messages 2013/12/27

[#59349] [ruby-trunk - Bug #9312][Open] Build the ruby executable in bin/ — "postmodern (Hal Brodigan)" <postmodern.mod3@...>

13 messages 2013/12/28

[#59365] [ruby-trunk - Bug #9316][Open] BigDecimal division in Ruby 2.1 — "abernardes (Andre Oliveira)" <abernardes@...>

15 messages 2013/12/28

[#59398] [ruby-trunk - Bug #9321][Open] rb_mod_const_missing does not generate a c-return event — "drkaes (Stefan Kaes)" <stkaes@...>

41 messages 2013/12/30

[#59429] [ruby-trunk - Feature #9330][Open] [PATCH 0/3] avoid redundant fcntl/fstat syscalls for cloexec sockets — "normalperson (Eric Wong)" <normalperson@...>

10 messages 2013/12/31

[ruby-core:59219] Re: [ruby-trunk - Bug #9264][Feedback] Compiling error: encdb.bundle Undefined symbols for architecture x86_64

From: Zachary Scott <e@...>
Date: 2013-12-20 14:22:16 UTC
List: ruby-core #59219
Could you also try --with-yaml-dir and --with-dbm-dir?

On Dec 20, 2013, at 9:13 AM, Santiago Pastorino <spastorino@gmail.com> wrote:

> Now I did ...
> 
> autoconf; ./configure --prefix=/Users/santiago/.rubies/2.1.0 --with-openssl-dir="$(brew --prefix openssl)" --with-readline-dir="$(brew --prefix readline)" --with-libyaml-dir="$(brew --prefix libyaml)" --with-gdbm-dir="$(brew --prefix gdbm)" --with-libffi-dir="$(brew --prefix libffi)"; make; make install
> 
> and it's working fine for most options but not all. gdbm and libyaml are not being correctly linked ...
> 
> ~/.rubies/2.1.0/lib/ruby/2.1.0/x86_64-darwin13.0  otool -L psych.bundle
> psych.bundle:
> 	/usr/local/lib/libyaml-0.2.dylib (compatibility version 3.0.0, current version 3.2.0)
> 	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
> 	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
> 
> ~/.rubies/2.1.0/lib/ruby/2.1.0/x86_64-darwin13.0  brew --prefix libyaml
> /usr/local/opt/libyaml
> 
> ~/.rubies/2.1.0/lib/ruby/2.1.0/x86_64-darwin13.0  otool -L gdbm.bundle
> gdbm.bundle:
> 	/usr/local/lib/libgdbm.4.dylib (compatibility version 5.0.0, current version 5.0.0)
> 	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
> 	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
> 
> ~/.rubies/2.1.0/lib/ruby/2.1.0/x86_64-darwin13.0  brew --prefix gdbm
> /usr/local/opt/gdbm
> 
> 
> 
> On Fri, Dec 20, 2013 at 11:47 AM, Santiago Pastorino <spastorino@gmail.com> wrote:
> It works but I'm missing to link against homebrew's gdbm, libyaml and libffi not sure how to do the same thing for the rest of the packages ...
> 
> 
> On Thu, Dec 19, 2013 at 9:30 PM, Zachary Scott <e@zzak.io> wrote:
> I've been using the following:
> 
> ../configure --with-openssl-dir=`brew --prefix openssl` --with-readline-dir=`brew --prefix readline` --with-zlib-dir=`brew --prefix zlib` --prefix=/Users/zzak/.rubies/ruby-trunk
> 
> Although I'm missing a few of the deps, maybe you can try that?
> 
> 
> 
> On Dec 19, 2013, at 6:16 PM, Santiago Pastorino <spastorino@gmail.com> wrote:
> 
>> It works if I do ...
>> 
>> autoconf; ./configure --prefix=/Users/santiago/.rubies/2.1.0; make; make install
>> 
>> It doesn't if I do ...
>> 
>> autoconf; ./configure --prefix=/Users/santiago/.rubies/2.1.0 --with-opt-dir="$(brew --prefix openssl):$(brew --prefix readline):$(brew --prefix libyaml):$(brew --prefix gdbm):$(brew --prefix libffi)"; make; make install
>> 
>> So, yeah, something is wrong when I use those deps from homebrew.
>> 
>> 
>> 
>> On Thu, Dec 19, 2013 at 8:18 PM, Zachary Scott <e@zzak.io> wrote:
>> Sorry I missed the gist, can you try building outside of $srcdir?
>> 
>> I'm not able to repro it on x86_64:
>> Darwin mba-2.local 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64
>> 
>> 
>> On Dec 19, 2013, at 4:59 PM, Santiago Pastorino <spastorino@gmail.com> wrote:
>> 
>>> zzak, make distclean is the first thing I've ran. Read the gist again :), even more after that I've ran git clean.
>>> 
>>> On Thu, Dec 19, 2013 at 6:52 PM, zzak (Zachary Scott) <e@zzak.io> wrote:
>>> 
>>> Issue #9264 has been updated by zzak (Zachary Scott).
>>> 
>>> Category set to build
>>> Status changed from Open to Feedback
>>> 
>>> Can you try 'make distclean' and then try again?
>>> ----------------------------------------
>>> Bug #9264: Compiling error: encdb.bundle Undefined symbols for architecture x86_64
>>> https://bugs.ruby-lang.org/issues/9264#change-43766
>>> 
>>> Author: spastorino (Santiago Pastorino)
>>> Status: Feedback
>>> Priority: Normal
>>> Assignee:
>>> Category: build
>>> Target version: current: 2.1.0
>>> ruby -v: 2.1
>>> Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
>>> 
>>> 
>>> Using today's trunk, I'm getting the following error on compiling
>>> 
>>> compiling ./enc/encdb.c
>>> linking encoding encdb.bundle
>>> Undefined symbols for architecture x86_64:
>>>   "_rb_enc_set_base", referenced from:
>>>       _Init_encdb in encdb.o
>>>   "_rb_enc_set_dummy", referenced from:
>>>       _Init_encdb in encdb.o
>>>   "_rb_encdb_alias", referenced from:
>>>       _Init_encdb in encdb.o
>>>   "_rb_encdb_declare", referenced from:
>>>       _Init_encdb in encdb.o
>>>   "_rb_encdb_dummy", referenced from:
>>>       _Init_encdb in encdb.o
>>>   "_rb_encdb_replicate", referenced from:
>>>       _Init_encdb in encdb.o
>>>   "_rb_encdb_set_unicode", referenced from:
>>>       _Init_encdb in encdb.o
>>> ld: symbol(s) not found for architecture x86_64
>>> 
>>> Here is the full trace ...
>>> 
>>> https://gist.github.com/spastorino/1ad2858fce42d0e0a2e2
>>> 
>>> Thanks in advance.
>>> 
>>> 
>>> --
>>> http://bugs.ruby-lang.org/
>>> 
>> 
>> 
> 
> 
> 


In This Thread