#269 Build Breaks - XCode 5.0

Unstable_git-CVS
closed
nobody
None
1
2014-09-23
2013-09-28
Anonymous
No

Vinays-MacBook-Pro:ecl Vinay$ make
cd build; make
cp /Users/Vinay/Projects/ecl/src/util/gdbinit .gdbinit
if (echo c gmp gc libffi atomic | grep gmp); then \ cd gmp && make install && \ cd .. && mv include/gmp.h ecl/ && rmdir include && \ mv ./libgmp.a ./libeclgmp.a; \ fi
c gmp gc libffi atomic
gcc -fPIC -fno-common -E if test -f /Users/Vinay/Projects/ecl/src/gmp/gen-fac_ui.c; then echo /Users/Vinay/Projects/ecl/src/gmp/gen-fac_ui.c; else echo gen-fac_ui.c; fi | sed 's/^# ([0-9])/#line \1/' | > gen-fac_ui_.c || rm -f gen-fac_ui_.c
clang: error: unable to execute command: Broken pipe: 13
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:


PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/x2/9229mnq57ms8fy177cvcrkf80000gn/T/gen-fac_ui-6H4zZo.c
clang: note: diagnostic msg: /var/folders/x2/9229mnq57ms8fy177cvcrkf80000gn/T/gen-fac_ui-6H4zZo.sh
clang: note: diagnostic msg:


gcc -fPIC -fno-common test -f 'gen-fac_ui_.c' || echo '/Users/Vinay/Projects/ecl/src/gmp/'gen-fac_ui_.c -o gen-fac_ui
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: [gen-fac_ui] Error 1
make[1]:
[libeclgmp.a] Error 2
make: *** [all] Error 2
Vinays-MacBook-Pro:ecl Vinay$

Discussion

  • I have just built ECL on an OS X with XCode 5.0 and it seems to work. I changed several things in the GMP directory -- perhaps some of those fixed things.

     
  • Jon Boone
    Jon Boone
    2013-10-28

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     Vinays-MacBook-Pro:ecl Vinay$ make
     cd build; make
     cp /Users/Vinay/Projects/ecl/src/util/gdbinit .gdbinit
    
    • status: open --> closed
     
  • Jon Boone
    Jon Boone
    2013-10-28

    Verified that this works on Mac OS X Mavericks with XCode 5.0.1 command-line tools installed.

     


Anonymous


Cancel   Add attachments