* guile stable-2.0 fails on OSX 10.6.7
@ 2011-04-02 15:02 Leo
2011-04-03 20:07 ` Andy Wingo
0 siblings, 1 reply; 9+ messages in thread
From: Leo @ 2011-04-02 15:02 UTC (permalink / raw)
To: bug-guile
I can not build the stable-2.0 branch of today on OSX 10.6.7.
I have all the required libraries installed and was able to build my
current guile: GNU Guile 1.9.13.94-a653d-dirty.
......
/usr/local/unix/libunistring/include/unistring/stdint.h:3:5: warning: "__GLIBC__" is not defined
CC libguile_2.0_la-trees.lo
CC libguile_2.0_la-uniform.lo
CC libguile_2.0_la-values.lo
CC libguile_2.0_la-variable.lo
CC libguile_2.0_la-vectors.lo
CC libguile_2.0_la-version.lo
CC libguile_2.0_la-vm.lo
CC libguile_2.0_la-vports.lo
CC libguile_2.0_la-weaks.lo
CCLD libguile-2.0.la
Undefined symbols:
"_GC_pthread_sigmask", referenced from:
_signal_delivery_thread in libguile_2.0_la-scmsigs.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [libguile-2.0.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
This irc log might be of use too:
http://paste.pocoo.org/show/Krz5amnXlilJ368ACaxa/
Thanks.
Leo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile stable-2.0 fails on OSX 10.6.7
2011-04-02 15:02 guile stable-2.0 fails on OSX 10.6.7 Leo
@ 2011-04-03 20:07 ` Andy Wingo
2011-04-04 2:01 ` Leo
0 siblings, 1 reply; 9+ messages in thread
From: Andy Wingo @ 2011-04-03 20:07 UTC (permalink / raw)
To: Leo; +Cc: bug-guile
On Sat 02 Apr 2011 17:02, Leo <sdl.web@gmail.com> writes:
> I can not build the stable-2.0 branch of today on OSX 10.6.7.
>
> "_GC_pthread_sigmask", referenced from:
> _signal_delivery_thread in libguile_2.0_la-scmsigs.o
Sorry about that. Fixed, I think.
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile stable-2.0 fails on OSX 10.6.7
2011-04-03 20:07 ` Andy Wingo
@ 2011-04-04 2:01 ` Leo
2011-04-04 7:13 ` Andy Wingo
2011-04-27 14:30 ` Mark H Weaver
0 siblings, 2 replies; 9+ messages in thread
From: Leo @ 2011-04-04 2:01 UTC (permalink / raw)
To: Andy Wingo; +Cc: bug-guile
On 2011-04-04 04:07 +0800, Andy Wingo wrote:
> On Sat 02 Apr 2011 17:02, Leo <sdl.web@gmail.com> writes:
>
>> I can not build the stable-2.0 branch of today on OSX 10.6.7.
>>
>> "_GC_pthread_sigmask", referenced from:
>> _signal_delivery_thread in libguile_2.0_la-scmsigs.o
>
> Sorry about that. Fixed, I think.
>
> Andy
Still fails though with a different error:
CC libguile_2.0_la-trees.lo
CC libguile_2.0_la-uniform.lo
CC libguile_2.0_la-values.lo
CC libguile_2.0_la-variable.lo
CC libguile_2.0_la-vectors.lo
CC libguile_2.0_la-version.lo
CC libguile_2.0_la-vm.lo
cc1(57938) malloc: *** error for object 0x10357a148: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
vm-engine.c: In function 'vm_regular_engine':
vm-engine.c:38: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[3]: *** [libguile_2.0_la-vm.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Leo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile stable-2.0 fails on OSX 10.6.7
2011-04-04 2:01 ` Leo
@ 2011-04-04 7:13 ` Andy Wingo
2011-04-04 8:00 ` Leo
2011-04-27 14:30 ` Mark H Weaver
1 sibling, 1 reply; 9+ messages in thread
From: Andy Wingo @ 2011-04-04 7:13 UTC (permalink / raw)
To: Leo; +Cc: bug-guile
On Mon 04 Apr 2011 04:01, Leo <sdl.web@gmail.com> writes:
> cc1(57938) malloc: *** error for object 0x10357a148: incorrect checksum for freed object - object was probably modified after being freed.
> *** set a breakpoint in malloc_error_break to debug
> vm-engine.c: In function 'vm_regular_engine':
> vm-engine.c:38: internal compiler error: Abort trap
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://developer.apple.com/bugreporter> for instructions.
This is an internal error in Apple's C compiler. Try a different one.
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile stable-2.0 fails on OSX 10.6.7
2011-04-04 7:13 ` Andy Wingo
@ 2011-04-04 8:00 ` Leo
2011-04-04 20:44 ` Andy Wingo
0 siblings, 1 reply; 9+ messages in thread
From: Leo @ 2011-04-04 8:00 UTC (permalink / raw)
To: Andy Wingo; +Cc: bug-guile
On 2011-04-04 15:13 +0800, Andy Wingo wrote:
>> cc1(57938) malloc: *** error for object 0x10357a148: incorrect checksum for freed object - object was probably modified after being freed.
>> *** set a breakpoint in malloc_error_break to debug
>> vm-engine.c: In function 'vm_regular_engine':
>> vm-engine.c:38: internal compiler error: Abort trap
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <URL:http://developer.apple.com/bugreporter> for instructions.
>
> This is an internal error in Apple's C compiler. Try a different one.
>
> Andy
In that case, I'll stick to my current version of guile. I am not
familiar with C and all other packages I have installed from source work
fine at the moment. I have also compiled racket from source, no problem
at all.
Leo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile stable-2.0 fails on OSX 10.6.7
2011-04-04 8:00 ` Leo
@ 2011-04-04 20:44 ` Andy Wingo
2011-04-05 2:42 ` Leo
0 siblings, 1 reply; 9+ messages in thread
From: Andy Wingo @ 2011-04-04 20:44 UTC (permalink / raw)
To: Leo; +Cc: bug-guile
On Mon 04 Apr 2011 10:00, Leo <sdl.web@gmail.com> writes:
> On 2011-04-04 15:13 +0800, Andy Wingo wrote:
>>> cc1(57938) malloc: *** error for object 0x10357a148: incorrect checksum for freed object - object was probably modified after being freed.
>>> *** set a breakpoint in malloc_error_break to debug
>>> vm-engine.c: In function 'vm_regular_engine':
>>> vm-engine.c:38: internal compiler error: Abort trap
>>> Please submit a full bug report,
>>> with preprocessed source if appropriate.
>>> See <URL:http://developer.apple.com/bugreporter> for instructions.
>>
>> This is an internal error in Apple's C compiler. Try a different one.
>
> In that case, I'll stick to my current version of guile. I am not
> familiar with C and all other packages I have installed from source work
> fine at the moment. I have also compiled racket from source, no problem
> at all.
Sorry, didn't mean to sound hostile there. I don't know anything about
Mac OS 10.6. However if it is still the case that they ship something
called gcc and something called gcc-4.2, you can compile with
./configure ... CC=gcc-4.2, and you probably get better results.
Regards,
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile stable-2.0 fails on OSX 10.6.7
2011-04-04 20:44 ` Andy Wingo
@ 2011-04-05 2:42 ` Leo
0 siblings, 0 replies; 9+ messages in thread
From: Leo @ 2011-04-05 2:42 UTC (permalink / raw)
To: Andy Wingo; +Cc: bug-guile
On 2011-04-05 04:44 +0800, Andy Wingo wrote:
> Sorry, didn't mean to sound hostile there. I don't know anything about
> Mac OS 10.6. However if it is still the case that they ship something
> called gcc and something called gcc-4.2, you can compile with
> ./configure ... CC=gcc-4.2, and you probably get better results.
Yes, see this:
leo@victoria ~$ ls -l /usr/bin/gcc
lrwxr-xr-x 1 root wheel 7 4 Feb 2010 /usr/bin/gcc -> gcc-4.2
leo@victoria ~$ ls -l /usr/bin/cc
lrwxr-xr-x 1 root wheel 7 4 Feb 2010 /usr/bin/cc -> gcc-4.2
So I don't know why it fails to compile.
Leo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile stable-2.0 fails on OSX 10.6.7
2011-04-04 2:01 ` Leo
2011-04-04 7:13 ` Andy Wingo
@ 2011-04-27 14:30 ` Mark H Weaver
2011-04-27 16:33 ` Leo
1 sibling, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2011-04-27 14:30 UTC (permalink / raw)
To: Leo; +Cc: bug-guile
Another OS X 10.6 user had the same problem compiling Guile 2.0,
and later discovered that the compiler bug is specific to XCode 4.
Downgrading to XCode 3 worked for him.
http://article.gmane.org/gmane.lisp.guile.bugs/5525
Someone else said that XCode 3 uses a derivative of GCC, whereas XCode 4
uses LLVM/Clang.
Regards,
Mark
Leo <sdl.web@gmail.com> writes:
> CC libguile_2.0_la-vm.lo
> cc1(57938) malloc: *** error for object 0x10357a148: incorrect checksum for freed object - object was probably modified after being freed.
> *** set a breakpoint in malloc_error_break to debug
> vm-engine.c: In function 'vm_regular_engine':
> vm-engine.c:38: internal compiler error: Abort trap
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://developer.apple.com/bugreporter> for instructions.
> make[3]: *** [libguile_2.0_la-vm.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: guile stable-2.0 fails on OSX 10.6.7
2011-04-27 14:30 ` Mark H Weaver
@ 2011-04-27 16:33 ` Leo
0 siblings, 0 replies; 9+ messages in thread
From: Leo @ 2011-04-27 16:33 UTC (permalink / raw)
To: Mark H Weaver; +Cc: bug-guile
On 2011-04-27 22:30 +0800, Mark H Weaver wrote:
> Another OS X 10.6 user had the same problem compiling Guile 2.0,
> and later discovered that the compiler bug is specific to XCode 4.
> Downgrading to XCode 3 worked for him.
>
> http://article.gmane.org/gmane.lisp.guile.bugs/5525
>
> Someone else said that XCode 3 uses a derivative of GCC, whereas XCode 4
> uses LLVM/Clang.
>
> Regards,
> Mark
I am using Xcode 3.2.6.
Leo
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-04-27 16:33 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-02 15:02 guile stable-2.0 fails on OSX 10.6.7 Leo
2011-04-03 20:07 ` Andy Wingo
2011-04-04 2:01 ` Leo
2011-04-04 7:13 ` Andy Wingo
2011-04-04 8:00 ` Leo
2011-04-04 20:44 ` Andy Wingo
2011-04-05 2:42 ` Leo
2011-04-27 14:30 ` Mark H Weaver
2011-04-27 16:33 ` Leo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).