Skip to content

Instantly share code, notes, and snippets.

@hlin117
Created January 13, 2015 03:31
Show Gist options
  • Save hlin117/1afa39c3430bb636406a to your computer and use it in GitHub Desktop.
Save hlin117/1afa39c3430bb636406a to your computer and use it in GitHub Desktop.
compiler output after running make on current *.tar.br2 file on vim site
CC="gcc -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp " srcdir=. sh ./osdef.sh
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/buffer.o buffer.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/blowfish.o blowfish.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/charset.o charset.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/diff.o diff.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/digraph.o digraph.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/edit.o edit.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/eval.o eval.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
eval.c:14127:42: warning: expression which evaluates to zero treated as a null pointer constant of type 'char_u *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
list_append_string(rettv->vval.v_list, NUL, -1);
^~~
./ascii.h:24:14: note: expanded from macro 'NUL'
#define NUL '\000'
^~~~~~
eval.c:14128:42: warning: expression which evaluates to zero treated as a null pointer constant of type 'char_u *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
list_append_string(rettv->vval.v_list, NUL, -1);
^~~
./ascii.h:24:14: note: expanded from macro 'NUL'
#define NUL '\000'
^~~~~~
3 warnings generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/ex_cmds.o ex_cmds.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/ex_cmds2.o ex_cmds2.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/ex_docmd.o ex_docmd.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/ex_eval.o ex_eval.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/ex_getln.o ex_getln.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/fileio.o fileio.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/fold.o fold.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/getchar.o getchar.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/hardcopy.o hardcopy.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/hashtab.o hashtab.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/if_cscope.o if_cscope.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/if_xcmdsrv.o if_xcmdsrv.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/mark.o mark.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/memline.o memline.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/menu.o menu.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/message.o message.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/misc1.o misc1.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/misc2.o misc2.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
misc2.c:4698:24: warning: expression which evaluates to zero treated as a null pointer constant of type 'char_u *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
char_u *wc_path = NUL;
^~~
./ascii.h:24:14: note: expanded from macro 'NUL'
#define NUL '\000'
^~~~~~
misc2.c:4699:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'char_u *' (aka 'unsigned char *') [-Wnon-literal-null-conversion]
char_u *temp = NUL;
^~~
./ascii.h:24:14: note: expanded from macro 'NUL'
#define NUL '\000'
^~~~~~
3 warnings generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/move.o move.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/mbyte.o mbyte.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/normal.o normal.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/ops.o ops.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/option.o option.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
1 warning generated.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O6 -o objects/os_unix.o os_unix.c
warning: optimization level '-O6' is unsupported; using '-O3' instead
os_unix.c:887: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:887:13: error: conflicting types for 'sigaltstack'
extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss));
^
/usr/include/signal.h:87:5: note: previous declaration is here
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack);
^
2 warnings and 1 error generated.
make: *** [objects/os_unix.o] Error 1
@yangchih
Copy link

I have same problem when I TRY to install vimgdb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment