[前][次][番号順一覧][スレッド一覧][生データ]

yarv-dev-en:262

From: Brian Eng <beng jlab.org>
Date: Mon, 13 Nov 2006 09:43:51 -0500
Subject: [yarv-dev-en:262] Re: OSX G4 compiling

Most of the errors/warnings started with r570 when Ruby head was  
imported, so they're not really YARV problems per-say.

I'm surprised you get deprecated messages on a G4 as I only see them  
when I compile on Intel (on a G5 I don't get any deprecated warnings).

dln.c:1478: warning: 'NSIsSymbolNameDefined' is deprecated (declared  
at /usr/include/mach-o/dyld.h:150)
dln.c:1481: warning: 'NSLookupAndBindSymbol' is deprecated (declared  
at /usr/include/mach-o/dyld.h:158)

Looking at Apple's documentation on dynamic loading (http:// 
developer.apple.com/documentation/DeveloperTools/Reference/ 
MachOReference/Reference/reference.html) it would seem that starting  
in 10.3 it would be best to use "normal" dynamic loading functions  
(dlfcn.h) instead of the Mach-O specific stuff (mach-o/dyld.h).  
Removing all the checks for __APPLE__ in dln.c gets rid of those  
warnings, but users of 10.0 - 10.2 would have problems (they still  
need mach-o/dyld.h) so that is not a proper solution.

As for the linking warnings (multiple definitions of _setregid &  
_setreuid), which are the most noticeable since they're right at the  
end, it seems they're expected -_-?

See this thread on Ruby-Core: http://blade.nagaokaut.ac.jp/cgi-bin/ 
vframe.rb/ruby/ruby-core/8727?8569-8985

On Nov 6, 2006, at 5:15 AM, Emanuel Carnevale wrote:

> Hi all,
> yesterday after ko1 Ruby-core post I tried to compile the trunk
> version (r572) but unsuccessful,
> today I checked r574 and it works, despite errors in tests.
>
> From now on I'll play with yarv and share my platform experience.
>
> During the make process, there were some deprecated messages, if it's
> worth sharing, do tell me, I'll love to do it.
>
> thanks ko1 for this work,
>
> E
> (onigiri)

--
ML: yarv-dev-en quickml.atdot.net
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

       251 2006-11-06 19:15 [emanuel.carnevale gm] OSX G4 compiling                        
       252 2006-11-06 19:18 ┣[ko1 atdot.net       ]                                       
->     262 2006-11-13 23:43 ┗[beng jlab.org       ]