[Mono-osx] Build problems with Mono 1.2.3 on Intel

russell.kay at realtimeworlds.com russell.kay at realtimeworlds.com
Thu Mar 15 06:48:52 EDT 2007


On my system it is aborting with the multiple defs of ___freedtoa, I did not notice anything about _GC_push_regs

Russell

-----Original Message-----
From: mono-osx-bounces at lists.ximian.com [mailto:mono-osx-bounces at lists.ximian.com] On Behalf Of Eoin Norris
Sent: 15 March 2007 10:44
To: Mono-OSX List
Cc: Russell Kay; mjg at cacr.caltech.edu
Subject: Re: [Mono-osx] Build problems with Mono 1.2.3 on Intel


I am not sure what is going on. I wonder if the existence of the ppc  
related stuff is universal build related? Also the warnings (pthread  
being unrecognised, and the multiple definition) are  probably  
benign. Or not enough to abort.

Which leaves this

>>> /usr/bin/ld: Undefined symbols:
>>> _GC_push_regs
>>

Is this GC_push_regs symbol related to the new GC mono is using?

-- Eoin


On 15 Mar 2007, at 07:49, russell.kay at realtimeworlds.com wrote:

> I've had exactly the same problems on a PowerPc (G4) Mac-Mini and I  
> was about to ask the list if they knew what the problem was?
>
> Btw this is compiling from SVN head
>
> Any takers? What are the configure settings for a Mac I was using a  
> simple "./configure --prefix=/Users/xxxx/bin" because I wanted to  
> run a development version in a different directory... is there any  
> other magic options for Mac OSX?
>
> Regards
>
> Russell
>
> -----Original Message-----
> From: mono-osx-bounces at lists.ximian.com [mailto:mono-osx- 
> bounces at lists.ximian.com] On Behalf Of Jaume Llardén Prieto
> Sent: 15 March 2007 00:05
> To: Matthew Graham
> Cc: mono-osx at lists.ximian.com
> Subject: Re: [Mono-osx] Build problems with Mono 1.2.3 on Intel
>
> Hi Matthew,
>
> Just a thought: I see references there to powerpc libs, but you're
> using a macbook pro...
>
> Cheers,
> jaume
>
>
>
> On 14 Mar 2007, at 21:25, Matthew Graham wrote:
>
>> Hi,
>>
>> I have been trying to build the latest tarballs and SVN checkouts  
>> on a
>> MacBook Pro running Mac OS X 10.4.8 but the builds keep failing with:
>>
>> gcc -O -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g
>> -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
>> -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
>> -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -o pedump
>> pedump.o  -pthread ./.libs/libmonoruntime.a ../io-layer/.libs/
>> libwapi.a
>> ../utils/.libs/libmonoutils.a ../../libgc/.libs/libmonogc.a
>> -L/opt/local/lib /opt/local/lib/libgthread-2.0.dylib
>> /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc
>> /opt/local/lib/libiconv.dylib -lpthread -lm
>> powerpc-apple-darwin8-gcc-4.0.0: unrecognized option `-pthread'
>> /usr/bin/ld: warning multiple definitions of symbol ___freedtoa
>> ../utils/.libs/libmonoutils.a(strtod.o) definition of ___freedtoa in
>> section (__TEXT,__text)
>> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libc.dylib(gdtoa-
>> dmisc.So)
>> definition of ___freedtoa
>> /usr/bin/ld: Undefined symbols:
>> _GC_push_regs
>> collect2: ld returned 1 exit status
>> make[3]: *** [pedump] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> Can anyone help?
>>
>>     Cheers,
>>
>>     Matthew
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
> ____________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System
>
> DISCLAIMER
> This message and any attachments contain privileged and  
> confidential information intended for the use of the addressee  
> named above. If you are not the intended recipient of this message,  
> you are hereby notified that any use, dissemination, distribution  
> or reproduction of this message is prohibited. Please note that we  
> cannot guarantee that this message or any attachment is virus free  
> or that it has not been intercepted and amended. The views of the  
> author may not necessarily reflect those of Real Time Worlds Ltd.
> ____________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx

_______________________________________________
Mono-osx mailing list
Mono-osx at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-osx

____________________________________________________________________
This email has been scanned by the MessageLabs Email Security System

DISCLAIMER
This message and any attachments contain privileged and confidential information intended for the use of the addressee named above. If you are not the intended recipient of this message, you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. Please note that we cannot guarantee that this message or any attachment is virus free or that it has not been intercepted and amended. The views of the author may not necessarily reflect those of Real Time Worlds Ltd.
____________________________________________________________________
This email has been scanned by the MessageLabs Email Security System


More information about the Mono-osx mailing list