When there has been a change in the configuration files, make tries to
rerun configure, and fails, requesting that I remove auto/config.cache.
If I do, one more -U_FORTIFY_SOURCE is added in the compile and one more
-Wl,--as-needed in the link in addition to what was already there. The
attached log extract (with cuts leaving only the start and end of long
"configure" runs) is from the log for my "tiny" version of Vim, which I
install (as "vi") by running "make installvimbin" (the runtime files are
installed by the huge version's "make install").
Best regards,
Tony.
--
Liberty is always dangerous, but it is the safest thing we have.
-- Harry Emerson Fosdick
--
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
Wed Sep 12 22:53:59 CEST 2012
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
gcc -L/usr/local/lib -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -o vi objects/buffer.o objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o objects/main.o objects/memfile.o -lm -lncurses -ldl
link.sh: Linked fine
Wed Sep 12 22:54:00 CEST 2012
Wed Sep 12 22:54:04 CEST 2012
if test -f /usr/local/bin/vi; then \
mv -f /usr/local/bin/vi /usr/local/bin/vi.rm; \
rm -f /usr/local/bin/vi.rm; \
fi
cp vi /usr/local/bin
strip /usr/local/bin/vi
chmod 755 /usr/local/bin/vi
Wed Sep 12 22:54:05 CEST 2012
Tue Sep 18 23:58:39 CEST 2012
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/mbyte.o mbyte.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
gcc -L/usr/local/lib -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -o vi objects/buffer.o objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o objects/main.o objects/memfile.o -lm -lncurses -ldl
link.sh: Linked fine
Tue Sep 18 23:58:45 CEST 2012
Tue Sep 18 23:58:58 CEST 2012
if test -f /usr/local/bin/vi; then \
mv -f /usr/local/bin/vi /usr/local/bin/vi.rm; \
rm -f /usr/local/bin/vi.rm; \
fi
cp vi /usr/local/bin
strip /usr/local/bin/vi
chmod 755 /usr/local/bin/vi
Tue Sep 18 23:58:58 CEST 2012
Fri Sep 21 13:21:58 CEST 2012
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
gcc -L/usr/local/lib -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -o vi objects/buffer.o objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o objects/main.o objects/memfile.o -lm -lncurses -ldl
link.sh: Linked fine
Fri Sep 21 13:22:01 CEST 2012
Fri Sep 21 13:22:13 CEST 2012
if test -f /usr/local/bin/vi; then \
mv -f /usr/local/bin/vi /usr/local/bin/vi.rm; \
rm -f /usr/local/bin/vi.rm; \
fi
cp vi /usr/local/bin
strip /usr/local/bin/vi
chmod 755 /usr/local/bin/vi
Fri Sep 21 13:22:13 CEST 2012
Fri Sep 21 19:36:22 CEST 2012
GUI_INC_LOC="" GUI_LIB_LOC="" \
CC="gcc" CPPFLAGS="-I/usr/local/include" CFLAGS="-O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" \
LDFLAGS="-L/usr/local/lib -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed" srcdir="." \
./configure --disable-gui --without-x \
\
--disable-perlinterp --disable-pythoninterp \
--disable-tclinterp --disable-rubyinterp --disable-nls \
--disable-cscope --disable-multibyte \
--disable-gpm \
--with-features=tiny \
"[email protected]" --disable-acl --disable-netbeans \
--with-vim-name=vi --disable-mzschemeinterp \
--disable-luainterp \
--disable-sysmouse
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
configure: loading cache auto/config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure: former value: `-O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1'
configure: current value: `-O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1'
configure: error: `LDFLAGS' has changed since the previous run:
configure: former value: `-L/usr/local/lib -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed'
configure: current value: `-L/usr/local/lib -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed'
configure: error: in `/root/.build/vim/vim-hg/vim/src/shadow-tiny':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm auto/config.cache' and start over
make: *** [auto/config.mk] Error 1
exit status 2
Fri Sep 21 19:36:23 CEST 2012
Fri Sep 21 19:36:41 CEST 2012
GUI_INC_LOC="" GUI_LIB_LOC="" \
CC="gcc" CPPFLAGS="-I/usr/local/include" CFLAGS="-O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" \
LDFLAGS="-L/usr/local/lib -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed" srcdir="." \
./configure --disable-gui --without-x \
\
--disable-perlinterp --disable-pythoninterp \
--disable-tclinterp --disable-rubyinterp --disable-nls \
--disable-cscope --disable-multibyte \
--disable-gpm \
--with-features=tiny \
"[email protected]" --disable-acl --disable-netbeans \
--with-vim-name=vi --disable-mzschemeinterp \
--disable-luainterp \
--disable-sysmouse
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
configure: creating cache auto/config.cache
[...]
config.status: creating auto/config.h
config.status: auto/config.h is unchanged
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/pathdef.o auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
gcc -L/usr/local/lib -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -o vi objects/buffer.o objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o objects/main.o objects/memfile.o -lm -lncurses -ldl
link.sh: Linked fine
Fri Sep 21 19:37:24 CEST 2012
Fri Sep 21 19:37:37 CEST 2012
if test -f /usr/local/bin/vi; then \
mv -f /usr/local/bin/vi /usr/local/bin/vi.rm; \
rm -f /usr/local/bin/vi.rm; \
fi
cp vi /usr/local/bin
strip /usr/local/bin/vi
chmod 755 /usr/local/bin/vi
Fri Sep 21 19:37:37 CEST 2012
Wed Oct 3 22:03:01 CEST 2012
GUI_INC_LOC="" GUI_LIB_LOC="" \
CC="gcc" CPPFLAGS="-I/usr/local/include" CFLAGS="-O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" \
LDFLAGS="-L/usr/local/lib -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed" srcdir="." \
./configure --disable-gui --without-x \
\
--disable-perlinterp --disable-pythoninterp \
--disable-tclinterp --disable-rubyinterp --disable-nls \
--disable-cscope --disable-multibyte \
--disable-gpm \
--with-features=tiny \
"[email protected]" --disable-acl --disable-netbeans \
--with-vim-name=vi --disable-mzschemeinterp \
--disable-luainterp \
--disable-sysmouse
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
configure: creating cache auto/config.cache
[...]
config.status: creating auto/config.h
config.status: auto/config.h is unchanged
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/buffer.o buffer.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_cmds2.o ex_cmds2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/memline.o memline.c
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/pathdef.o auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/screen.o screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/search.o search.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
gcc -L/usr/local/lib -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -Wl,--as-needed -o vi objects/buffer.o objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o objects/main.o objects/memfile.o -lm -lncurses -ldl
link.sh: Linked fine
Wed Oct 3 22:04:06 CEST 2012
Wed Oct 3 22:05:55 CEST 2012
if test -f /usr/local/bin/vi; then \
mv -f /usr/local/bin/vi /usr/local/bin/vi.rm; \
rm -f /usr/local/bin/vi.rm; \
fi
cp vi /usr/local/bin
strip /usr/local/bin/vi
chmod 755 /usr/local/bin/vi
Wed Oct 3 22:05:55 CEST 2012