<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I was able to remove the “bad” version of GM4 and the build worked! Thanks Jeff!</div><div class=""><br class=""></div><div class="">I am still not sure how this happened however. I have not been running MacPorts or Brew in about a million years. I did notice that after updating to Yosemite I was not able to run the command line version of SVN to update my CCL working copy. After the Yosemite update my version of SVN was 1.3.2 (that is almost 10 years old). Just a half hour before the Yosemite install I WAS able to update the CCL working copy. It is as if during the Yosemite installation some unix path was messed up.</div><div class=""><br class=""></div><div class="">Anyway, it works now.</div><div class=""><br class=""></div><div class="">best, </div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 11, 2015, at 1:27 PM, Jeff Caldwell <<a href="mailto:jcaldwell@clozure.com" class="">jcaldwell@clozure.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">I may well be mistaken. (I often am.)<br class=""><br class="">MacPorts and Homebrew are two different software package management<br class="">systems for Darwin. E.g. "brew install <package-name>". They exist to<br class="">make it easy to get software (often, command-line software) not<br class="">included by Apple. On my system, MacPorts installed to /opt/local/.<br class="">Your screenshot showed you running /opt/local/bin/gm4. The<br class="">"/opt/local/" led me to think you may have MacPorts installed. On my<br class="">system, I have:<br class=""><br class="">/opt/local/bin/gm4 --version<br class="">m4 (GNU M4) 1.4.17<br class=""><br class="">and<br class=""><br class="">/usr/bin/m4 --version<br class=""><br class="">GNU M4 1.4.6<br class=""><br class="">It is /usr/bin/m4 that runs when I successfully build CCL. I do not<br class="">have /opt/local/bin in my PATH, and so am effectively not using<br class="">MacPorts.<br class=""><br class="">My thought was that an inadvertent use of an incompatible version of<br class="">m4 (and possibly others) might cause the problems you are seeing.<br class="">Assuming you have /usr/bin/m4, taking /opt/local/bin out of your PATH<br class="">may make 'which m4' return /usr/bin/m4. Rebuilding then might work, or<br class="">might show a different problem.<br class=""><br class=""><a href="https://www.macports.org/" class="">https://www.macports.org/</a><br class=""><br class="">http://brew.sh/<br class=""><br class="">Jeff<br class=""><br class=""><br class="">On Sat, Jul 11, 2015 at 10:12 AM, Alexander Repenning<br class=""><alexander@agentsheets.com> wrote:<br class=""><blockquote type="cite" class=""><br class=""><blockquote type="cite" class="">On Jul 10, 2015, at 9:21 PM, Jeff Caldwell <jcaldwell@clozure.com> wrote:<br class=""><br class="">I notice you're invoking /opt/local/bin/gm4, which may have been<br class="">installed via MacPorts. With command line tools installed, I'm<br class="">guessing you have /usr/bin/m4. What happens if you take /opt/local/bin<br class="">out of your PATH?<br class=""></blockquote><br class=""><br class="">I can try that but I am not even sure what MacPorts is, i.e., I believe I have just a default setup.<br class=""><br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class=""><br class="">On Fri, Jul 10, 2015 at 6:59 PM, Alexander Repenning<br class=""><alexander.repenning@colorado.edu> wrote:<br class=""><blockquote type="cite" class="">I have not built CCL in some time. Probably some silly litte detail going<br class="">wrong here. Anyway, my system:<br class=""><br class="">- OSX 10.10.4<br class="">- Xcode Version 6.4 (6E35b), Command Line Tools enabled<br class="">- version: publicsvn/openmcl/release/1.10/darwinx86/ccl<br class=""><br class="">Doing:<br class=""><br class="">$ ccl -n<br class="">? (ccl:rebuild-ccl :full t)<br class=""><br class="">The same thing DID work on a different machine with the same OS and Xcode<br class="">version and CCL version.<br class=""><br class="">Any hint would be appreciated!<br class=""><br class=""><br class=""><br class=""><br class="">Getting: ...<br class=""><br class="">;Loading #P"/Users/alex/Desktop/ccltest/level-0/nfasload.dx64fsl"...<br class="">;Wrote bootstrapping image: #P"/Users/alex/Desktop/ccltest/x86-boot64.image"<br class="">;Building lisp-kernel ...<br class=""><blockquote type="cite" class="">Error: Error(s) during kernel compilation.<br class="">      gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../x86-spjump64.s |<br class="">as -arch x86_64 -g -o x86-spjump64.o<br class="">      gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../x86-spentry64.s |<br class="">as -arch x86_64 -g -o x86-spentry64.o<br class="">      gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../x86-subprims64.s |<br class="">as -arch x86_64 -g -o x86-subprims64.o<br class="">      gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../imports.s | as<br class="">-arch x86_64 -g -o imports.o<br class="">      dtrace -h -s ../probes.d<br class="">      /bin/sh: /opt/local/bin/gm4: Bad CPU type in executable<br class="">      /bin/sh: /opt/local/bin/gm4: Bad CPU type in executable<br class="">      gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../x86-asmutils64.s |<br class="">as -arch x86_64 -g -o x86-asmutils64.o<br class="">      /bin/sh: /opt/local/bin/gm4: Bad CPU type in executable<br class="">      /bin/sh: /opt/local/bin/gm4: Bad CPU type in executable<br class="">      mig -arch x86_64 -header /dev/null -user /dev/null \<br class="">      -sheader mach_exc.h -server mach_exc_server.c \<br class="">       ../mach_exc.defs<br class="">      mig -arch x86_64 -header /dev/null -user /dev/null \<br class="">      -sheader mach_exc.h -server mach_exc_server.c \<br class="">       ../mach_exc.defs<br class="">      /bin/sh: /opt/local/bin/gm4: Bad CPU type in executable<br class="">      cc -include ../platform-darwinx8664.h -c ../lispdcmd.c -arch x86_64<br class="">-DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o lispdcmd.o<br class="">      cc -include ../platform-darwinx8664.h -c ../plprint.c -arch x86_64<br class="">-DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o plprint.o<br class="">      cc -include ../platform-darwinx8664.h -c ../plsym.c -arch x86_64<br class="">-DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o plsym.o<br class="">      cc -include ../platform-darwinx8664.h -c ../xlbt.c -arch x86_64<br class="">-DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o xlbt.o<br class="">      cc -include ../platform-darwinx8664.h -c ../x86_print.c -arch<br class="">x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o x86_print.o<br class="">      cc -include ../platform-darwinx8664.h -c ../pmcl-kernel.c -arch<br class="">x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o pmcl-kernel.o<br class="">      cc -include ../platform-darwinx8664.h -c ../gc-common.c -arch<br class="">x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o gc-common.o<br class="">      cc -include ../platform-darwinx8664.h -c ../x86-gc.c -arch x86_64<br class="">-DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o x86-gc.o<br class="">      cc -include ../platform-darwinx8664.h -c ../bits.c -arch x86_64<br class="">-DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o bits.o<br class="">      cc -include ../platform-darwinx8664.h -c ../x86-exceptions.c -arch<br class="">x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o x86-exceptions.o<br class="">      cc -include ../platform-darwinx8664.h -c ../x86-utils.c -arch<br class="">x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o x86-utils.o<br class="">      cc -include ../platform-darwinx8664.h -c ../thread_manager.c -arch<br class="">x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o thread_manager.o<br class="">      ../x86-gc.c:245:19: warning: expression which evaluates to zero<br class="">treated as a null pointer constant of type 'area *' (aka 'struct area *')<br class="">[-Wnon-literal-null-conversion]<br class="">                    a = AREA_VOID;<br class="">                        ^~~~~~~~~<br class="">      cc -include ../platform-darwinx8664.h -c ../lisp-debug.c -arch<br class="">x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o lisp-debug.o<br class="">      cc -include ../platform-darwinx8664.h -c ../image.c -arch x86_64<br class="">-DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o image.o<br class="">      cc -include ../platform-darwinx8664.h -c ../memory.c -arch x86_64<br class="">-DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o memory.o<br class="">      cc -include ../platform-darwinx8664.h -c ../unix-calls.c -arch<br class="">x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o unix-calls.o<br class="">      cc -include ../platform-darwinx8664.h -c ../mach-o-image.c -arch<br class="">x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o mach-o-image.o<br class="">      cc -include ../platform-darwinx8664.h -c mach_exc_server.c -arch<br class="">x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION="exported"<br class="">-D_DARWIN_NO_64_BIT_INODE -DUSE_DTRACE \<br class="">      -g -O -Wno-format  \<br class="">       -I. -mmacosx-version-min=10.6 -isysroot / -o mach_exc_server.o<br class="">      1 warning generated.<br class="">      ld -macosx_version_min 10.6 -arch x86_64 -dynamic -o ../../dx86cl64<br class="">-e start -pagezero_size 0x11000 -seg1addr 0x00011000 x86-spjump64.o<br class="">x86-spentry64.o x86-subprims64.o  imports.o pmcl-kernel.o gc-common.o<br class="">x86-gc.o bits.o  x86-exceptions.o x86-utils.o thread_manager.o lisp-debug.o<br class="">image.o memory.o unix-calls.o mach-o-image.o x86-asmutils64.o<br class="">mach_exc_server.o  lispdcmd.o plprint.o plsym.o xlbt.o x86_print.o -lcrt1.o<br class="">-lSystem<br class="">      Undefined symbols for architecture x86_64:<br class="">        "_atomic_and", referenced from:<br class="">            _signal_handler in x86-exceptions.o<br class="">            _catch_mach_exception_raise_state in x86-exceptions.o<br class="">        "_atomic_ior", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">            _signal_handler in x86-exceptions.o<br class="">            _get_tcr in thread_manager.o<br class="">            _suspend_resume_handler in thread_manager.o<br class="">            _lisp_thread_entry in thread_manager.o<br class="">            _cooperative_thread_startup in thread_manager.o<br class="">            _mach_suspend_tcr in thread_manager.o<br class="">            ...<br class="">        "_atomic_swap", referenced from:<br class="">            _get_spin_lock in thread_manager.o<br class="">            _lock_recursive_lock in thread_manager.o<br class="">            _unlock_recursive_lock in thread_manager.o<br class="">            _recursive_lock_trylock in thread_manager.o<br class="">            _rwlock_rlock in thread_manager.o<br class="">            _rwlock_wlock in thread_manager.o<br class="">            _rwlock_try_wlock in thread_manager.o<br class="">            ...<br class="">        "_cpuid", referenced from:<br class="">            _check_x86_cpu in pmcl-kernel.o<br class="">        "_current_stack_pointer", referenced from:<br class="">            _main in pmcl-kernel.o<br class="">            _rmark in x86-gc.o<br class="">            _arbstack_signal_handler in x86-exceptions.o<br class="">            _arbstack_interrupt_handler in x86-exceptions.o<br class="">            _arbstack_thread_kill_handler in x86-exceptions.o<br class="">        "_darwin_sigreturn", referenced from:<br class="">            _user_signal_handler in pmcl-kernel.o<br class="">            _interrupt_handler in x86-exceptions.o<br class="">            _suspend_resume_handler in thread_manager.o<br class="">        "_egc_gvset", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_rplaca", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_rplacd", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_set_hash_key", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_set_hash_key_conditional", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_set_hash_key_conditional_retry", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_set_hash_key_conditional_success_test", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_store_node_conditional", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_store_node_conditional_retry", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_store_node_conditional_success_end", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_store_node_conditional_success_test", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_write_barrier_end", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_egc_write_barrier_start", referenced from:<br class="">            _pc_luser_xp in x86-exceptions.o<br class="">        "_get_mxcsr", referenced from:<br class="">            _check_bogus_fp_exceptions in pmcl-kernel.o<br class="">            _main in pmcl-kernel.o<br class="">            _lisp_allocation_failure in x86-exceptions.o<br class="">            _callback_to_lisp in x86-exceptions.o<br class="">            _callback_for_gc_notification in x86-exceptions.o<br class="">            _allocate_list in x86-exceptions.o<br class="">            _handle_alloc_trap in x86-exceptions.o<br class="">            ...<br class="">        "_import_ptrs_base", referenced from:<br class="">            _main in pmcl-kernel.o<br class="">        "_nvalret", referenced from:<br class="">            _main in pmcl-kernel.o<br class="">        "_popj", referenced from:<br class="">            _main in pmcl-kernel.o<br class="">        "_pseudo_sigreturn", referenced from:<br class="">            _setup_signal_frame in x86-exceptions.o<br class="">            _catch_mach_exception_raise_state in x86-exceptions.o<br class="">           (maybe you meant: _do_pseudo_sigreturn)<br class="">        "_ret1valn", referenced from:<br class="">            _main in pmcl-kernel.o<br class="">        "_set_mxcsr", referenced from:<br class="">            _check_bogus_fp_exceptions in pmcl-kernel.o<br class="">            _main in pmcl-kernel.o<br class="">            _lisp_allocation_failure in x86-exceptions.o<br class="">            _callback_to_lisp in x86-exceptions.o<br class="">            _callback_for_gc_notification in x86-exceptions.o<br class="">            _allocate_list in x86-exceptions.o<br class="">            _handle_alloc_trap in x86-exceptions.o<br class="">            ...<br class="">        "_spentry_end", referenced from:<br class="">            _create_exception_callback_frame in x86-exceptions.o<br class="">        "_spentry_start", referenced from:<br class="">            _create_exception_callback_frame in x86-exceptions.o<br class="">        "_spjump_start", referenced from:<br class="">            _remap_spjump in pmcl-kernel.o<br class="">            _main in pmcl-kernel.o<br class="">        "_start_lisp", referenced from:<br class="">            _lazarus in pmcl-kernel.o<br class="">            _main in pmcl-kernel.o<br class="">            _lisp_thread_entry in thread_manager.o<br class="">            _cooperative_thread_startup in thread_manager.o<br class="">        "_store_conditional", referenced from:<br class="">            _atomic_incf_by in thread_manager.o<br class="">            _atomic_incf in thread_manager.o<br class="">            _atomic_decf in thread_manager.o<br class="">            _recursive_lock_trylock in thread_manager.o<br class="">            _suspend_tcr in thread_manager.o<br class="">            _lisp_suspend_tcr in thread_manager.o<br class="">            _resume_tcr in thread_manager.o<br class="">            ...<br class="">        "_switch_to_foreign_stack", referenced from:<br class="">            _handle_signal_on_foreign_stack in x86-exceptions.o<br class="">            _arbstack_signal_handler in x86-exceptions.o<br class="">            _arbstack_interrupt_handler in x86-exceptions.o<br class="">            _arbstack_thread_kill_handler in x86-exceptions.o<br class="">        "_zero_dnodes", referenced from:<br class="">            _new_heap_segment in gc-common.o<br class="">      ld: symbol(s) not found for architecture x86_64<br class="">      make: *** [../../dx86cl64] Error 1<br class="">      make: Target `all' not remade because of errors.<br class=""><br class="">While executing: REBUILD-CCL, in process listener(1).<br class="">Type :POP to abort, :R for a list of available restarts.<br class="">Type :? for other options.<br class=""></blockquote>1 ><br class=""><br class=""><br class=""><br class="">Prof. Alexander Repenning<br class=""><br class="">University of Colorado<br class="">Computer Science Department<br class="">Boulder, CO 80309-430<br class=""><br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">Openmcl-devel mailing list<br class="">Openmcl-devel@clozure.com<br class="">https://lists.clozure.com/mailman/listinfo/openmcl-devel<br class=""><br class=""></blockquote>_______________________________________________<br class="">Openmcl-devel mailing list<br class="">Openmcl-devel@clozure.com<br class="">https://lists.clozure.com/mailman/listinfo/openmcl-devel<br class=""></blockquote><br class="">Dr. Alexander Repenning, CTO<br class="">AgentSheets Inc.<br class="">6560 Gunpark Drive<br class="">Boulder CO 80301<br class=""><br class="">phone: (303) 530-1773<br class="">vCard: http://www.agentsheets.com/AlexanderRepenning.vcf<br class=""><br class=""><br class=""><br class=""></blockquote></div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><div style="font-size: 12px; margin: 0px; " class=""><font face="Helvetica" size="3" class="">Prof. Alexander Repenning</font></div><div style="font-size: 12px; margin: 0px; " class=""><br class="khtml-block-placeholder"></div><div style="font-size: 12px; margin: 0px; " class="">University of Colorado</div><div style="font-size: 12px; margin: 0px; " class="">Computer Science Department</div><div style="font-size: 12px; margin: 0px; " class="">Boulder, CO 80309-430</div></div><div class=""><br class=""></div></div></span><br class="Apple-interchange-newline">
</div>

<br class=""></body></html>