Created
January 8, 2017 04:23
-
-
Save cr1901/584c426453a00f943460be2d9b3ccffb to your computer and use it in GitHub Desktop.
MSYS binutils Build Attempt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
William@William-THINK MSYS ~/src/mingw-w64-binutils-PKGBUILD/src/build-x86_64-w64-mingw32$ make | |
make[1]: Entering directory '/home/William/src/mingw-w64-binutils-PKGBUILD/src/build-x86_64-w64-mingw32' | |
make[2]: Entering directory '/home/William/src/mingw-w64-binutils-PKGBUILD/src/build-x86_64-w64-mingw32/libiberty' | |
if [ x"" != x ]; then \ | |
gcc -c -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -ggdb -Og -pg -O0 -D__USE_MINGW_ACCESS -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I. -I../../binutils-2.27/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -D_GNU_SOURCE ../../binutils-2.27/libiberty/pex-win32.c -o pic/pex-win32.o; \ | |
else true; fi | |
if [ x"" != x ]; then \ | |
gcc -c -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -ggdb -Og -pg -O0 -D__USE_MINGW_ACCESS -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I. -I../../binutils-2.27/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -D_GNU_SOURCE ../../binutils-2.27/libiberty/pex-win32.c -o noasan/pex-win32.o; \ | |
else true; fi | |
gcc -c -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -ggdb -Og -pg -O0 -D__USE_MINGW_ACCESS -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I. -I../../binutils-2.27/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -D_GNU_SOURCE ../../binutils-2.27/libiberty/pex-win32.c -o pex-win32.o | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘pex_win32_open_read’: | |
../../binutils-2.27/libiberty/pex-win32.c:122:3: warning: implicit declaration of function ‘_open’ [-Wimplicit-function-declaration] | |
return _open (name, _O_RDONLY | (binary ? _O_BINARY : _O_TEXT)); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:122:23: error: ‘_O_RDONLY’ undeclared (first use in this function) | |
return _open (name, _O_RDONLY | (binary ? _O_BINARY : _O_TEXT)); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:122:23: note: each undeclared identifier is reported only once for each function it appears in | |
../../binutils-2.27/libiberty/pex-win32.c:122:45: error: ‘_O_BINARY’ undeclared (first use in this function) | |
return _open (name, _O_RDONLY | (binary ? _O_BINARY : _O_TEXT)); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:122:57: error: ‘_O_TEXT’ undeclared (first use in this function) | |
return _open (name, _O_RDONLY | (binary ? _O_BINARY : _O_TEXT)); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘pex_win32_open_write’: | |
../../binutils-2.27/libiberty/pex-win32.c:136:4: error: ‘_O_WRONLY’ undeclared (first use in this function) | |
(_O_WRONLY | _O_CREAT | _O_TRUNC | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:136:16: error: ‘_O_CREAT’ undeclared (first use in this function) | |
(_O_WRONLY | _O_CREAT | _O_TRUNC | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:136:27: error: ‘_O_TRUNC’ undeclared (first use in this function) | |
(_O_WRONLY | _O_CREAT | _O_TRUNC | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:137:16: error: ‘_O_BINARY’ undeclared (first use in this function) | |
| (binary ? _O_BINARY : _O_TEXT)), | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:137:28: error: ‘_O_TEXT’ undeclared (first use in this function) | |
| (binary ? _O_BINARY : _O_TEXT)), | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:138:3: error: ‘_S_IREAD’ undeclared (first use in this function) | |
_S_IREAD | _S_IWRITE); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:138:14: error: ‘_S_IWRITE’ undeclared (first use in this function) | |
_S_IREAD | _S_IWRITE); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘pex_win32_close’: | |
../../binutils-2.27/libiberty/pex-win32.c:146:3: warning: implicit declaration of function ‘_close’ [-Wimplicit-function-declaration] | |
return _close (fd); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘env_compare’: | |
../../binutils-2.27/libiberty/pex-win32.c:550:7: warning: array subscript has type ‘char’ [-Wchar-subscripts] | |
c1 = (unsigned char) tolower (*a++); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:551:7: warning: array subscript has type ‘char’ [-Wchar-subscripts] | |
c2 = (unsigned char) tolower (*b++); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘win32_spawn’: | |
../../binutils-2.27/libiberty/pex-win32.c:649:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] | |
return (pid_t) pi->hProcess; | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘spawn_script’: | |
../../binutils-2.27/libiberty/pex-win32.c:671:31: error: ‘_O_RDONLY’ undeclared (first use in this function) | |
int fd = _open (executable, _O_RDONLY); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:678:7: warning: implicit declaration of function ‘_read’ [-Wimplicit-function-declaration] | |
int len = _read (fd, buf, sizeof (buf) - 1); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘pex_win32_exec_child’: | |
../../binutils-2.27/libiberty/pex-win32.c:776:3: warning: implicit declaration of function ‘_dup’ [-Wimplicit-function-declaration] | |
in = _dup (orig_in); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘pex_win32_wait’: | |
../../binutils-2.27/libiberty/pex-win32.c:908:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
h = (HANDLE) pid; | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘pex_win32_pipe’: | |
../../binutils-2.27/libiberty/pex-win32.c:940:3: warning: implicit declaration of function ‘_pipe’ [-Wimplicit-function-declaration] | |
return _pipe (p, 256, (binary ? _O_BINARY : _O_TEXT) | _O_NOINHERIT); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:940:35: error: ‘_O_BINARY’ undeclared (first use in this function) | |
return _pipe (p, 256, (binary ? _O_BINARY : _O_TEXT) | _O_NOINHERIT); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:940:47: error: ‘_O_TEXT’ undeclared (first use in this function) | |
return _pipe (p, 256, (binary ? _O_BINARY : _O_TEXT) | _O_NOINHERIT); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c:940:58: error: ‘_O_NOINHERIT’ undeclared (first use in this function) | |
return _pipe (p, 256, (binary ? _O_BINARY : _O_TEXT) | _O_NOINHERIT); | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘pex_win32_open_read’: | |
../../binutils-2.27/libiberty/pex-win32.c:123:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘pex_win32_open_write’: | |
../../binutils-2.27/libiberty/pex-win32.c:139:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
../../binutils-2.27/libiberty/pex-win32.c: In function ‘pex_win32_pipe’: | |
../../binutils-2.27/libiberty/pex-win32.c:941:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
Makefile:1118: recipe for target 'pex-win32.o' failed | |
make[2]: *** [pex-win32.o] Error 1 | |
make[2]: Leaving directory '/home/William/src/mingw-w64-binutils-PKGBUILD/src/build-x86_64-w64-mingw32/libiberty' | |
Makefile:8376: recipe for target 'all-libiberty' failed | |
make[1]: *** [all-libiberty] Error 2 | |
make[1]: Leaving directory '/home/William/src/mingw-w64-binutils-PKGBUILD/src/build-x86_64-w64-mingw32' | |
Makefile:857: recipe for target 'all' failed | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment