build failure on Mac OS X 10.5.1
| Project: | GNU Smalltalk |
| Component: | Build |
| Category: | bug |
| Priority: | normal |
| Assigned: | bonzinip |
| Status: | fixed |
This is with the code from arch, but I get the same with the 2.3.6 release.
Making all in sigsegv make TARGETSTACK=" all" all-recursive Making all in src /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -g -O2 -c -o handler.lo handler.c gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -g -O2 -c handler.c -fno-common -DPIC -o .libs/handler.o In file included from handler.c:20: handler-macos.c: In function ‘catch_exception_raise’: handler-macos.c:215: error: ‘i386_exception_state_t’ has no member named ‘faultvaddr’ handler-macos.c:216: error: ‘i386_thread_state_t’ has no member named ‘esp’ handler-macos.c:229: error: ‘i386_thread_state_t’ has no member named ‘esp’ handler-macos.c:237: error: ‘i386_thread_state_t’ has no member named ‘eip’ handler-macos.c:254: error: ‘i386_thread_state_t’ has no member named ‘eip’ make[4]: *** [handler.lo] Error 1
Updates
| Assigned to: | Unassigned | » bonzinip |
Should be fixed now, I merged libsigsegv from upstream.
aclocal complains about missing sigsegv/m4 directory:
autoreconf: Leaving directory `snprintfv' autoreconf: configure.ac: adding subdirectory sigsegv to autoreconf autoreconf: Entering directory `sigsegv' autoreconf: running: aclocal --force -I m4 aclocal: couldn't open directory `m4': No such file or directory autoreconf: aclocal failed with exit status: 1
another different build problem…
gcc -dynamiclib -o .libs/libgst.7.0.0.dylib .libs/gstpub.o .libs/files.o .libs/gst-parse.o .libs/lex.o .libs/str.o .libs/tree.o .libs/byte.o .libs/comp.o .libs/sym.o .libs/dict.o .libs/oop.o .libs/opt.o .libs/save.o .libs/cint.o .libs/heap.o .libs/input.o .libs/sysdep.o .libs/callin.o .libs/xlat.o .libs/events.o .libs/mpz.o .libs/print.o .libs/alloc.o .libs/security.o .libs/re.o .libs/interp.o .libs/libgst.lax/library.a/avltrees.o .libs/libgst.lax/library.a/getopt.o .libs/libgst.lax/library.a/getopt1.o .libs/libgst.lax/library.a/ltdl.o .libs/libgst.lax/library.a/md5.o .libs/libgst.lax/library.a/obstack.o .libs/libgst.lax/library.a/poll.o .libs/libgst.lax/library.a/qsort.o .libs/libgst.lax/library.a/rbtrees.o .libs/libgst.lax/library.a/regex.o .libs/libgst.lax/library.a/sha1.o .libs/libgst.lax/library.a/signalx.o .libs/libgst.lax/library.a/socketx.o .libs/libgst.lax/library.a/strspell.o .libs/libgst.lax/libffi.a/darwin.o .libs/libgst.lax/libffi.a/debug.o .libs/libgst.lax/libffi.a/ffi.o .libs/libgst.lax/libffi.a/java_raw_api.o .libs/libgst.lax/libffi.a/prep_cif.o .libs/libgst.lax/libffi.a/raw_api.o .libs/libgst.lax/libffi.a/types.o .libs/libgst.lax/libsnprintfvc.a/libsnprintfvc_la-custom.o .libs/libgst.lax/libsnprintfvc.a/libsnprintfvc_la-dl-no.o .libs/libgst.lax/libsnprintfvc.a/libsnprintfvc_la-filament.o .libs/libgst.lax/libsnprintfvc.a/libsnprintfvc_la-format.o .libs/libgst.lax/libsnprintfvc.a/libsnprintfvc_la-mem.o .libs/libgst.lax/libsnprintfvc.a/libsnprintfvc_la-printf.o .libs/libgst.lax/libsnprintfvc.a/libsnprintfvc_la-stream.o -ldl ../sigsegv/src/.libs/libsigsegv.dylib -lm -install_name /usr/local/lib/libgst.7.dylib -Wl,-compatibility_version -Wl,8 -Wl,-current_version -Wl,8.0
Undefined symbols:
"_gcc_assert", referenced from:
_resume_process in interp.old: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [libgst.la] Error 1
ouch :-) I guess it compiled here only because the function was inlined, or something like that. Anyway I committed a patch to turn the "gcc_assert" into "assert".
Now we should be back at some failure building the image...
| Status: | active | » fixed |
Reported offlist to work.
