On Sunday, August 11, 2013 4:19:51 PM UTC-4, Nicolas Goles Domic wrote: > Thanks for your reply, > > I tried building with > clang, here's what I got: > make > > > Starting make in the src directory. > If there are problems, cd to the src directory and run make there > cd src && /Applications/Xcode5-DP4.app/Contents/Developer/usr/bin/make first > mkdir objects > CC="clang -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp " > srcdir=. sh ./osdef.sh > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/buffer.o buffer.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/blowfish.o blowfish.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/charset.o charset.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/diff.o diff.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/digraph.o digraph.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/edit.o edit.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/eval.o eval.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_cmds.o ex_cmds.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_cmds2.o ex_cmds2.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_docmd.o ex_docmd.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_eval.o ex_eval.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_getln.o ex_getln.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/fileio.o fileio.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/fold.o fold.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/getchar.o getchar.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/hardcopy.o hardcopy.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/hashtab.o hashtab.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/if_cscope.o if_cscope.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/if_xcmdsrv.o > if_xcmdsrv.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/mark.o mark.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/memline.o memline.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/menu.o menu.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/message.o message.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/misc1.o misc1.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/misc2.o misc2.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/move.o move.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/mbyte.o mbyte.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/normal.o normal.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ops.o ops.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/option.o option.c > clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/os_unix.o os_unix.c > os_unix.c:830:46: warning: declaration of 'struct sigaltstack' will not be > visible outside of this function [-Wvisibility] > extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct > sigaltstack *oss)); > ^ > ./os_unix.h:88:21: note: expanded from macro '__ARGS' > # define __ARGS(x) x > ^ > os_unix.c:830:13: error: conflicting types for 'sigaltstack' > extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct > sigaltstack *oss)); > ^ > /Applications/Xcode5-DP4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/signal.h:85:5: > note: previous declaration is here > int sigaltstack(const stack_t * __restrict, stack_t * __restrict) > __DARWIN_ALIAS(sigaltstack); > ^ > 1 warning and 1 error generated. > make[1]: *** [objects/os_unix.o] Error 1 > make: *** [first] Error 2 > > Hope the output helps! > > > > On 8/10/13, 3:51 PM, > Mario Grgic wrote: > > > > > > > > On Saturday, August 10, 2013 10:48:30 AM UTC-4, Nicolas Goles Domic > wrote: > > > Could anyone try to replicate this ? > > outputs: > > ./configure > > https://gist.github.com/Goles/37019d14ce9f86311edf > > make > Starting make in the src directory. > If there are problems, cd to the src directory and run make there > cd src && /Applications/Xcode5-DP4.app/Contents/Developer/usr/bin/make first > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/os_unix.o os_unix.c > os_unix.c:830:46: warning: declaration of 'struct sigaltstack' will not be > visible outside of this function [-Wvisibility] > extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct > sigaltstack *oss)); > ^ > ./os_unix.h:88:21: note: expanded from macro '__ARGS' > # define __ARGS(x) x > ^ > os_unix.c:830:13: error: conflicting types for 'sigaltstack' > extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct > sigaltstack *oss)); > ^ > /Applications/Xcode5-DP4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/signal.h:85:5: > note: previous declaration is here > int sigaltstack(const stack_t * __restrict, stack_t * __restrict) > __DARWIN_ALIAS(sigaltstack); > ^ > 1 warning and 1 error generated. > make[1]: *** [objects/os_unix.o] Error 1 > make: *** [first] Error 2 > > > Don't really know what could be the problem here, I'm trying to compile with > quite a bleeding edge setup here, but should work, if it's Apple's fault I'll > be glad to fill a bug report on their side. > > Cheers. > > > Have you tried building with clang instead? Try: > > export CC=clang > > before you run the configure script. And in the same shell (where CC=clang is > exported) do make after. > > > > > > > > > > > -- > > Nicolas Goles > > > Mobile # +56 9 91591989 (Chile) > > Mobile # +1 (650) 485 0734 (California) > > Twitter @ngoles > > > Me
Apparently, someone has already posted a patch for os_unix.c to fix this very issue here: https://groups.google.com/forum/#!msg/vim_dev/YHo51sA46fU/cybmVD3v3SkJ -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
