+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cross-binutils-2.17.0.0nb6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cross-binutils-2.17.0.0nb6/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for cross-binutils-2.17.0.0nb6 Configuring in ./binutils configure: creating cache ./config.cache checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking target system type... i386-pc-linux-gnu checking for x86_64-sun-solaris2.11-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for library containing strerror... none required checking for a BSD-compatible install... /home/pbulk/build/cross/cross-binutils/work/.tools/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for ld used by GCC... /bin/ld checking if the linker (/bin/ld) is GNU ld... no checking for /bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking the maximum length of command line arguments... none checking for x86_64-sun-solaris2.11-ranlib... ranlib checking for x86_64-sun-solaris2.11-strip... no checking for strip... strip updating cache ./config.cache loading cache ./config.cache within ltconfig checking whether -lc should be explicitly linked in... no checking for objdir... .libs checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no finding the maximum length of command line arguments... 393217 checking if gcc supports -c -o file.o... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking whether the linker (/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.11 ld.so checking command to parse nm output... failed checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes creating libtool updating cache ./config.cache configure: loading cache ./config.cache Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror checking for x86_64-sun-solaris2.11-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for bison... /opt/pkg/bin/bison -y checking for flex... flex checking for yywrap in -lfl... no checking for yywrap in -ll... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for x86_64-sun-solaris2.11-ranlib... (cached) ranlib checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /opt/pkg/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /opt/pkg/bin/msgfmt checking for xgettext... /opt/pkg/bin/xgettext checking for catalogs to be installed... fr tr ja es sv da zh_CN ru ro rw zh_TW fi vi checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-sun-solaris2.11-ranlib... (cached) ranlib checking for a BSD-compatible install... /home/pbulk/build/cross/cross-binutils/work/.tools/bin/install -c checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for sbrk... yes checking for utimes... yes checking for setmode... no checking for getc_unlocked... yes checking for strcoll... yes checking for fopen64... yes checking for stat64... yes checking for library containing frexp... none required checking for time_t in time.h... yes checking for time_t in sys/types.h... yes checking for a known getopt prototype in unistd.h... yes checking for utime.h... yes checking whether fprintf is declared... yes checking whether stpcpy is declared... yes checking whether strstr is declared... yes checking whether sbrk is declared... yes checking whether getenv is declared... yes checking whether environ is declared... no checking whether getc_unlocked is declared... no checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands Configuring in ./libiberty configure: creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... /home/pbulk/build/cross/cross-binutils/work/binutils-2.17/missing makeinfo configure: WARNING: *** Makeinfo is missing. Info documentation will not be built. checking for perl... perl checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking for x86_64-sun-solaris2.11-ar... ar checking for x86_64-sun-solaris2.11-ranlib... ranlib checking for x86_64-sun-solaris2.11-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... cpp checking whether gcc accepts -Wc++-compat... yes checking whether gcc and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for a BSD-compatible install... /home/pbulk/build/cross/cross-binutils/work/.tools/bin/install -c checking for sys/file.h... yes checking for sys/param.h... yes checking for limits.h... yes checking for stdlib.h... yes checking for malloc.h... yes checking for string.h... yes checking for unistd.h... yes checking for strings.h... yes checking for sys/time.h... yes checking for time.h... yes checking for sys/resource.h... yes checking for sys/stat.h... yes checking for sys/mman.h... yes checking for fcntl.h... yes checking for alloca.h... yes checking for sys/pstat.h... no checking for sys/sysmp.h... no checking for sys/sysinfo.h... yes checking for machine/hal_sysinfo.h... no checking for sys/table.h... no checking for sys/sysctl.h... no checking for sys/systemcfg.h... no checking for stdint.h... yes checking for stdio_ext.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... yes checking for strings.h... (cached) yes checking for inttypes.h... yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for int... yes checking size of int... 4 checking for uintptr_t... yes checking for a 64-bit type... uint64_t checking for pid_t... yes checking for library containing strerror... none required checking for asprintf... yes checking for atexit... yes checking for basename... yes checking for bcmp... yes checking for bcopy... yes checking for bsearch... yes checking for bzero... yes checking for calloc... yes checking for clock... yes checking for ffs... yes checking for getcwd... yes checking for getpagesize... yes checking for gettimeofday... yes checking for index... yes checking for insque... yes checking for memchr... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for mempcpy... no checking for memset... yes checking for mkstemps... yes checking for putenv... yes checking for random... yes checking for rename... yes checking for rindex... yes checking for setenv... yes checking for snprintf... yes checking for sigsetmask... no checking for stpcpy... yes checking for stpncpy... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strndup... yes checking for strrchr... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for strverscmp... no checking for tmpnam... yes checking for vasprintf... yes checking for vfprintf... yes checking for vprintf... yes checking for vsnprintf... yes checking for vsprintf... yes checking for waitpid... yes checking whether alloca needs Cray hooks... no checking stack direction for C alloca... -1 checking for unistd.h... (cached) yes checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _doprnt... yes checking for sys_errlist... no checking for sys_nerr... no checking for sys_siglist... no checking for external symbol _system_configuration... no checking for getrusage... yes checking for on_exit... no checking for psignal... yes checking for strerror... yes checking for strsignal... yes checking for sysconf... yes checking for times... yes checking for sbrk... yes checking for gettimeofday... (cached) yes checking for realpath... yes checking for canonicalize_file_name... yes checking for pstat_getstatic... no checking for pstat_getdynamic... no checking for sysmp... no checking for getsysinfo... no checking for table... no checking for sysctl... no checking for wait3... yes checking for wait4... yes checking for __fsetlocking... yes checking whether basename is declared... no checking whether ffs is declared... yes checking whether asprintf is declared... yes checking whether vasprintf is declared... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether calloc is declared... yes checking whether getenv is declared... yes checking whether getopt is declared... yes checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether sbrk is declared... yes checking whether strverscmp is declared... no checking whether canonicalize_file_name must be declared... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for working strncmp... yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating config.h config.status: executing default commands Configuring in ./opcodes configure: creating cache ./config.cache checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking target system type... i386-pc-linux-gnu checking for x86_64-sun-solaris2.11-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for library containing strerror... none required checking for a BSD-compatible install... /home/pbulk/build/cross/cross-binutils/work/.tools/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for x86_64-sun-solaris2.11-ar... ar checking for x86_64-sun-solaris2.11-ranlib... ranlib checking for ld used by GCC... /bin/ld checking if the linker (/bin/ld) is GNU ld... no checking for /bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking the maximum length of command line arguments... none checking for x86_64-sun-solaris2.11-ranlib... (cached) ranlib checking for x86_64-sun-solaris2.11-strip... no checking for strip... strip updating cache ./config.cache loading cache ./config.cache within ltconfig checking for objdir... .libs checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no finding the maximum length of command line arguments... 393217 checking if gcc supports -c -o file.o... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking whether the linker (/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.11 ld.so checking command to parse nm output... failed checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes creating libtool updating cache ./config.cache configure: loading cache ./config.cache Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror checking whether to enable maintainer-specific portions of Makefiles... no checking whether to install libbfd... no checking for x86_64-sun-solaris2.11-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for x86_64-sun-solaris2.11-ranlib... (cached) ranlib checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /opt/pkg/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /opt/pkg/bin/msgfmt checking for xgettext... /opt/pkg/bin/xgettext checking for catalogs to be installed... fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN checking for a BSD-compatible install... /home/pbulk/build/cross/cross-binutils/work/.tools/bin/install -c checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking whether basename is declared... no updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands Configuring in ./bfd configure: creating cache ./config.cache checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking target system type... i386-pc-linux-gnu checking for x86_64-sun-solaris2.11-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for library containing strerror... none required checking for a BSD-compatible install... /home/pbulk/build/cross/cross-binutils/work/.tools/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for x86_64-sun-solaris2.11-ar... ar checking for x86_64-sun-solaris2.11-ranlib... ranlib checking for ld used by GCC... /bin/ld checking if the linker (/bin/ld) is GNU ld... no checking for /bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking the maximum length of command line arguments... none checking for x86_64-sun-solaris2.11-ranlib... (cached) ranlib checking for x86_64-sun-solaris2.11-strip... no checking for strip... strip updating cache ./config.cache loading cache ./config.cache within ltconfig checking for objdir... .libs checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no finding the maximum length of command line arguments... 393217 checking if gcc supports -c -o file.o... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking whether the linker (/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.11 ld.so checking command to parse nm output... failed checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes creating libtool updating cache ./config.cache configure: loading cache ./config.cache Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror checking whether to enable maintainer-specific portions of Makefiles... no checking whether to install libbfd... no checking for x86_64-sun-solaris2.11-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for x86_64-sun-solaris2.11-ranlib... (cached) ranlib checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /opt/pkg/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /opt/pkg/bin/msgfmt checking for xgettext... /opt/pkg/bin/xgettext checking for catalogs to be installed... fr tr ja es sv da zh_CN ro rw vi checking for a BSD-compatible install... /home/pbulk/build/cross/cross-binutils/work/.tools/bin/install -c checking for long long... yes checking for long long... yes checking size of long long... 8 checking for long... yes checking size of long... 8 checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether string.h and strings.h may both be included... yes checking for fcntl... yes checking for getpagesize... (cached) yes checking for setitimer... yes checking for sysconf... yes checking for fdopen... yes checking for getuid... yes checking for getgid... yes checking for strtoull... yes checking whether basename is declared... no checking whether ftello is declared... yes checking whether ftello64 is declared... yes checking whether fseeko is declared... yes checking whether fseeko64 is declared... yes checking whether ffs is declared... yes checking whether free is declared... yes checking whether getenv is declared... yes checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether stpcpy is declared... yes checking whether strstr is declared... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking for gcc version with buggy 64-bit support... no checking for ftello... yes checking for ftello64... no checking for fseeko... yes checking for fseeko64... no checking for fopen64... no checking for off_t... (cached) yes checking size of off_t... 8 checking file_ptr type... BFD_HOST_64_BIT checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for madvise... yes checking for mprotect... yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating bfd-in3.h config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands Configuring in ./intl creating cache ./config.cache checking for a BSD compatible install... /home/pbulk/build/cross/cross-binutils/work/.tools/bin/install -c checking how to run the C preprocessor... cpp checking whether make sets ${MAKE}... yes checking for gcc... gcc checking whether the C compiler (gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 ) works... yes checking whether the C compiler (gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for POSIXized ISC... no checking for ANSI C header files... yes checking for working const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... yes checking for argz.h... no checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for values.h... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /opt/pkg/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /opt/pkg/bin/msgfmt checking for xgettext... /opt/pkg/bin/xgettext updating cache ./config.cache creating ./config.status creating Makefile creating config.h Configuring in ./ld configure: creating cache ./config.cache checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking target system type... i386-pc-linux-gnu checking for x86_64-sun-solaris2.11-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for library containing strerror... none required checking for a BSD-compatible install... /home/pbulk/build/cross/cross-binutils/work/.tools/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for ld used by GCC... /bin/ld checking if the linker (/bin/ld) is GNU ld... no checking for /bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking the maximum length of command line arguments... none checking for x86_64-sun-solaris2.11-ranlib... ranlib checking for x86_64-sun-solaris2.11-strip... no checking for strip... strip updating cache ./config.cache loading cache ./config.cache within ltconfig checking whether -lc should be explicitly linked in... no checking for objdir... .libs checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no finding the maximum length of command line arguments... 393217 checking if gcc supports -c -o file.o... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking whether the linker (/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.11 ld.so checking command to parse nm output... failed checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes creating libtool updating cache ./config.cache configure: loading cache ./config.cache Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror checking for x86_64-sun-solaris2.11-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for a BSD-compatible install... /home/pbulk/build/cross/cross-binutils/work/.tools/bin/install -c checking for x86_64-sun-solaris2.11-ranlib... (cached) ranlib checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /opt/pkg/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /opt/pkg/bin/msgfmt checking for xgettext... /opt/pkg/bin/xgettext checking for catalogs to be installed... fr sv tr es da vi zh_CN checking for bison... /opt/pkg/bin/bison -y checking for flex... flex checking for yywrap in -lfl... no checking for yywrap in -ll... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking elf-hints.h usability... no checking elf-hints.h presence... no checking for elf-hints.h... no checking for sbrk... yes checking for realpath... yes checking for glob... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for a known getopt prototype in unistd.h... yes checking whether strstr is declared... yes checking whether free is declared... yes checking whether sbrk is declared... yes checking whether getenv is declared... yes checking whether environ is declared... no checking whether ANSI C string concatenation works... yes updating cache ./config.cache configure: creating ./config.status mv: cannot rename conftest.tail to conftest.undefs: Disc quota exceeded grep: can't open "conftest.undefs" config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands if [ x"" != x ] && [ ! -d pic ]; then mkdir pic; else true; fi touch stamp-picdir if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/safe-ctype.c -o pic/./safe-ctype.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/safe-ctype.c -o ./safe-ctype.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/mempcpy.c -o pic/./mempcpy.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/mempcpy.c -o ./mempcpy.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/sigsetmask.c -o pic/./sigsetmask.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/sigsetmask.c -o ./sigsetmask.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/strverscmp.c -o pic/./strverscmp.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/strverscmp.c -o ./strverscmp.o rm -f needed-list; touch needed-list; for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do for g in ./mempcpy.o ./sigsetmask.o ./strverscmp.o ; do case "$g" in *$f*) echo $g >> needed-list ;; esac; done; done echo ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o > required-list if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/alloca.c -o pic/./alloca.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/alloca.c -o ./alloca.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/argv.c -o pic/./argv.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/argv.c -o ./argv.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/choose-temp.c -o pic/./choose-temp.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/choose-temp.c -o ./choose-temp.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/concat.c -o pic/./concat.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/concat.c -o ./concat.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/cp-demangle.c -o pic/./cp-demangle.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/cp-demangle.c -o ./cp-demangle.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/cp-demint.c -o pic/./cp-demint.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/cp-demint.c -o ./cp-demint.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/cplus-dem.c -o pic/./cplus-dem.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/cplus-dem.c -o ./cplus-dem.o .././libiberty/cplus-dem.c: In function 'demangle_signature': .././libiberty/cplus-dem.c:1465:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 1465 | if (AUTO_DEMANGLING || GNU_DEMANGLING) .././libiberty/cplus-dem.c:1479:2: note: here 1479 | default: | ^~~~~~~ .././libiberty/cplus-dem.c: In function 'demangle_fund_type': .././libiberty/cplus-dem.c:3808:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3808 | if (!ISDIGIT ((unsigned char)**mangled)) | ^ .././libiberty/cplus-dem.c:3813:5: note: here 3813 | case 'I': | ^~~~ if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/dyn-string.c -o pic/./dyn-string.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/dyn-string.c -o ./dyn-string.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/fdmatch.c -o pic/./fdmatch.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/fdmatch.c -o ./fdmatch.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/fibheap.c -o pic/./fibheap.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/fibheap.c -o ./fibheap.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/floatformat.c -o pic/./floatformat.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/floatformat.c -o ./floatformat.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/fnmatch.c -o pic/./fnmatch.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/fnmatch.c -o ./fnmatch.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/fopen_unlocked.c -o pic/./fopen_unlocked.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/fopen_unlocked.c -o ./fopen_unlocked.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/getopt.c -o pic/./getopt.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/getopt.c -o ./getopt.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/getopt1.c -o pic/./getopt1.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/getopt1.c -o ./getopt1.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/getpwd.c -o pic/./getpwd.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/getpwd.c -o ./getpwd.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/getruntime.c -o pic/./getruntime.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/getruntime.c -o ./getruntime.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/hashtab.c -o pic/./hashtab.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/hashtab.c -o ./hashtab.o .././libiberty/hashtab.c: In function 'iterative_hash': .././libiberty/hashtab.c:917:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 917 | case 11: c+=((hashval_t)k[10]<<24); | ~^~~~~~~~~~~~~~~~~~~~~~~~ .././libiberty/hashtab.c:918:5: note: here 918 | case 10: c+=((hashval_t)k[9]<<16); | ^~~~ .././libiberty/hashtab.c:918:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 918 | case 10: c+=((hashval_t)k[9]<<16); | ~^~~~~~~~~~~~~~~~~~~~~~~ .././libiberty/hashtab.c:919:5: note: here 919 | case 9 : c+=((hashval_t)k[8]<<8); | ^~~~ .././libiberty/hashtab.c:919:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 919 | case 9 : c+=((hashval_t)k[8]<<8); | ~^~~~~~~~~~~~~~~~~~~~~~ .././libiberty/hashtab.c:921:5: note: here 921 | case 8 : b+=((hashval_t)k[7]<<24); | ^~~~ .././libiberty/hashtab.c:921:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 921 | case 8 : b+=((hashval_t)k[7]<<24); | ~^~~~~~~~~~~~~~~~~~~~~~~ .././libiberty/hashtab.c:922:5: note: here 922 | case 7 : b+=((hashval_t)k[6]<<16); | ^~~~ .././libiberty/hashtab.c:922:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 922 | case 7 : b+=((hashval_t)k[6]<<16); | ~^~~~~~~~~~~~~~~~~~~~~~~ .././libiberty/hashtab.c:923:5: note: here 923 | case 6 : b+=((hashval_t)k[5]<<8); | ^~~~ .././libiberty/hashtab.c:923:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 923 | case 6 : b+=((hashval_t)k[5]<<8); | ~^~~~~~~~~~~~~~~~~~~~~~ .././libiberty/hashtab.c:924:5: note: here 924 | case 5 : b+=k[4]; | ^~~~ .././libiberty/hashtab.c:924:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 924 | case 5 : b+=k[4]; | ~^~~~~~ .././libiberty/hashtab.c:925:5: note: here 925 | case 4 : a+=((hashval_t)k[3]<<24); | ^~~~ .././libiberty/hashtab.c:925:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 925 | case 4 : a+=((hashval_t)k[3]<<24); | ~^~~~~~~~~~~~~~~~~~~~~~~ .././libiberty/hashtab.c:926:5: note: here 926 | case 3 : a+=((hashval_t)k[2]<<16); | ^~~~ .././libiberty/hashtab.c:926:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 926 | case 3 : a+=((hashval_t)k[2]<<16); | ~^~~~~~~~~~~~~~~~~~~~~~~ .././libiberty/hashtab.c:927:5: note: here 927 | case 2 : a+=((hashval_t)k[1]<<8); | ^~~~ .././libiberty/hashtab.c:927:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 927 | case 2 : a+=((hashval_t)k[1]<<8); | ~^~~~~~~~~~~~~~~~~~~~~~ .././libiberty/hashtab.c:928:5: note: here 928 | case 1 : a+=k[0]; | ^~~~ if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/hex.c -o pic/./hex.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/hex.c -o ./hex.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/lbasename.c -o pic/./lbasename.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/lbasename.c -o ./lbasename.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/lrealpath.c -o pic/./lrealpath.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/lrealpath.c -o ./lrealpath.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/make-relative-prefix.c -o pic/./make-relative-prefix.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/make-relative-prefix.c -o ./make-relative-prefix.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/make-temp-file.c -o pic/./make-temp-file.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/make-temp-file.c -o ./make-temp-file.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/md5.c -o pic/./md5.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/md5.c -o ./md5.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/objalloc.c -o pic/./objalloc.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/objalloc.c -o ./objalloc.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/obstack.c -o pic/./obstack.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/obstack.c -o ./obstack.o .././libiberty/obstack.c: In function '_obstack_begin': .././libiberty/obstack.c:166:17: warning: cast between incompatible function types from 'void * (*)(long int)' to 'struct _obstack_chunk * (*)(void *, long int)' [-Wcast-function-type] 166 | h->chunkfun = (struct _obstack_chunk * (*)(void *, long)) chunkfun; | ^ .././libiberty/obstack.c:167:16: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, struct _obstack_chunk *)' [-Wcast-function-type] 167 | h->freefun = (void (*) (void *, struct _obstack_chunk *)) freefun; | ^ .././libiberty/obstack.c:107:8: warning: cast between incompatible function types from 'struct _obstack_chunk * (*)(void *, long int)' to 'struct _obstack_chunk * (*)(long int)' [-Wcast-function-type] 107 | : (*(struct _obstack_chunk *(*) (long)) (h)->chunkfun) ((size))) | ^ .././libiberty/obstack.c:172:22: note: in expansion of macro 'CALL_CHUNKFUN' 172 | chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); | ^~~~~~~~~~~~~ .././libiberty/obstack.c: In function '_obstack_begin_1': .././libiberty/obstack.c:107:8: warning: cast between incompatible function types from 'struct _obstack_chunk * (*)(void *, long int)' to 'struct _obstack_chunk * (*)(long int)' [-Wcast-function-type] 107 | : (*(struct _obstack_chunk *(*) (long)) (h)->chunkfun) ((size))) | ^ .././libiberty/obstack.c:218:22: note: in expansion of macro 'CALL_CHUNKFUN' 218 | chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); | ^~~~~~~~~~~~~ .././libiberty/obstack.c: In function '_obstack_newchunk': .././libiberty/obstack.c:107:8: warning: cast between incompatible function types from 'struct _obstack_chunk * (*)(void *, long int)' to 'struct _obstack_chunk * (*)(long int)' [-Wcast-function-type] 107 | : (*(struct _obstack_chunk *(*) (long)) (h)->chunkfun) ((size))) | ^ .././libiberty/obstack.c:253:15: note: in expansion of macro 'CALL_CHUNKFUN' 253 | new_chunk = CALL_CHUNKFUN (h, new_size); | ^~~~~~~~~~~~~ .././libiberty/obstack.c:114:9: warning: cast between incompatible function types from 'void (*)(void *, struct _obstack_chunk *)' to 'void (*)(void *)' [-Wcast-function-type] 114 | (*(void (*) (void *)) (h)->freefun) ((old_chunk)); \ | ^ .././libiberty/obstack.c:286:7: note: in expansion of macro 'CALL_FREEFUN' 286 | CALL_FREEFUN (h, old_chunk); | ^~~~~~~~~~~~ .././libiberty/obstack.c: In function '_obstack_free': .././libiberty/obstack.c:114:9: warning: cast between incompatible function types from 'void (*)(void *, struct _obstack_chunk *)' to 'void (*)(void *)' [-Wcast-function-type] 114 | (*(void (*) (void *)) (h)->freefun) ((old_chunk)); \ | ^ .././libiberty/obstack.c:342:7: note: in expansion of macro 'CALL_FREEFUN' 342 | CALL_FREEFUN (h, lp); | ^~~~~~~~~~~~ .././libiberty/obstack.c: In function 'obstack_free': .././libiberty/obstack.c:114:9: warning: cast between incompatible function types from 'void (*)(void *, struct _obstack_chunk *)' to 'void (*)(void *)' [-Wcast-function-type] 114 | (*(void (*) (void *)) (h)->freefun) ((old_chunk)); \ | ^ .././libiberty/obstack.c:374:7: note: in expansion of macro 'CALL_FREEFUN' 374 | CALL_FREEFUN (h, lp); | ^~~~~~~~~~~~ if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/partition.c -o pic/./partition.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/partition.c -o ./partition.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/pex-common.c -o pic/./pex-common.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/pex-common.c -o ./pex-common.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/pex-one.c -o pic/./pex-one.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/pex-one.c -o ./pex-one.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/pex-unix.c -o pic/./pex-unix.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/pex-unix.c -o ./pex-unix.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/pexecute.c -o pic/./pexecute.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/pexecute.c -o ./pexecute.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/physmem.c -o pic/./physmem.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/physmem.c -o ./physmem.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/regex.c -o pic/./regex.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/regex.c -o ./regex.o .././libiberty/regex.c: In function 'byte_regex_compile': .././libiberty/regex.c:152:47: warning: right-hand operand of comma expression has no effect [-Wunused-value] 152 | # define bzero(s, n) (memset (s, '\0', n), (s)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~ .././libiberty/regex.c:3124:13: note: in expansion of macro 'bzero' 3124 | bzero (b, (1 << BYTEWIDTH) / BYTEWIDTH); | ^~~~~ .././libiberty/regex.c: In function 'byte_re_compile_fastmap': .././libiberty/regex.c:152:47: warning: right-hand operand of comma expression has no effect [-Wunused-value] 152 | # define bzero(s, n) (memset (s, '\0', n), (s)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~ .././libiberty/regex.c:4582:3: note: in expansion of macro 'bzero' 4582 | bzero (fastmap, 1 << BYTEWIDTH); /* Assume nothing's valid. */ | ^~~~~ In file included from .././libiberty/regex.c:638: .././libiberty/regex.c: In function 'byte_re_match_2_internal': .././libiberty/regex.c:7141:27: warning: variable 'sdummy' set but not used [-Wunused-but-set-variable] 7141 | const CHAR_T *sdummy = NULL; | ^~~~~~ .././libiberty/regex.c:7140:22: warning: variable 'pdummy' set but not used [-Wunused-but-set-variable] 7140 | UCHAR_T *pdummy = NULL; | ^~~~~~ .././libiberty/regex.c: In function 'byte_regex_compile': .././libiberty/regex.c:2492:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 2491 | if ((syntax & RE_BK_PLUS_QM) | ~~~~~~~~~~~~~~~~~~~~~~~~ 2492 | || (syntax & RE_LIMITED_OPS)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ .././libiberty/regex.c:2494:9: note: here 2494 | handle_plus: | ^~~~~~~~~~~ .././libiberty/regex.c: In function 'byte_re_match_2_internal': .././libiberty/regex.c:6694:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 6694 | is_a_jump_n = true; .././libiberty/regex.c:6695:19: note: here 6695 | case pop_failure_jump: | ^~~~ .././libiberty/regex.c:7117:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 7117 | if ((re_opcode_t) p[-1] != pop_failure_jump) | ^ .././libiberty/regex.c:7132:9: note: here 7132 | case pop_failure_jump: | ^~~~ .././libiberty/regex.c:1776:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 1776 | set_regs_matched_done = 0; \ | ~~~~~~~~~~~~~~~~~~~~~~^~~ .././libiberty/regex.c:7144:13: note: in expansion of macro 'POP_FAILURE_POINT' 7144 | POP_FAILURE_POINT (sdummy, pdummy, | ^~~~~~~~~~~~~~~~~ .././libiberty/regex.c:7150:2: note: here 7150 | unconditional_jump: | ^~~~~~~~~~~~~~~~~~ .././libiberty/regex.c:7450:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 7450 | is_a_jump_n = true; .././libiberty/regex.c:7451:17: note: here 7451 | case maybe_pop_jump: | ^~~~ .././libiberty/regex.c: In function 'byte_common_op_match_null_string_p': .././libiberty/regex.c:7715:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 7715 | p1 += 2 * OFFSET_ADDRESS_SIZE; | ^ .././libiberty/regex.c:7717:5: note: here 7717 | default: | ^~~~~~~ if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/sort.c -o pic/./sort.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/sort.c -o ./sort.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/spaces.c -o pic/./spaces.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/spaces.c -o ./spaces.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/splay-tree.c -o pic/./splay-tree.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/splay-tree.c -o ./splay-tree.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/strerror.c -o pic/./strerror.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/strerror.c -o ./strerror.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/strsignal.c -o pic/./strsignal.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/strsignal.c -o ./strsignal.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/ternary.c -o pic/./ternary.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/ternary.c -o ./ternary.o .././libiberty/ternary.c:143:1: warning: 'ternary_recursivesearch' defined but not used [-Wunused-function] 143 | ternary_recursivesearch (const ternary_node *p, const char *s) | ^~~~~~~~~~~~~~~~~~~~~~~ if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/unlink-if-ordinary.c -o pic/./unlink-if-ordinary.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/unlink-if-ordinary.c -o ./unlink-if-ordinary.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xatexit.c -o pic/./xatexit.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xatexit.c -o ./xatexit.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xexit.c -o pic/./xexit.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xexit.c -o ./xexit.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xmalloc.c -o pic/./xmalloc.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xmalloc.c -o ./xmalloc.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xmemdup.c -o pic/./xmemdup.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xmemdup.c -o ./xmemdup.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xstrdup.c -o pic/./xstrdup.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xstrdup.c -o ./xstrdup.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xstrerror.c -o pic/./xstrerror.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xstrerror.c -o ./xstrerror.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xstrndup.c -o pic/./xstrndup.o; else true; fi gcc -c -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I. -I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat .././libiberty/xstrndup.c -o ./xstrndup.o rm -f ./libiberty.a pic/./libiberty.a ar rc ./libiberty.a ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./mempcpy.o ./sigsetmask.o ./strverscmp.o ranlib ./libiberty.a if [ x"" != x ]; then cd pic; ar rc ./libiberty.a ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./mempcpy.o ./sigsetmask.o ./strverscmp.o; ranlib ./libiberty.a; cd ..; else true; fi Making info in doc Making info in po /opt/pkg/bin/bmake all-recursive Making all in doc Making all in po rm -f elf64-target.h sed -e s/NN/64/g < .././bfd/elfxx-target.h > elf64-target.new mv -f elf64-target.new elf64-target.h rm -f elf64-ia64.c sed -e s/NN/64/g < .././bfd/elfxx-ia64.c > elf64-ia64.new mv -f elf64-ia64.new elf64-ia64.c rm -f pepigen.c sed -e s/XX/pep/g < .././bfd/peXXigen.c > pepigen.new mv -f pepigen.new pepigen.c creating bfdver.h rm -f targmatch.h sed -f .././bfd/targmatch.sed < .././bfd/config.bfd > targmatch.new mv -f targmatch.new targmatch.h rm -f elf32-target.h sed -e s/NN/32/g < .././bfd/elfxx-target.h > elf32-target.new mv -f elf32-target.new elf32-target.h rm -f peigen.c sed -e s/XX/pe/g < .././bfd/peXXigen.c > peigen.new mv -f peigen.new peigen.c rm -f elf32-ia64.c sed -e s/NN/32/g < .././bfd/elfxx-ia64.c > elf32-ia64.new mv -f elf32-ia64.new elf32-ia64.c rm -f tofiles f=""; for i in elf32-i386.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo i386linux.lo aout32.lo efi-app-ia32.lo peigen.lo cofflink.lo elf64-x86-64.lo elf64.lo elf64-gen.lo elf32-gen.lo aix5ppc-core.lo aout64.lo coff-alpha.lo coff64-rs6000.lo demo64.lo efi-app-ia64.lo elf64-x86-64.lo elf64-alpha.lo elf64-hppa.lo elf32-ia64.lo elf64-ia64.lo elf64-gen.lo elfn32-mips.lo elf64-mips.lo elf64-mmix.lo elf64-sh64.lo elf64-ppc.lo elf64-s390.lo elf64-sparc.lo elf64.lo mmo.lo nlm32-alpha.lo nlm64.lo pepigen.lo aout-adobe.lo aout-arm.lo aout-cris.lo aout-ns32k.lo aout-sparcle.lo aout-tic30.lo aout0.lo aout32.lo armnetbsd.lo bout.lo cf-i386lynx.lo cf-sparclynx.lo coff-apollo.lo coff-arm.lo coff-aux.lo coff-h8300.lo coff-h8500.lo coff-i386.lo coff-go32.lo coff-i860.lo coff-i960.lo coff-m68k.lo coff-m88k.lo coff-maxq.lo coff-mips.lo coff-or32.lo coff-rs6000.lo coff-sh.lo coff-sparc.lo coff-stgo32.lo coff-svm68k.lo coff-tic30.lo coff-tic4x.lo coff-tic54x.lo coff-tic80.lo coff-u68k.lo coff-we32k.lo coff-w65.lo coff-z80.lo coff-z8k.lo cofflink.lo dwarf1.lo ecoff.lo ecofflink.lo efi-app-ia32.lo elf.lo elf32-am33lin.lo elf32-arc.lo elf32-arm.lo elf32-avr.lo elf32-bfin.lo elf32-cr16c.lo elf32-cris.lo elf32-crx.lo elf32-d10v.lo elf32-d30v.lo elf32-dlx.lo elf32-fr30.lo elf32-frv.lo elf32-gen.lo elf32-h8300.lo elf32-hppa.lo elf32-i370.lo elf32-i386.lo elf32-i860.lo elf32-i960.lo elf32-ip2k.lo elf32-iq2000.lo elf32-m32c.lo elf32-m32r.lo elf32-m68hc11.lo elf32-m68hc12.lo elf32-m68hc1x.lo elf32-m68k.lo elf32-m88k.lo elf-m10200.lo elf-m10300.lo elf32-mcore.lo elfxx-mips.lo elf32-mips.lo elf32-mt.lo elf32-msp430.lo elf32-openrisc.lo elf32-or32.lo elf32-pj.lo elf32-ppc.lo elf32-s390.lo elf32-sh.lo elf32-sh-symbian.lo elf32-sh64.lo elf32-sh64-com.lo elfxx-sparc.lo elf32-sparc.lo elf32-v850.lo elf32-vax.lo elf32-xstormy16.lo elf32-xtensa.lo elf32-xc16x.lo elf32.lo elflink.lo elf-strtab.lo elf-eh-frame.lo elf-vxworks.lo epoc-pe-arm.lo epoc-pei-arm.lo hp300bsd.lo hp300hpux.lo som.lo i386aout.lo i386bsd.lo i386dynix.lo i386freebsd.lo i386linux.lo i386lynx.lo i386msdos.lo i386netbsd.lo i386mach3.lo i386os9k.lo ieee.lo m68k4knetbsd.lo m68klinux.lo m68knetbsd.lo m88kmach3.lo m88kopenbsd.lo mach-o.lo mipsbsd.lo newsos3.lo nlm.lo nlm32-i386.lo nlm32-sparc.lo nlm32-ppc.lo nlm32.lo ns32knetbsd.lo oasys.lo pc532-mach.lo pdp11.lo pef.lo pe-arm.lo pei-arm.lo pe-i386.lo pei-i386.lo pe-mcore.lo pei-mcore.lo pe-ppc.lo pei-ppc.lo pe-sh.lo pei-sh.lo pe-mips.lo pei-mips.lo peigen.lo ppcboot.lo reloc16.lo riscix.lo sparclinux.lo sparclynx.lo sparcnetbsd.lo sunos.lo vaxnetbsd.lo vax1knetbsd.lo vaxbsd.lo versados.lo vms.lo vms-gsd.lo vms-hdr.lo vms-misc.lo vms-tir.lo xcofflink.lo xsym.lo xtensa-isa.lo xtensa-modules.lo cpu-i386.lo cpu-alpha.lo cpu-arc.lo cpu-arm.lo cpu-avr.lo cpu-bfin.lo cpu-cr16c.lo cpu-cris.lo cpu-crx.lo cpu-d10v.lo cpu-d30v.lo cpu-dlx.lo cpu-fr30.lo cpu-frv.lo cpu-h8300.lo cpu-h8500.lo cpu-hppa.lo cpu-ia64.lo cpu-i370.lo cpu-i386.lo cpu-i860.lo cpu-i960.lo cpu-ip2k.lo cpu-iq2000.lo cpu-m32c.lo cpu-m32r.lo cpu-m68hc11.lo cpu-m68hc12.lo cpu-m68k.lo cpu-m88k.lo cpu-m10200.lo cpu-m10300.lo cpu-maxq.lo cpu-mcore.lo cpu-mips.lo cpu-mmix.lo cpu-mt.lo cpu-msp430.lo cpu-or32.lo cpu-ns32k.lo cpu-openrisc.lo cpu-pdp11.lo cpu-pj.lo cpu-powerpc.lo cpu-rs6000.lo cpu-s390.lo cpu-sh.lo cpu-sparc.lo cpu-tic30.lo cpu-tic4x.lo cpu-tic54x.lo cpu-tic80.lo cpu-v850.lo cpu-vax.lo cpu-we32k.lo cpu-w65.lo cpu-xstormy16.lo cpu-xtensa.lo cpu-xc16x.lo cpu-z80.lo cpu-z8k.lo ; do case " $f " in *" $i "*) ;; *) f="$f $i" ;; esac ; done ; echo $f > tofiles /usr/bin/bash .././bfd/../move-if-change tofiles ofiles touch stamp-ofiles rm -f bfd-tmp.h cp bfd-in3.h bfd-tmp.h /usr/bin/bash .././bfd/../move-if-change bfd-tmp.h bfd.h rm -f bfd-tmp.h touch stmp-bfd-h /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o archive.lo archive.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c archive.c -o archive.o archive.c: In function 'bfd_generic_archive_p': archive.c:669:16: warning: variable 'fail' set but not used [-Wunused-but-set-variable] 669 | bfd_boolean fail; | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -DDEFAULT_VECTOR=bfd_elf32_i386_vec -DASSOCIATED_VECS='&bfd_elf32_i386_vec,&i386linux_vec,&bfd_efi_app_ia32_vec,&bfd_elf64_x86_64_vec,&bfd_elf64_little_generic_vec,&bfd_elf64_big_generic_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec' .././bfd/archures.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -DDEFAULT_VECTOR=bfd_elf32_i386_vec "-DASSOCIATED_VECS=&bfd_elf32_i386_vec,&i386linux_vec,&bfd_efi_app_ia32_vec,&bfd_elf64_x86_64_vec,&bfd_elf64_little_generic_vec,&bfd_elf64_big_generic_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec" .././bfd/archures.c -o archures.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o bfd.lo bfd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c bfd.c -o bfd.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o bfdio.lo bfdio.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c bfdio.c -o bfdio.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o bfdwin.lo bfdwin.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c bfdwin.c -o bfdwin.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cache.lo cache.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cache.c -o cache.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coffgen.lo coffgen.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coffgen.c -o coffgen.o coffgen.c: In function 'coff_print_symbol': coffgen.c:1929:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 1929 | if (combined->u.syment.n_type == T_NULL) | ^ coffgen.c:1946:3: note: here 1946 | case C_EXT: | ^~~~ coffgen.c:1947:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 1947 | if (ISFCN (combined->u.syment.n_type)) | ^ coffgen.c:1964:3: note: here 1964 | default: | ^~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o corefile.lo corefile.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c corefile.c -o corefile.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o format.lo format.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c format.c -o format.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o init.lo init.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c init.c -o init.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o libbfd.lo libbfd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c libbfd.c -o libbfd.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o opncls.lo opncls.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c opncls.c -o opncls.o In file included from opncls.c:24: opncls.c: In function 'bfd_fopen': bfd.h:535:65: warning: right-hand operand of comma expression has no effect [-Wunused-value] 535 | #define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ opncls.c:210:5: note: in expansion of macro 'bfd_set_cacheable' 210 | bfd_set_cacheable (nbfd, TRUE); | ^~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o reloc.lo reloc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c reloc.c -o reloc.o In file included from reloc.c:53: reloc.c: In function 'bfd_default_reloc_type_lookup': libbfd.h:647:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 647 | do { bfd_assert(__FILE__,__LINE__); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reloc.c:4718:4: note: in expansion of macro 'BFD_FAIL' 4718 | BFD_FAIL (); | ^~~~~~~~ reloc.c:4719:2: note: here 4719 | case 32: | ^~~~ In file included from reloc.c:53: libbfd.h:647:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 647 | do { bfd_assert(__FILE__,__LINE__); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reloc.c:4722:4: note: in expansion of macro 'BFD_FAIL' 4722 | BFD_FAIL (); | ^~~~~~~~ reloc.c:4723:2: note: here 4723 | default: | ^~~~~~~ In file included from reloc.c:53: libbfd.h:647:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 647 | do { bfd_assert(__FILE__,__LINE__); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reloc.c:4724:4: note: in expansion of macro 'BFD_FAIL' 4724 | BFD_FAIL (); | ^~~~~~~~ reloc.c:4726:5: note: here 4726 | default: | ^~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o section.lo section.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c section.c -o section.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o syms.lo syms.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c syms.c -o syms.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -DDEFAULT_VECTOR=bfd_elf32_i386_vec -DASSOCIATED_VECS='&bfd_elf32_i386_vec,&i386linux_vec,&bfd_efi_app_ia32_vec,&bfd_elf64_x86_64_vec,&bfd_elf64_little_generic_vec,&bfd_elf64_big_generic_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec' .././bfd/targets.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -DDEFAULT_VECTOR=bfd_elf32_i386_vec "-DASSOCIATED_VECS=&bfd_elf32_i386_vec,&i386linux_vec,&bfd_efi_app_ia32_vec,&bfd_elf64_x86_64_vec,&bfd_elf64_little_generic_vec,&bfd_elf64_big_generic_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec" .././bfd/targets.c -o targets.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o hash.lo hash.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c hash.c -o hash.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o linker.lo linker.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c linker.c -o linker.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o srec.lo srec.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c srec.c -o srec.o In file included from srec.c:106: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ srec.c:1186:51: note: in expansion of macro '_bfd_generic_new_section_hook' 1186 | #define srec_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'srec_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ srec.c:1254:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 1254 | BFD_JUMP_TABLE_GENERIC (srec), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ srec.c:1255:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1255 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ srec.c:1255:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1255 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ srec.c:1255:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1255 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ srec.c:1255:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1255 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ srec.c:1255:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1255 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ srec.c:1255:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1255 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ srec.c:1255:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1255 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ srec.c:1257:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1257 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ srec.c:1257:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1257 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ srec.c:1257:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1257 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ srec.c:1257:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1257 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ srec.c:1257:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1257 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ srec.c:1187:52: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 1187 | #define srec_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'srec_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ srec.c:1258:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1258 | BFD_JUMP_TABLE_SYMBOLS (srec), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from srec.c:106: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ srec.c:1189:51: note: in expansion of macro '_bfd_nosymbols_get_lineno' 1189 | #define srec_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'srec_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ srec.c:1258:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1258 | BFD_JUMP_TABLE_SYMBOLS (srec), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ srec.c:1190:51: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 1190 | #define srec_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'srec_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ srec.c:1258:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1258 | BFD_JUMP_TABLE_SYMBOLS (srec), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ srec.c:1191:51: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 1191 | #define srec_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'srec_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ srec.c:1258:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1258 | BFD_JUMP_TABLE_SYMBOLS (srec), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ srec.c:1193:51: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 1193 | #define srec_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'srec_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ srec.c:1258:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1258 | BFD_JUMP_TABLE_SYMBOLS (srec), | ^~~~~~~~~~~~~~~~~~~~~~ srec.c:1196:52: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 1196 | #define srec_get_reloc_upper_bound ((long (*) (bfd *, asection *)) bfd_0l) | ^ bfd.h:4987:3: note: in expansion of macro 'srec_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ srec.c:1259:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1259 | BFD_JUMP_TABLE_RELOCS (srec), | ^~~~~~~~~~~~~~~~~~~~~ srec.c:1197:52: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 1197 | #define srec_canonicalize_reloc ((long (*) (bfd *, asection *, arelent **, asymbol **)) bfd_0l) | ^ bfd.h:4988:3: note: in expansion of macro 'srec_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ srec.c:1259:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1259 | BFD_JUMP_TABLE_RELOCS (srec), | ^~~~~~~~~~~~~~~~~~~~~ In file included from srec.c:106: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ srec.c:1198:51: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 1198 | #define srec_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'srec_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ srec.c:1259:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1259 | BFD_JUMP_TABLE_RELOCS (srec), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ srec.c:1262:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1262 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ srec.c:1262:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1262 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ srec.c:1262:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1262 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ srec.c:1186:51: note: in expansion of macro '_bfd_generic_new_section_hook' 1186 | #define srec_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'srec_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ srec.c:1309:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 1309 | BFD_JUMP_TABLE_GENERIC (srec), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ srec.c:1310:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1310 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ srec.c:1310:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1310 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ srec.c:1310:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1310 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ srec.c:1310:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1310 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ srec.c:1310:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1310 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ srec.c:1310:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1310 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ srec.c:1310:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1310 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ srec.c:1312:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1312 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ srec.c:1312:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1312 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ srec.c:1312:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1312 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ srec.c:1312:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1312 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ srec.c:1312:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1312 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ srec.c:1187:52: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 1187 | #define srec_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'srec_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ srec.c:1313:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1313 | BFD_JUMP_TABLE_SYMBOLS (srec), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from srec.c:106: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ srec.c:1189:51: note: in expansion of macro '_bfd_nosymbols_get_lineno' 1189 | #define srec_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'srec_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ srec.c:1313:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1313 | BFD_JUMP_TABLE_SYMBOLS (srec), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ srec.c:1190:51: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 1190 | #define srec_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'srec_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ srec.c:1313:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1313 | BFD_JUMP_TABLE_SYMBOLS (srec), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ srec.c:1191:51: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 1191 | #define srec_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'srec_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ srec.c:1313:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1313 | BFD_JUMP_TABLE_SYMBOLS (srec), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ srec.c:1193:51: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 1193 | #define srec_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'srec_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ srec.c:1313:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1313 | BFD_JUMP_TABLE_SYMBOLS (srec), | ^~~~~~~~~~~~~~~~~~~~~~ srec.c:1196:52: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 1196 | #define srec_get_reloc_upper_bound ((long (*) (bfd *, asection *)) bfd_0l) | ^ bfd.h:4987:3: note: in expansion of macro 'srec_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ srec.c:1314:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1314 | BFD_JUMP_TABLE_RELOCS (srec), | ^~~~~~~~~~~~~~~~~~~~~ srec.c:1197:52: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 1197 | #define srec_canonicalize_reloc ((long (*) (bfd *, asection *, arelent **, asymbol **)) bfd_0l) | ^ bfd.h:4988:3: note: in expansion of macro 'srec_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ srec.c:1314:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1314 | BFD_JUMP_TABLE_RELOCS (srec), | ^~~~~~~~~~~~~~~~~~~~~ In file included from srec.c:106: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ srec.c:1198:51: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 1198 | #define srec_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'srec_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ srec.c:1314:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1314 | BFD_JUMP_TABLE_RELOCS (srec), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ srec.c:1317:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1317 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ srec.c:1317:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1317 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ srec.c:1317:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1317 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ srec.c: In function 'srec_write_record': srec.c:907:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 907 | dst += 2; | ~~~~^~~~ srec.c:908:5: note: here 908 | case 8: | ^~~~ srec.c:911:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 911 | dst += 2; | ~~~~^~~~ srec.c:912:5: note: here 912 | case 9: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o binary.lo binary.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c binary.c -o binary.o In file included from binary.c:38: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ binary.c:106:38: note: in expansion of macro '_bfd_generic_new_section_hook' 106 | #define binary_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'binary_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ binary.c:365:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 365 | BFD_JUMP_TABLE_GENERIC (binary), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ binary.c:366:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 366 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ binary.c:366:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 366 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ binary.c:366:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 366 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ binary.c:366:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 366 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ binary.c:366:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 366 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ binary.c:366:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 366 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ binary.c:366:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 366 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ binary.c:368:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 368 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ binary.c:368:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 368 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ binary.c:368:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 368 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ binary.c:368:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 368 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ binary.c:368:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 368 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:327:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, void *, asymbol *, bfd_print_symbol_type)' {aka 'void (*)(bfd *, void *, struct bfd_symbol *, enum bfd_print_symbol)'} [-Wcast-function-type] 327 | ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void) | ^ binary.c:204:35: note: in expansion of macro '_bfd_nosymbols_print_symbol' 204 | #define binary_print_symbol _bfd_nosymbols_print_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4937:3: note: in expansion of macro 'binary_print_symbol' 4937 | NAME##_print_symbol, \ | ^~~~ binary.c:369:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 369 | BFD_JUMP_TABLE_SYMBOLS (binary), | ^~~~~~~~~~~~~~~~~~~~~~ binary.c:226:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 226 | #define binary_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'binary_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ binary.c:369:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 369 | BFD_JUMP_TABLE_SYMBOLS (binary), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from binary.c:38: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ binary.c:217:44: note: in expansion of macro '_bfd_nosymbols_get_lineno' 217 | #define binary_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'binary_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ binary.c:369:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 369 | BFD_JUMP_TABLE_SYMBOLS (binary), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ binary.c:218:44: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 218 | #define binary_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'binary_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ binary.c:369:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 369 | BFD_JUMP_TABLE_SYMBOLS (binary), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ binary.c:219:44: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 219 | #define binary_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'binary_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ binary.c:369:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 369 | BFD_JUMP_TABLE_SYMBOLS (binary), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ binary.c:220:44: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 220 | #define binary_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'binary_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ binary.c:369:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 369 | BFD_JUMP_TABLE_SYMBOLS (binary), | ^~~~~~~~~~~~~~~~~~~~~~ binary.c:224:46: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | #define binary_get_reloc_upper_bound ((long (*) (bfd *, asection *)) bfd_0l) | ^ bfd.h:4987:3: note: in expansion of macro 'binary_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ binary.c:370:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 370 | BFD_JUMP_TABLE_RELOCS (binary), | ^~~~~~~~~~~~~~~~~~~~~ binary.c:225:46: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 225 | #define binary_canonicalize_reloc ((long (*) (bfd *, asection *, arelent **, asymbol **)) bfd_0l) | ^ bfd.h:4988:3: note: in expansion of macro 'binary_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ binary.c:370:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 370 | BFD_JUMP_TABLE_RELOCS (binary), | ^~~~~~~~~~~~~~~~~~~~~ In file included from binary.c:38: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ binary.c:223:44: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 223 | #define binary_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'binary_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ binary.c:370:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 370 | BFD_JUMP_TABLE_RELOCS (binary), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ binary.c:373:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 373 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ binary.c:373:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 373 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ binary.c:373:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 373 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o tekhex.lo tekhex.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c tekhex.c -o tekhex.o tekhex.c: In function 'tekhex_write_object_contents': tekhex.c:754:7: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 754 | int bytes_written; | ^~~~~~~~~~~~~ In file included from tekhex.c:70: tekhex.c: At top level: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ tekhex.c:927:53: note: in expansion of macro '_bfd_generic_new_section_hook' 927 | #define tekhex_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'tekhex_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ tekhex.c:991:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 991 | BFD_JUMP_TABLE_GENERIC (tekhex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ tekhex.c:992:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 992 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ tekhex.c:992:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 992 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ tekhex.c:992:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 992 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ tekhex.c:992:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 992 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ tekhex.c:992:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 992 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ tekhex.c:992:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 992 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ tekhex.c:992:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 992 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ tekhex.c:994:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 994 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ tekhex.c:994:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 994 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ tekhex.c:994:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 994 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ tekhex.c:994:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 994 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ tekhex.c:994:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 994 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ tekhex.c:928:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 928 | #define tekhex_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'tekhex_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ tekhex.c:995:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 995 | BFD_JUMP_TABLE_SYMBOLS (tekhex), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from tekhex.c:70: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ tekhex.c:930:53: note: in expansion of macro '_bfd_nosymbols_get_lineno' 930 | #define tekhex_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'tekhex_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ tekhex.c:995:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 995 | BFD_JUMP_TABLE_SYMBOLS (tekhex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ tekhex.c:931:53: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 931 | #define tekhex_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'tekhex_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ tekhex.c:995:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 995 | BFD_JUMP_TABLE_SYMBOLS (tekhex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ tekhex.c:932:53: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 932 | #define tekhex_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'tekhex_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ tekhex.c:995:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 995 | BFD_JUMP_TABLE_SYMBOLS (tekhex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ tekhex.c:933:53: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 933 | #define tekhex_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'tekhex_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ tekhex.c:995:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 995 | BFD_JUMP_TABLE_SYMBOLS (tekhex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:355:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 355 | ((long (*) (bfd *, asection *)) _bfd_n1) | ^ bfd.h:4987:3: note: in expansion of macro '_bfd_norelocs_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ tekhex.c:996:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 996 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:357:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 357 | ((long (*) (bfd *, asection *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:4988:3: note: in expansion of macro '_bfd_norelocs_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ tekhex.c:996:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 996 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ bfd.h:4989:3: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ tekhex.c:996:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 996 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ tekhex.c:999:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 999 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ tekhex.c:999:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 999 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ tekhex.c:999:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 999 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ tekhex.c: In function 'first_phase': tekhex.c:438:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 438 | new->symbol.value = val - section->vma; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ tekhex.c:440:6: note: here 440 | default: | ^~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o ihex.lo ihex.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c ihex.c -o ihex.o ihex.c: In function 'ihex_read_section': ihex.c:556:15: warning: variable 'addr' set but not used [-Wunused-but-set-variable] 556 | bfd_vma addr; | ^~~~ In file included from ihex.c:123: ihex.c: At top level: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ ihex.c:912:51: note: in expansion of macro '_bfd_generic_new_section_hook' 912 | #define ihex_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'ihex_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ ihex.c:983:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 983 | BFD_JUMP_TABLE_GENERIC (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ ihex.c:984:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 984 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ ihex.c:984:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 984 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ ihex.c:984:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 984 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ ihex.c:984:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 984 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ ihex.c:984:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 984 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ ihex.c:984:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 984 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ ihex.c:984:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 984 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ ihex.c:986:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 986 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ ihex.c:986:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 986 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ ihex.c:986:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 986 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ ihex.c:986:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 986 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ ihex.c:986:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 986 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ ihex.c:915:52: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 915 | #define ihex_canonicalize_symtab ((long (*) (bfd *, asymbol **)) bfd_0l) | ^ bfd.h:4935:3: note: in expansion of macro 'ihex_canonicalize_symtab' 4935 | NAME##_canonicalize_symtab, \ | ^~~~ ihex.c:987:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 987 | BFD_JUMP_TABLE_SYMBOLS (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ihex.c:123: libbfd.h:327:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, void *, asymbol *, bfd_print_symbol_type)' {aka 'void (*)(bfd *, void *, struct bfd_symbol *, enum bfd_print_symbol)'} [-Wcast-function-type] 327 | ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void) | ^ ihex.c:917:51: note: in expansion of macro '_bfd_nosymbols_print_symbol' 917 | #define ihex_print_symbol _bfd_nosymbols_print_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4937:3: note: in expansion of macro 'ihex_print_symbol' 4937 | NAME##_print_symbol, \ | ^~~~ ihex.c:987:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 987 | BFD_JUMP_TABLE_SYMBOLS (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:329:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asymbol *, symbol_info *)' {aka 'void (*)(bfd *, struct bfd_symbol *, struct _symbol_info *)'} [-Wcast-function-type] 329 | ((void (*) (bfd *, asymbol *, symbol_info *)) bfd_void) | ^ ihex.c:918:51: note: in expansion of macro '_bfd_nosymbols_get_symbol_info' 918 | #define ihex_get_symbol_info _bfd_nosymbols_get_symbol_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4938:3: note: in expansion of macro 'ihex_get_symbol_info' 4938 | NAME##_get_symbol_info, \ | ^~~~ ihex.c:987:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 987 | BFD_JUMP_TABLE_SYMBOLS (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:331:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char *)' {aka 'int (*)(bfd *, const char *)'} [-Wcast-function-type] 331 | ((bfd_boolean (*) (bfd *, const char *)) bfd_false) | ^ ihex.c:920:51: note: in expansion of macro '_bfd_nosymbols_bfd_is_local_label_name' 920 | #define ihex_bfd_is_local_label_name _bfd_nosymbols_bfd_is_local_label_name | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4939:3: note: in expansion of macro 'ihex_bfd_is_local_label_name' 4939 | NAME##_bfd_is_local_label_name, \ | ^~~~ ihex.c:987:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 987 | BFD_JUMP_TABLE_SYMBOLS (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ ihex.c:919:52: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 919 | #define ihex_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'ihex_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ ihex.c:987:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 987 | BFD_JUMP_TABLE_SYMBOLS (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ihex.c:123: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ ihex.c:921:51: note: in expansion of macro '_bfd_nosymbols_get_lineno' 921 | #define ihex_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'ihex_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ ihex.c:987:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 987 | BFD_JUMP_TABLE_SYMBOLS (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ ihex.c:922:51: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 922 | #define ihex_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'ihex_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ ihex.c:987:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 987 | BFD_JUMP_TABLE_SYMBOLS (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ ihex.c:923:51: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 923 | #define ihex_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'ihex_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ ihex.c:987:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 987 | BFD_JUMP_TABLE_SYMBOLS (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ ihex.c:924:51: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 924 | #define ihex_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'ihex_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ ihex.c:987:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 987 | BFD_JUMP_TABLE_SYMBOLS (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:346:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, bfd_boolean, void **, unsigned int *)' {aka 'long int (*)(bfd *, int, void **, unsigned int *)'} [-Wcast-function-type] 346 | ((long (*) (bfd *, bfd_boolean, void **, unsigned int *)) _bfd_n1) | ^ ihex.c:925:51: note: in expansion of macro '_bfd_nosymbols_read_minisymbols' 925 | #define ihex_read_minisymbols _bfd_nosymbols_read_minisymbols | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4946:3: note: in expansion of macro 'ihex_read_minisymbols' 4946 | NAME##_read_minisymbols, \ | ^~~~ ihex.c:987:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 987 | BFD_JUMP_TABLE_SYMBOLS (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:348:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, bfd_boolean, const void *, asymbol *)' {aka 'struct bfd_symbol * (*)(bfd *, int, const void *, struct bfd_symbol *)'} [-Wcast-function-type] 348 | ((asymbol *(*) (bfd *, bfd_boolean, const void *, asymbol *)) \ | ^ ihex.c:926:51: note: in expansion of macro '_bfd_nosymbols_minisymbol_to_symbol' 926 | #define ihex_minisymbol_to_symbol _bfd_nosymbols_minisymbol_to_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4947:3: note: in expansion of macro 'ihex_minisymbol_to_symbol' 4947 | NAME##_minisymbol_to_symbol | ^~~~ ihex.c:987:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 987 | BFD_JUMP_TABLE_SYMBOLS (ihex), | ^~~~~~~~~~~~~~~~~~~~~~ ihex.c:927:52: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 927 | #define ihex_get_reloc_upper_bound ((long (*) (bfd *, asection *)) bfd_0l) | ^ bfd.h:4987:3: note: in expansion of macro 'ihex_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ ihex.c:988:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 988 | BFD_JUMP_TABLE_RELOCS (ihex), | ^~~~~~~~~~~~~~~~~~~~~ ihex.c:928:52: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 928 | #define ihex_canonicalize_reloc ((long (*) (bfd *, asection *, arelent **, asymbol **)) bfd_0l) | ^ bfd.h:4988:3: note: in expansion of macro 'ihex_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ ihex.c:988:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 988 | BFD_JUMP_TABLE_RELOCS (ihex), | ^~~~~~~~~~~~~~~~~~~~~ In file included from ihex.c:123: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ ihex.c:929:51: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 929 | #define ihex_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'ihex_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ ihex.c:988:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 988 | BFD_JUMP_TABLE_RELOCS (ihex), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ ihex.c:991:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 991 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ ihex.c:991:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 991 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ ihex.c:991:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 991 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o stabs.lo stabs.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c stabs.c -o stabs.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o stab-syms.lo stab-syms.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c stab-syms.c -o stab-syms.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o merge.lo merge.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c merge.c -o merge.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o dwarf2.lo dwarf2.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c dwarf2.c -o dwarf2.o dwarf2.c: In function 'decode_line_info': dwarf2.c:1120:11: warning: variable 'basic_block' set but not used [-Wunused-but-set-variable] 1120 | int basic_block = 0; | ^~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o simple.lo simple.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c simple.c -o simple.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o archive64.lo archive64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c archive64.c -o archive64.o archive64.c: In function 'bfd_elf64_archive_slurp_armap': archive64.c:45:12: warning: variable 'arhdrpos' set but not used [-Wunused-but-set-variable] 45 | file_ptr arhdrpos; | ^~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-alpha.lo cpu-alpha.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-alpha.c -o cpu-alpha.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-arc.lo cpu-arc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-arc.c -o cpu-arc.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-arm.lo cpu-arm.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-arm.c -o cpu-arm.o cpu-arm.c: In function 'arm_check_note': cpu-arm.c:224:17: warning: variable 'type' set but not used [-Wunused-but-set-variable] 224 | unsigned long type; | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-avr.lo cpu-avr.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-avr.c -o cpu-avr.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-bfin.lo cpu-bfin.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-bfin.c -o cpu-bfin.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-cr16c.lo cpu-cr16c.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-cr16c.c -o cpu-cr16c.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-cris.lo cpu-cris.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-cris.c -o cpu-cris.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-crx.lo cpu-crx.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-crx.c -o cpu-crx.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-d10v.lo cpu-d10v.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-d10v.c -o cpu-d10v.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-d30v.lo cpu-d30v.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-d30v.c -o cpu-d30v.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-dlx.lo cpu-dlx.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-dlx.c -o cpu-dlx.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-fr30.lo cpu-fr30.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-fr30.c -o cpu-fr30.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-frv.lo cpu-frv.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-frv.c -o cpu-frv.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-h8300.lo cpu-h8300.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-h8300.c -o cpu-h8300.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-h8500.lo cpu-h8500.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-h8500.c -o cpu-h8500.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-hppa.lo cpu-hppa.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-hppa.c -o cpu-hppa.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-ia64.lo cpu-ia64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-ia64.c -o cpu-ia64.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-i370.lo cpu-i370.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-i370.c -o cpu-i370.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-i386.lo cpu-i386.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-i386.c -o cpu-i386.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-i860.lo cpu-i860.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-i860.c -o cpu-i860.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-i960.lo cpu-i960.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-i960.c -o cpu-i960.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-ip2k.lo cpu-ip2k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-ip2k.c -o cpu-ip2k.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-iq2000.lo cpu-iq2000.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-iq2000.c -o cpu-iq2000.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-m32c.lo cpu-m32c.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-m32c.c -o cpu-m32c.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-m32r.lo cpu-m32r.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-m32r.c -o cpu-m32r.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-m68hc11.lo cpu-m68hc11.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-m68hc11.c -o cpu-m68hc11.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-m68hc12.lo cpu-m68hc12.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-m68hc12.c -o cpu-m68hc12.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-m68k.lo cpu-m68k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-m68k.c -o cpu-m68k.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-m88k.lo cpu-m88k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-m88k.c -o cpu-m88k.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-m10200.lo cpu-m10200.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-m10200.c -o cpu-m10200.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-m10300.lo cpu-m10300.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-m10300.c -o cpu-m10300.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-maxq.lo cpu-maxq.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-maxq.c -o cpu-maxq.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-mcore.lo cpu-mcore.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-mcore.c -o cpu-mcore.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-mips.lo cpu-mips.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-mips.c -o cpu-mips.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-mmix.lo cpu-mmix.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-mmix.c -o cpu-mmix.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-mt.lo cpu-mt.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-mt.c -o cpu-mt.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-msp430.lo cpu-msp430.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-msp430.c -o cpu-msp430.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-or32.lo cpu-or32.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-or32.c -o cpu-or32.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-ns32k.lo cpu-ns32k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-ns32k.c -o cpu-ns32k.o cpu-ns32k.c: In function '_bfd_ns32k_get_immediate': cpu-ns32k.c:120:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 120 | value = (value << 8) | (*buffer++ & 0xff); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpu-ns32k.c:121:5: note: here 121 | case 2: | ^~~~ cpu-ns32k.c:122:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 122 | value = (value << 8) | (*buffer++ & 0xff); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpu-ns32k.c:123:5: note: here 123 | case 1: | ^~~~ cpu-ns32k.c: In function '_bfd_ns32k_put_immediate': cpu-ns32k.c:143:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 143 | *buffer-- = (value & 0xff); value >>= 8; | ~~~~~~^~~~~ cpu-ns32k.c:144:5: note: here 144 | case 2: | ^~~~ cpu-ns32k.c:145:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 145 | *buffer-- = (value & 0xff); value >>= 8; | ~~~~~~^~~~~ cpu-ns32k.c:146:5: note: here 146 | case 1: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-openrisc.lo cpu-openrisc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-openrisc.c -o cpu-openrisc.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-pdp11.lo cpu-pdp11.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-pdp11.c -o cpu-pdp11.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-pj.lo cpu-pj.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-pj.c -o cpu-pj.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-powerpc.lo cpu-powerpc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-powerpc.c -o cpu-powerpc.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-rs6000.lo cpu-rs6000.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-rs6000.c -o cpu-rs6000.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-s390.lo cpu-s390.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-s390.c -o cpu-s390.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-sh.lo cpu-sh.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-sh.c -o cpu-sh.o In file included from cpu-sh.c:25: cpu-sh.c: In function 'sh_get_bfd_mach_from_arch_set': ../opcodes/sh-opc.h:205:51: warning: left shift of negative value [-Wshift-negative-value] 205 | : (((1 << (HI + 1)) - 1) & (-1 << LO))) | ^~ ../opcodes/sh-opc.h:226:28: note: in expansion of macro 'MASK' 226 | #define arch_sh_mmu_mask MASK (26, 27) | ^~~~ ../opcodes/sh-opc.h:258:47: note: in expansion of macro 'arch_sh_mmu_mask' 258 | #define SH_VALID_MMU_ARCH_SET(SET) (((SET) & arch_sh_mmu_mask) != 0) | ^~~~~~~~~~~~~~~~ ../opcodes/sh-opc.h:262:7: note: in expansion of macro 'SH_VALID_MMU_ARCH_SET' 262 | && SH_VALID_MMU_ARCH_SET (SET) \ | ^~~~~~~~~~~~~~~~~~~~~ ../opcodes/sh-opc.h:265:3: note: in expansion of macro 'SH_VALID_ARCH_SET' 265 | SH_VALID_ARCH_SET (SH_MERGE_ARCH_SET (SET1, SET2)) | ^~~~~~~~~~~~~~~~~ cpu-sh.c:463:7: note: in expansion of macro 'SH_MERGE_ARCH_SET_VALID' 463 | && SH_MERGE_ARCH_SET_VALID (try, arch_set)) | ^~~~~~~~~~~~~~~~~~~~~~~ ../opcodes/sh-opc.h:203:26: warning: left shift of negative value [-Wshift-negative-value] 203 | : HI > 30 ? (-1 << LO) \ | ^~ ../opcodes/sh-opc.h:232:28: note: in expansion of macro 'MASK' 232 | #define arch_sh_co_mask MASK (28, 31) | ^~~~ ../opcodes/sh-opc.h:259:47: note: in expansion of macro 'arch_sh_co_mask' 259 | #define SH_VALID_CO_ARCH_SET(SET) (((SET) & arch_sh_co_mask) != 0) | ^~~~~~~~~~~~~~~ ../opcodes/sh-opc.h:263:7: note: in expansion of macro 'SH_VALID_CO_ARCH_SET' 263 | && SH_VALID_CO_ARCH_SET (SET)) | ^~~~~~~~~~~~~~~~~~~~ ../opcodes/sh-opc.h:265:3: note: in expansion of macro 'SH_VALID_ARCH_SET' 265 | SH_VALID_ARCH_SET (SH_MERGE_ARCH_SET (SET1, SET2)) | ^~~~~~~~~~~~~~~~~ cpu-sh.c:463:7: note: in expansion of macro 'SH_MERGE_ARCH_SET_VALID' 463 | && SH_MERGE_ARCH_SET_VALID (try, arch_set)) | ^~~~~~~~~~~~~~~~~~~~~~~ cpu-sh.c: In function 'sh_merge_bfd_arch': ../opcodes/sh-opc.h:203:26: warning: left shift of negative value [-Wshift-negative-value] 203 | : HI > 30 ? (-1 << LO) \ | ^~ ../opcodes/sh-opc.h:232:28: note: in expansion of macro 'MASK' 232 | #define arch_sh_co_mask MASK (28, 31) | ^~~~ ../opcodes/sh-opc.h:259:47: note: in expansion of macro 'arch_sh_co_mask' 259 | #define SH_VALID_CO_ARCH_SET(SET) (((SET) & arch_sh_co_mask) != 0) | ^~~~~~~~~~~~~~~ cpu-sh.c:500:8: note: in expansion of macro 'SH_VALID_CO_ARCH_SET' 500 | if (!SH_VALID_CO_ARCH_SET (merged_arch)) | ^~~~~~~~~~~~~~~~~~~~ ../opcodes/sh-opc.h:205:51: warning: left shift of negative value [-Wshift-negative-value] 205 | : (((1 << (HI + 1)) - 1) & (-1 << LO))) | ^~ ../opcodes/sh-opc.h:226:28: note: in expansion of macro 'MASK' 226 | #define arch_sh_mmu_mask MASK (26, 27) | ^~~~ ../opcodes/sh-opc.h:258:47: note: in expansion of macro 'arch_sh_mmu_mask' 258 | #define SH_VALID_MMU_ARCH_SET(SET) (((SET) & arch_sh_mmu_mask) != 0) | ^~~~~~~~~~~~~~~~ ../opcodes/sh-opc.h:262:7: note: in expansion of macro 'SH_VALID_MMU_ARCH_SET' 262 | && SH_VALID_MMU_ARCH_SET (SET) \ | ^~~~~~~~~~~~~~~~~~~~~ cpu-sh.c:510:13: note: in expansion of macro 'SH_VALID_ARCH_SET' 510 | else if (!SH_VALID_ARCH_SET (merged_arch)) | ^~~~~~~~~~~~~~~~~ ../opcodes/sh-opc.h:203:26: warning: left shift of negative value [-Wshift-negative-value] 203 | : HI > 30 ? (-1 << LO) \ | ^~ ../opcodes/sh-opc.h:232:28: note: in expansion of macro 'MASK' 232 | #define arch_sh_co_mask MASK (28, 31) | ^~~~ ../opcodes/sh-opc.h:259:47: note: in expansion of macro 'arch_sh_co_mask' 259 | #define SH_VALID_CO_ARCH_SET(SET) (((SET) & arch_sh_co_mask) != 0) | ^~~~~~~~~~~~~~~ ../opcodes/sh-opc.h:263:7: note: in expansion of macro 'SH_VALID_CO_ARCH_SET' 263 | && SH_VALID_CO_ARCH_SET (SET)) | ^~~~~~~~~~~~~~~~~~~~ cpu-sh.c:510:13: note: in expansion of macro 'SH_VALID_ARCH_SET' 510 | else if (!SH_VALID_ARCH_SET (merged_arch)) | ^~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-sparc.lo cpu-sparc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-sparc.c -o cpu-sparc.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-tic30.lo cpu-tic30.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-tic30.c -o cpu-tic30.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-tic4x.lo cpu-tic4x.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-tic4x.c -o cpu-tic4x.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-tic54x.lo cpu-tic54x.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-tic54x.c -o cpu-tic54x.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-tic80.lo cpu-tic80.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-tic80.c -o cpu-tic80.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-v850.lo cpu-v850.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-v850.c -o cpu-v850.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-vax.lo cpu-vax.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-vax.c -o cpu-vax.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-we32k.lo cpu-we32k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-we32k.c -o cpu-we32k.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-w65.lo cpu-w65.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-w65.c -o cpu-w65.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-xstormy16.lo cpu-xstormy16.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-xstormy16.c -o cpu-xstormy16.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-xtensa.lo cpu-xtensa.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-xtensa.c -o cpu-xtensa.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-xc16x.lo cpu-xc16x.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-xc16x.c -o cpu-xc16x.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-z80.lo cpu-z80.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-z80.c -o cpu-z80.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cpu-z8k.lo cpu-z8k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cpu-z8k.c -o cpu-z8k.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o aout-adobe.lo aout-adobe.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c aout-adobe.c -o aout-adobe.o In file included from aout-adobe.c:25: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-adobe.c:504:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 504 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-adobe.c:504:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 504 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ aout-adobe.c:504:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 504 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-adobe.c:504:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 504 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-adobe.c:504:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 504 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-adobe.c:504:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 504 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-adobe.c:504:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 504 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ In file included from aout-adobe.c:28: libaout.h:617:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 617 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'aout_32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-adobe.c:507:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 507 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aout-adobe.c:25: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ libaout.h:594:35: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 594 | #define aout_32_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'aout_32_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-adobe.c:507:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 507 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ aout-adobe.c:453:40: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 453 | #define aout_32_bfd_make_debug_symbol ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'aout_32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ aout-adobe.c:507:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 507 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ aout-adobe.c:454:40: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 454 | #define aout_32_bfd_reloc_type_lookup ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ bfd.h:4989:3: note: in expansion of macro 'aout_32_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ aout-adobe.c:508:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 508 | BFD_JUMP_TABLE_RELOCS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~ In file included from aout-adobe.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-adobe.c:511:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 511 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-adobe.c:511:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 511 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-adobe.c:511:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 511 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o aout-arm.lo aout-arm.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c aout-arm.c -o aout-arm.o In file included from aout-arm.c:327: aoutx.h: In function 'aout_link_input_bfd': aoutx.h:5167:17: warning: variable 'sym_count' set but not used [-Wunused-but-set-variable] 5167 | bfd_size_type sym_count; | ^~~~~~~~~ In file included from aoutx.h:127, from aout-arm.c:327: aout-arm.c: At top level: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-arm.c:477:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 477 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-arm.c:477:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 477 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-arm.c:477:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 477 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-arm.c:477:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 477 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-arm.c:477:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 477 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-arm.c:477:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 477 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from aout-arm.c:446: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-arm.c:480:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 480 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aoutx.h:127, from aout-arm.c:327: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-arm.c:480:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 480 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-arm.c:484:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 484 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-arm.c:484:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 484 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-arm.c:484:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 484 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-arm.c:518:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 518 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-arm.c:518:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 518 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-arm.c:518:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 518 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-arm.c:518:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 518 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-arm.c:518:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 518 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-arm.c:518:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 518 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from aout-arm.c:446: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-arm.c:521:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 521 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aoutx.h:127, from aout-arm.c:327: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-arm.c:521:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 521 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-arm.c:525:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 525 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-arm.c:525:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 525 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-arm.c:525:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 525 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aout-arm.c:327: aoutx.h: In function 'aout_link_write_other_symbol': aoutx.h:3568:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 3568 | val = 0; | ~~~~^~~ aoutx.h:3569:5: note: here 3569 | case bfd_link_hash_indirect: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o aout-cris.lo aout-cris.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c aout-cris.c -o aout-cris.o In file included from aout32.c:23, from aout-cris.c:115: aoutx.h: In function 'aout_link_input_bfd': aoutx.h:5167:17: warning: variable 'sym_count' set but not used [-Wunused-but-set-variable] 5167 | bfd_size_type sym_count; | ^~~~~~~~~ In file included from aoutx.h:127, from aout32.c:23, from aout-cris.c:115: aout-target.h: At top level: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from aout-cris.c:116: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aoutx.h:127, from aout32.c:23, from aout-cris.c:115: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aout32.c:23, from aout-cris.c:115: aoutx.h: In function 'aout_link_write_other_symbol': aoutx.h:3568:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 3568 | val = 0; | ~~~~^~~ aoutx.h:3569:5: note: here 3569 | case bfd_link_hash_indirect: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o aout-ns32k.lo aout-ns32k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c aout-ns32k.c -o aout-ns32k.o In file included from aout-ns32k.c:204: aoutx.h: In function 'aout_link_input_bfd': aoutx.h:5167:17: warning: variable 'sym_count' set but not used [-Wunused-but-set-variable] 5167 | bfd_size_type sym_count; | ^~~~~~~~~ aout-ns32k.c: In function 'ns32kaout_swap_std_reloc_out': aout-ns32k.c:277:16: warning: variable 'r_addend' set but not used [-Wunused-but-set-variable] 277 | unsigned int r_addend; | ^~~~~~~~ In file included from aout-ns32k.c:204: aoutx.h: In function 'aout_link_write_other_symbol': aoutx.h:3568:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 3568 | val = 0; | ~~~~^~~ aoutx.h:3569:5: note: here 3569 | case bfd_link_hash_indirect: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o aout-sparcle.lo aout-sparcle.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c aout-sparcle.c -o aout-sparcle.o In file included from aoutf1.h:25, from aout-sparcle.c:36: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from aoutf1.h:789, from aout-sparcle.c:36: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aoutf1.h:25, from aout-sparcle.c:36: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o aout-tic30.lo aout-tic30.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c aout-tic30.c -o aout-tic30.o In file included from aout-tic30.c:140: aoutx.h: In function 'aout_link_input_bfd': aoutx.h:5167:17: warning: variable 'sym_count' set but not used [-Wunused-but-set-variable] 5167 | bfd_size_type sym_count; | ^~~~~~~~~ In file included from aoutx.h:127, from aout-tic30.c:140: aout-tic30.c: At top level: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-tic30.c:965:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 965 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-tic30.c:1063:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1063 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-tic30.c:969:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 969 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-tic30.c:1063:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1063 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-tic30.c:973:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 973 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-tic30.c:1063:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1063 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-tic30.c:977:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 977 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-tic30.c:1063:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1063 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-tic30.c:985:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 985 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-tic30.c:1063:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1063 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-tic30.c:981:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 981 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-tic30.c:1063:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1063 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ aout-tic30.c:994:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 994 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-tic30.c:1066:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1066 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aoutx.h:127, from aout-tic30.c:140: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-tic30.c:908:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 908 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-tic30.c:1066:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1066 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-tic30.c:1011:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 1011 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-tic30.c:1070:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1070 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-tic30.c:1015:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 1015 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-tic30.c:1070:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1070 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-tic30.c:1023:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 1023 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-tic30.c:1070:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1070 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aout-tic30.c:140: aoutx.h: In function 'aout_link_write_other_symbol': aoutx.h:3568:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 3568 | val = 0; | ~~~~^~~ aoutx.h:3569:5: note: here 3569 | case bfd_link_hash_indirect: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o aout0.lo aout0.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c aout0.c -o aout0.o In file included from aoutf1.h:25, from aout0.c:37: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from aoutf1.h:789, from aout0.c:37: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aoutf1.h:25, from aout0.c:37: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o aout32.lo aout32.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c aout32.c -o aout32.o In file included from aout32.c:23: aoutx.h: In function 'aout_link_input_bfd': aoutx.h:5167:17: warning: variable 'sym_count' set but not used [-Wunused-but-set-variable] 5167 | bfd_size_type sym_count; | ^~~~~~~~~ aoutx.h: In function 'aout_link_write_other_symbol': aoutx.h:3568:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 3568 | val = 0; | ~~~~^~~ aoutx.h:3569:5: note: here 3569 | case bfd_link_hash_indirect: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o armnetbsd.lo armnetbsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c armnetbsd.c -o armnetbsd.o In file included from netbsd.h:55, from armnetbsd.c:39: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:71, from armnetbsd.c:39: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:55, from armnetbsd.c:39: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o bout.lo bout.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c bout.c -o bout.o bout.c: In function 'b_out_slurp_reloc_table': bout.c:772:14: warning: left shift of negative value [-Wshift-negative-value] 772 | s |= (~0) << 24; | ^~ bout.c: In function 'abs32code': bout.c:1057:10: warning: left shift of negative value [-Wshift-negative-value] 1057 | if (-1 << 23 < (long)gap && (long)gap < 1 << 23) | ^~ bout.c: In function 'aligncode': bout.c:1080:11: warning: variable 'gap' set but not used [-Wunused-but-set-variable] 1080 | bfd_vma gap; | ^~~ In file included from bout.c:25: bout.c: At top level: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ bout.c:1407:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1407 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ bout.c:1407:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1407 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ bout.c:1407:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1407 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ bout.c:1407:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1407 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ bout.c:1407:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1407 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ bout.c:1407:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1407 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ bout.c:1407:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1407 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ In file included from bout.c:32: libaout.h:617:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 617 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'aout_32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ bout.c:1410:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1410 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from bout.c:25: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ libaout.h:594:35: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 594 | #define aout_32_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'aout_32_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ bout.c:1410:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1410 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bout.c:1362:48: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 1362 | #define aout_32_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'aout_32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ bout.c:1410:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1410 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ bout.c:1414:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1414 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ bout.c:1414:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1414 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ bout.c:1414:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1414 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ bout.c:1449:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1449 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ bout.c:1449:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1449 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ bout.c:1449:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1449 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ bout.c:1449:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1449 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ bout.c:1449:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1449 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ bout.c:1449:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1449 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ bout.c:1449:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1449 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ In file included from bout.c:32: libaout.h:617:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 617 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'aout_32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ bout.c:1452:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1452 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from bout.c:25: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ libaout.h:594:35: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 594 | #define aout_32_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'aout_32_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ bout.c:1452:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1452 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bout.c:1362:48: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 1362 | #define aout_32_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'aout_32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ bout.c:1452:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1452 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ bout.c:1456:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1456 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ bout.c:1456:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1456 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ bout.c:1456:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1456 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cf-i386lynx.lo cf-i386lynx.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cf-i386lynx.c -o cf-i386lynx.o In file included from cf-i386lynx.c:21: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from cf-i386lynx.c:31: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from cf-i386lynx.c:31: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from cf-i386lynx.c:31: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-i386.c:662:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 662 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from cf-i386lynx.c:31: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cf-sparclynx.lo cf-sparclynx.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cf-sparclynx.c -o cf-sparclynx.o In file included from coff-sparc.c:22, from cf-sparclynx.c:28: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-sparc.c:190, from cf-sparclynx.c:28: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: In function 'coff_slurp_reloc_table': coffcode.h:4844:16: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 4844 | asymbol *ptr; | ^~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-sparc.c:24, from cf-sparclynx.c:28: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sparc.c:190, from cf-sparclynx.c:28: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sparc.c:24, from cf-sparclynx.c:28: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-apollo.lo coff-apollo.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-apollo.c -o coff-apollo.o In file included from coff-apollo.c:23: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-apollo.c:107: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-apollo.c:25: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-apollo.c:107: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-apollo.c:25: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ coffcode.h:5311:40: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 5311 | #define coff_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'coff_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ coffcode.h:5384:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 5384 | BFD_JUMP_TABLE_RELOCS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-apollo.c:120:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 120 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-arm.lo coff-arm.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-arm.c -o coff-arm.o In file included from coff-arm.c:23: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25: libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-aux.lo coff-aux.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-aux.c -o coff-aux.o In file included from coff-aux.c:40: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:524, from coff-aux.c:51: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:25, from coff-aux.c:51: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:524, from coff-aux.c:51: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:25, from coff-aux.c:51: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-h8300.lo coff-h8300.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-h8300.c -o coff-h8300.o In file included from coff-h8300.c:23: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-h8300.c:1431: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-h8300.c:25: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-h8300.c:1431: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-h8300.c:25: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ coffcode.h:5311:40: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 5311 | #define coff_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'coff_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ coffcode.h:5384:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 5384 | BFD_JUMP_TABLE_RELOCS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-h8300.c:1439:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 1439 | CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ coff-h8300.c: In function 'h8300_reloc16_estimate': coff-h8300.c:597:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 597 | if (value >= 0xffffff00u) | ^ coff-h8300.c:615:5: note: here 615 | case R_MOVL1: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-h8500.lo coff-h8500.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-h8500.c -o coff-h8500.o In file included from coff-h8500.c:23: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-h8500.c:300: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-h8500.c:25: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-h8500.c:300: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-h8500.c:25: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ coffcode.h:5311:40: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 5311 | #define coff_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'coff_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ coffcode.h:5384:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 5384 | BFD_JUMP_TABLE_RELOCS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-h8500.c:308:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 308 | CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-i386.lo coff-i386.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-i386.c -o coff-i386.o In file included from coff-i386.c:23: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-i386.c:662:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 662 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-go32.lo coff-go32.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-go32.c -o coff-go32.o In file included from coff-i386.c:23, from coff-go32.c:45: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from coff-go32.c:45: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from coff-go32.c:45: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from coff-go32.c:45: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-i386.c:662:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 662 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from coff-go32.c:45: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-i860.lo coff-i860.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-i860.c -o coff-i860.o coff-i860.c: In function 'i860_reloc_processing': coff-i860.c:578:16: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 578 | asymbol *ptr = NULL; | ^~~ In file included from coff-i860.c:23: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i860.c:627: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-i860.c:25: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-i860.c:676:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 676 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-i860.c:676:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 676 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-i860.c:676:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 676 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-i860.c:676:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 676 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-i860.c:676:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 676 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-i860.c:676:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 676 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-i860.c:676:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 676 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i860.c:627: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-i860.c:679:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 679 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-i860.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-i860.c:683:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 683 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-i860.c:683:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 683 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-i860.c:683:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 683 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-i960.lo coff-i960.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-i960.c -o coff-i960.o In file included from coff-i960.c:617: coffcode.h: In function 'coff_compute_section_file_positions': coffcode.h:2922:13: warning: variable 'previous' set but not used [-Wunused-but-set-variable] 2922 | asection *previous = NULL; | ^~~~~~~~ coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-i960.c:27: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-i960.c:621:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 621 | CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-i960.c:621:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 621 | CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-i960.c:621:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 621 | CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-i960.c:621:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 621 | CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-i960.c:621:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 621 | CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-i960.c:621:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 621 | CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-i960.c:621:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 621 | CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-i960.c:617: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-i960.c:621:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 621 | CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-i960.c:27: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-i960.c:621:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 621 | CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-i960.c:621:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 621 | CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-i960.c:621:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 621 | CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-i960.c:654:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-i960.c:654:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-i960.c:654:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-i960.c:654:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-i960.c:654:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-i960.c:654:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-i960.c:654:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i960.c:617: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-i960.c:657:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 657 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-i960.c:27: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-i960.c:661:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 661 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-i960.c:661:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 661 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-i960.c:661:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 661 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-m68k.lo coff-m68k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-m68k.c -o coff-m68k.o In file included from coff-m68k.c:23: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:524: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:25: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:524: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-m88k.lo coff-m88k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-m88k.c -o coff-m88k.o In file included from coff-m88k.c:287: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-m88k.c:26: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-m88k.c:287: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-m88k.c:26: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ coffcode.h:5311:40: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 5311 | #define coff_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'coff_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ coffcode.h:5384:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 5384 | BFD_JUMP_TABLE_RELOCS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m88k.c:291:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 291 | CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-maxq.lo coff-maxq.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-maxq.c -o coff-maxq.o coff-maxq.c: In function 'coff_maxq20_reloc': coff-maxq.c:85:21: warning: variable 'howto' set but not used [-Wunused-but-set-variable] 85 | reloc_howto_type *howto = NULL; | ^~~~~ coff-maxq.c: In function 'maxq_reloc_type_lookup': coff-maxq.c:401:24: warning: variable 'entry' set but not used [-Wunused-but-set-variable] 401 | const reloc_map *entry; | ^~~~~ In file included from coff-maxq.c:25: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-maxq.c:445: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: In function 'coff_slurp_reloc_table': coffcode.h:4844:16: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 4844 | asymbol *ptr; | ^~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-maxq.c:27: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-maxq.c:456:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 456 | CREATE_LITTLE_COFF_TARGET_VEC (maxqcoff_vec, "coff-maxq", 0, EXTRA_S_FLAGS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-maxq.c:456:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 456 | CREATE_LITTLE_COFF_TARGET_VEC (maxqcoff_vec, "coff-maxq", 0, EXTRA_S_FLAGS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-maxq.c:456:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 456 | CREATE_LITTLE_COFF_TARGET_VEC (maxqcoff_vec, "coff-maxq", 0, EXTRA_S_FLAGS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-maxq.c:456:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 456 | CREATE_LITTLE_COFF_TARGET_VEC (maxqcoff_vec, "coff-maxq", 0, EXTRA_S_FLAGS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-maxq.c:456:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 456 | CREATE_LITTLE_COFF_TARGET_VEC (maxqcoff_vec, "coff-maxq", 0, EXTRA_S_FLAGS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-maxq.c:456:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 456 | CREATE_LITTLE_COFF_TARGET_VEC (maxqcoff_vec, "coff-maxq", 0, EXTRA_S_FLAGS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-maxq.c:456:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 456 | CREATE_LITTLE_COFF_TARGET_VEC (maxqcoff_vec, "coff-maxq", 0, EXTRA_S_FLAGS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-maxq.c:445: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-maxq.c:456:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 456 | CREATE_LITTLE_COFF_TARGET_VEC (maxqcoff_vec, "coff-maxq", 0, EXTRA_S_FLAGS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-maxq.c:27: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-maxq.c:456:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 456 | CREATE_LITTLE_COFF_TARGET_VEC (maxqcoff_vec, "coff-maxq", 0, EXTRA_S_FLAGS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-maxq.c:456:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 456 | CREATE_LITTLE_COFF_TARGET_VEC (maxqcoff_vec, "coff-maxq", 0, EXTRA_S_FLAGS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-maxq.c:456:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 456 | CREATE_LITTLE_COFF_TARGET_VEC (maxqcoff_vec, "coff-maxq", 0, EXTRA_S_FLAGS, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-mips.lo coff-mips.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-mips.c -o coff-mips.o coff-mips.c:1288:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, void *, int, int, int, int, void *)' [-Wcast-function-type] 1288 | (void (*) PARAMS ((bfd *,PTR,int,int,int,int,PTR))) bfd_void, /* aux_in */ | ^ coff-mips.c:1289:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, void *, void *)' [-Wcast-function-type] 1289 | (void (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* sym_in */ | ^ coff-mips.c:1290:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, void *, void *)' [-Wcast-function-type] 1290 | (void (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* lineno_in */ | ^ coff-mips.c:1291:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'unsigned int (*)(bfd *, void *, int, int, int, int, void *)' [-Wcast-function-type] 1291 | (unsigned (*) PARAMS ((bfd *,PTR,int,int,int,int,PTR)))bfd_void,/*aux_out*/ | ^ coff-mips.c:1292:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'unsigned int (*)(bfd *, void *, void *)' [-Wcast-function-type] 1292 | (unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* sym_out */ | ^ coff-mips.c:1293:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'unsigned int (*)(bfd *, void *, void *)' [-Wcast-function-type] 1293 | (unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* lineno_out */ | ^ coff-mips.c:1294:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'unsigned int (*)(bfd *, void *, void *)' [-Wcast-function-type] 1294 | (unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* reloc_out */ | ^ In file included from coff-mips.c:34: libecoff.h:320:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 320 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coff-mips.c:1302:5: note: in expansion of macro '_bfd_ecoff_set_alignment_hook' 1302 | _bfd_ecoff_set_alignment_hook, _bfd_ecoff_slurp_symbol_table, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mips.c:27: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ libecoff.h:257:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 257 | _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro '_bfd_ecoff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-mips.c:1433:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1433 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ libecoff.h:245:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 245 | _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-mips.c:1433:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1433 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ libecoff.h:248:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 248 | _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-mips.c:1433:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1433 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ libecoff.h:251:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 251 | _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-mips.c:1433:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1433 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ libecoff.h:259:42: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 259 | #define _bfd_ecoff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro '_bfd_ecoff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-mips.c:1433:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1433 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ libecoff.h:254:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 254 | _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro '_bfd_ecoff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-mips.c:1433:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1433 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-mips.c:34: libecoff.h:274:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 274 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro '_bfd_ecoff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-mips.c:1436:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1436 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mips.c:27: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ libecoff.h:285:31: note: in expansion of macro '_bfd_nosymbols_get_lineno' 285 | #define _bfd_ecoff_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro '_bfd_ecoff_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ coff-mips.c:1436:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1436 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ libecoff.h:292:38: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 292 | #define _bfd_ecoff_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro '_bfd_ecoff_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ coff-mips.c:1436:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1436 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ libecoff.h:289:42: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 289 | #define _bfd_ecoff_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro '_bfd_ecoff_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ coff-mips.c:1436:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1436 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-mips.c:1440:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1440 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-mips.c:1440:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1440 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-mips.c:1440:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1440 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ libecoff.h:257:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 257 | _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro '_bfd_ecoff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-mips.c:1476:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1476 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ libecoff.h:245:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 245 | _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-mips.c:1476:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1476 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ libecoff.h:248:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 248 | _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-mips.c:1476:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1476 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ libecoff.h:251:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 251 | _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-mips.c:1476:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1476 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ libecoff.h:259:42: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 259 | #define _bfd_ecoff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro '_bfd_ecoff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-mips.c:1476:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1476 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ libecoff.h:254:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 254 | _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro '_bfd_ecoff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-mips.c:1476:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1476 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-mips.c:34: libecoff.h:274:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 274 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro '_bfd_ecoff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-mips.c:1479:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1479 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mips.c:27: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ libecoff.h:285:31: note: in expansion of macro '_bfd_nosymbols_get_lineno' 285 | #define _bfd_ecoff_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro '_bfd_ecoff_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ coff-mips.c:1479:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1479 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ libecoff.h:292:38: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 292 | #define _bfd_ecoff_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro '_bfd_ecoff_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ coff-mips.c:1479:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1479 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ libecoff.h:289:42: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 289 | #define _bfd_ecoff_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro '_bfd_ecoff_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ coff-mips.c:1479:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1479 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-mips.c:1483:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1483 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-mips.c:1483:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1483 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-mips.c:1483:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1483 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ libecoff.h:257:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 257 | _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro '_bfd_ecoff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-mips.c:1520:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1520 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ libecoff.h:245:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 245 | _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-mips.c:1520:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1520 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ libecoff.h:248:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 248 | _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-mips.c:1520:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1520 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ libecoff.h:251:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 251 | _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-mips.c:1520:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1520 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ libecoff.h:259:42: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 259 | #define _bfd_ecoff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro '_bfd_ecoff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-mips.c:1520:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1520 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ libecoff.h:254:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 254 | _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro '_bfd_ecoff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-mips.c:1520:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1520 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-mips.c:34: libecoff.h:274:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 274 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro '_bfd_ecoff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-mips.c:1523:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1523 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mips.c:27: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ libecoff.h:285:31: note: in expansion of macro '_bfd_nosymbols_get_lineno' 285 | #define _bfd_ecoff_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro '_bfd_ecoff_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ coff-mips.c:1523:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1523 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ libecoff.h:292:38: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 292 | #define _bfd_ecoff_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro '_bfd_ecoff_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ coff-mips.c:1523:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1523 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ libecoff.h:289:42: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 289 | #define _bfd_ecoff_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro '_bfd_ecoff_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ coff-mips.c:1523:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1523 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-mips.c:1527:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1527 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-mips.c:1527:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1527 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-mips.c:1527:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1527 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-or32.lo coff-or32.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-or32.c -o coff-or32.o coff-or32.c: In function 'reloc_processing': coff-or32.c:320:16: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 320 | asymbol *ptr; | ^~~ In file included from coff-or32.c:576: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-or32.c:25: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-or32.c:626:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 626 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-or32.c:626:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 626 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-or32.c:626:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 626 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-or32.c:626:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 626 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-or32.c:626:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 626 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-or32.c:626:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 626 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-or32.c:626:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 626 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-or32.c:576: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-or32.c:629:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 629 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-or32.c:25: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ coffcode.h:5311:40: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 5311 | #define coff_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'coff_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ coff-or32.c:630:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 630 | BFD_JUMP_TABLE_RELOCS (coff), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-or32.c:633:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 633 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-or32.c:633:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 633 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-or32.c:633:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 633 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-rs6000.lo coff-rs6000.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-rs6000.c -o coff-rs6000.o In file included from coff-rs6000.c:134: coffcode.h: In function 'coff_compute_section_file_positions': coffcode.h:3154:14: warning: taking the absolute value of unsigned type 'long unsigned int' has no effect [-Wabsolute-value] 3154 | pad = abs (current->vma - sofar) % align; | ^~~ coffcode.h:3154:14: warning: absolute value function 'abs' given an argument of type 'long unsigned int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coff-rs6000.c: In function 'xcoff_write_armap_big': coff-rs6000.c:1791:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1791 | if (current_bfd != NULL) | ^~ coff-rs6000.c:1793:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1793 | i = 0; | ^ coff-rs6000.c: In function 'xcoff_complain_overflow_bitfield_func': coff-rs6000.c:3040:11: warning: variable 'addrmask' set but not used [-Wunused-but-set-variable] 3040 | bfd_vma addrmask, fieldmask, signmask, ss; | ^~~~~~~~ coff-rs6000.c: At top level: coff-rs6000.c:4137:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 4137 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true), | ^ coff-rs6000.c:4139:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 4139 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true), | ^ coff-rs6000.c:4140:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 4140 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true), | ^ coff-rs6000.c:4141:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 4141 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true), | ^ coff-rs6000.c:4142:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 4142 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true), | ^ coff-rs6000.c:4143:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 4143 | ((bfd_boolean (*) (bfd *, void * )) bfd_true), | ^ coff-rs6000.c:4153:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 4153 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) bfd_false), | ^ In file included from coff-rs6000.c:134: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ coff-rs6000.c:4169:5: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4169 | coff_bfd_is_target_special_symbol, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-rs6000.c:32: libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ coff-rs6000.c:4206:5: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 4206 | _bfd_nodynamic_get_synthetic_symtab, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coff-rs6000.c:4387:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 4387 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true), | ^ coff-rs6000.c:4389:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 4389 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true), | ^ coff-rs6000.c:4390:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 4390 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true), | ^ coff-rs6000.c:4391:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 4391 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true), | ^ coff-rs6000.c:4392:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 4392 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true), | ^ coff-rs6000.c:4393:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 4393 | ((bfd_boolean (*) (bfd *, void * )) bfd_true), | ^ coff-rs6000.c:4403:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 4403 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) bfd_false), | ^ In file included from coff-rs6000.c:134: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ coff-rs6000.c:4419:5: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4419 | coff_bfd_is_target_special_symbol, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-rs6000.c:32: libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ coff-rs6000.c:4456:5: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 4456 | _bfd_nodynamic_get_synthetic_symtab, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coff-rs6000.c: In function 'xcoff_write_archive_contents_old': coff-rs6000.c:2086:10: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 2086 | (void) strncpy (fhdr.magic, XCOFFARMAG, SXCOFFARMAG); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-sh.lo coff-sh.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-sh.c -o coff-sh.o In file included from coff-sh.c:24: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:648: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:27: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3027:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 3027 | CREATE_BIG_COFF_TARGET_VEC (shcoff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3027:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 3027 | CREATE_BIG_COFF_TARGET_VEC (shcoff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3027:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 3027 | CREATE_BIG_COFF_TARGET_VEC (shcoff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3027:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 3027 | CREATE_BIG_COFF_TARGET_VEC (shcoff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3027:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 3027 | CREATE_BIG_COFF_TARGET_VEC (shcoff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3027:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 3027 | CREATE_BIG_COFF_TARGET_VEC (shcoff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:648: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3027:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 3027 | CREATE_BIG_COFF_TARGET_VEC (shcoff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:27: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3027:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 3027 | CREATE_BIG_COFF_TARGET_VEC (shcoff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3027:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 3027 | CREATE_BIG_COFF_TARGET_VEC (shcoff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3027:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 3027 | CREATE_BIG_COFF_TARGET_VEC (shcoff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3044:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3044 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3044:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3044 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3044:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3044 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3044:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3044 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3044:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3044 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3044:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3044 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:648: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3044:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3044 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:27: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3044:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3044 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3044:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3044 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3044:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3044 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:648: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coff-sh.c:3129:42: note: in expansion of macro 'coff_set_alignment_hook' 3129 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coff-sh.c:3130:28: note: in expansion of macro 'symname_in_debug_hook' 3130 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:27: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-sh.c:3179:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3179 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-sh.c:3179:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3179 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-sh.c:3179:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3179 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-sh.c:3179:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3179 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-sh.c:3179:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3179 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-sh.c:3179:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3179 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:648: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-sh.c:3182:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 3182 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:27: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-sh.c:3186:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3186 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-sh.c:3186:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3186 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-sh.c:3186:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3186 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-sh.c:3223:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3223 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-sh.c:3223:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3223 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-sh.c:3223:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3223 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-sh.c:3223:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3223 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-sh.c:3223:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3223 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-sh.c:3223:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3223 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:648: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-sh.c:3226:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 3226 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:27: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-sh.c:3230:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3230 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-sh.c:3230:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3230 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-sh.c:3230:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3230 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-sparc.lo coff-sparc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-sparc.c -o coff-sparc.o In file included from coff-sparc.c:22: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-sparc.c:190: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: In function 'coff_slurp_reloc_table': coffcode.h:4844:16: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 4844 | asymbol *ptr; | ^~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-sparc.c:24: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sparc.c:190: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sparc.c:24: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sparc.c:200:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 200 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-stgo32.lo coff-stgo32.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-stgo32.c -o coff-stgo32.o In file included from coff-stgo32.c:55: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from coff-stgo32.c:101: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from coff-stgo32.c:101: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from coff-stgo32.c:101: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-i386.c:662:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 662 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from coff-stgo32.c:101: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-svm68k.lo coff-svm68k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-svm68k.c -o coff-svm68k.o In file included from coff-m68k.c:23, from coff-svm68k.c:26: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:524, from coff-svm68k.c:26: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:25, from coff-svm68k.c:26: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:524, from coff-svm68k.c:26: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:25, from coff-svm68k.c:26: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:537:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 537 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-tic30.lo coff-tic30.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-tic30.c -o coff-tic30.o In file included from coff-tic30.c:22: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-tic30.c:166: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic30.c:24: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-tic30.c:198:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 198 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-tic30.c:198:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 198 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-tic30.c:198:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 198 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-tic30.c:198:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 198 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-tic30.c:198:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 198 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-tic30.c:198:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 198 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-tic30.c:198:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 198 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-tic30.c:166: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-tic30.c:201:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 201 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic30.c:24: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-tic30.c:205:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 205 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-tic30.c:205:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 205 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-tic30.c:205:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 205 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-tic4x.lo coff-tic4x.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-tic4x.c -o coff-tic4x.o In file included from coff-tic4x.c:75: coffcode.h: In function 'coff_compute_section_file_positions': coffcode.h:2922:13: warning: variable 'previous' set but not used [-Wunused-but-set-variable] 2922 | asection *previous = NULL; | ^~~~~~~~ coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5199:28: note: in expansion of macro 'symname_in_debug_hook' 5199 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5243:28: note: in expansion of macro 'symname_in_debug_hook' 5243 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:26: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:256:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 256 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:256:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 256 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:256:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 256 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:256:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 256 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:256:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 256 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:256:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 256 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:256:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 256 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:75: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:256:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 256 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:26: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:256:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 256 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:256:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 256 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:256:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 256 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x", HAS_LOAD_PAGE, 0, '_', NULL, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:259:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 259 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:259:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 259 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:259:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 259 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:259:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 259 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:259:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 259 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:259:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 259 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:259:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 259 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:75: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5433:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5433 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:259:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 259 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:26: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5437:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5437 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:259:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 259 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5437:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5437 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:259:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 259 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5437:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5437 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:259:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 259 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_vec, (PTR)&ticoff0_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:262:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 262 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_beh_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:262:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 262 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_beh_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:262:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 262 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_beh_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:262:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 262 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_beh_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:262:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 262 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_beh_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:262:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 262 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_beh_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:262:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 262 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_beh_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:75: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:262:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 262 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_beh_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:26: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:262:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 262 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_beh_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:262:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 262 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_beh_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:262:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 262 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff0_beh_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:265:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 265 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:265:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 265 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:265:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 265 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:265:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 265 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:265:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 265 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:265:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 265 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:265:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 265 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:75: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5433:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5433 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:265:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 265 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:26: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5437:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5437 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:265:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 265 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5437:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5437 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:265:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 265 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5437:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5437 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:265:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 265 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_vec, (PTR)&ticoff1_swap_table); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:268:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 268 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:268:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 268 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:268:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 268 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:268:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 268 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:268:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 268 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:268:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 268 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:268:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 268 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:75: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:268:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 268 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:26: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:268:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 268 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:268:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 268 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:268:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 268 | CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff1_beh_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:271:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 271 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:271:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 271 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:271:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 271 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:271:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 271 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:271:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 271 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:271:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 271 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5430:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5430 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic4x.c:271:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 271 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:75: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5433:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5433 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:271:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 271 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic4x.c:26: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5437:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5437 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:271:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 271 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5437:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5437 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:271:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 271 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5437:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5437 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic4x.c:271:1: note: in expansion of macro 'CREATE_BIGHDR_COFF_TARGET_VEC' 271 | CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x", HAS_LOAD_PAGE, 0, '_', &tic4x_coff2_vec, COFF_SWAP_TABLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-tic54x.lo coff-tic54x.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-tic54x.c -o coff-tic54x.o In file included from coff-tic54x.c:345: coffcode.h: In function 'coff_compute_section_file_positions': coffcode.h:2922:13: warning: variable 'previous' set but not used [-Wunused-but-set-variable] 2922 | asection *previous = NULL; | ^~~~~~~~ coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5199:28: note: in expansion of macro 'symname_in_debug_hook' 5199 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5243:28: note: in expansion of macro 'symname_in_debug_hook' 5243 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:25: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-tic54x.c:442:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 442 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-tic54x.c:442:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 442 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-tic54x.c:442:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 442 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-tic54x.c:442:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 442 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-tic54x.c:442:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 442 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-tic54x.c:442:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 442 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-tic54x.c:442:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 442 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:345: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-tic54x.c:445:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 445 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-tic54x.c:449:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 449 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-tic54x.c:449:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 449 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-tic54x.c:449:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 449 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-tic54x.c:486:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 486 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-tic54x.c:486:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 486 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-tic54x.c:486:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 486 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-tic54x.c:486:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 486 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-tic54x.c:486:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 486 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-tic54x.c:486:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 486 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-tic54x.c:486:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 486 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:345: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-tic54x.c:489:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 489 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-tic54x.c:493:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 493 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-tic54x.c:493:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 493 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-tic54x.c:493:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 493 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-tic54x.c:531:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 531 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-tic54x.c:531:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 531 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-tic54x.c:531:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 531 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-tic54x.c:531:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 531 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-tic54x.c:531:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 531 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-tic54x.c:531:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 531 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-tic54x.c:531:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 531 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:345: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-tic54x.c:534:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 534 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-tic54x.c:538:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 538 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-tic54x.c:538:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 538 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-tic54x.c:538:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 538 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-tic54x.c:576:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 576 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-tic54x.c:576:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 576 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-tic54x.c:576:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 576 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-tic54x.c:576:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 576 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-tic54x.c:576:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 576 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-tic54x.c:576:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 576 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-tic54x.c:576:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 576 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:345: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-tic54x.c:579:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 579 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-tic54x.c:583:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 583 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-tic54x.c:583:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 583 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-tic54x.c:583:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 583 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-tic54x.c:621:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 621 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-tic54x.c:621:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 621 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-tic54x.c:621:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 621 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-tic54x.c:621:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 621 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-tic54x.c:621:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 621 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-tic54x.c:621:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 621 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-tic54x.c:621:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 621 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:345: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-tic54x.c:624:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 624 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-tic54x.c:628:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 628 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-tic54x.c:628:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 628 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-tic54x.c:628:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 628 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coff-tic54x.c:666:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 666 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-tic54x.c:666:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 666 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-tic54x.c:666:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 666 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-tic54x.c:666:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 666 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-tic54x.c:666:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 666 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-tic54x.c:666:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 666 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-tic54x.c:666:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 666 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:345: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-tic54x.c:669:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 669 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic54x.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-tic54x.c:673:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 673 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-tic54x.c:673:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 673 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-tic54x.c:673:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 673 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-tic80.lo coff-tic80.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-tic80.c -o coff-tic80.o In file included from coff-tic80.c:737: coffcode.h: In function 'coff_compute_section_file_positions': coffcode.h:2922:13: warning: variable 'previous' set but not used [-Wunused-but-set-variable] 2922 | asection *previous = NULL; | ^~~~~~~~ coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic80.c:30: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic80.c:737: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-tic80.c:30: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ coffcode.h:5311:40: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 5311 | #define coff_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'coff_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ coffcode.h:5482:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 5482 | BFD_JUMP_TABLE_RELOCS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-tic80.c:739:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 739 | CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-u68k.lo coff-u68k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-u68k.c -o coff-u68k.o In file included from coff-m68k.c:23, from coff-u68k.c:35: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:524, from coff-u68k.c:35: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:25, from coff-u68k.c:35: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:535:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 535 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:535:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 535 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:535:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 535 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:535:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 535 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:535:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 535 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:535:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 535 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-m68k.c:535:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 535 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:524, from coff-u68k.c:35: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:535:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 535 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-m68k.c:25, from coff-u68k.c:35: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:535:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 535 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:535:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 535 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-m68k.c:535:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 535 | CREATE_BIG_COFF_TARGET_VEC (TARGET_SYM, TARGET_NAME, D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-we32k.lo coff-we32k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-we32k.c -o coff-we32k.o In file included from coff-we32k.c:22: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-we32k.c:65: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-we32k.c:24: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-we32k.c:65: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-we32k.c:24: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ coffcode.h:5311:40: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 5311 | #define coff_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'coff_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ coffcode.h:5384:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 5384 | BFD_JUMP_TABLE_RELOCS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-we32k.c:69:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 69 | CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-w65.lo coff-w65.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-w65.c -o coff-w65.o In file included from coff-w65.c:22: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-w65.c:377: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-w65.c:24: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-w65.c:377: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-w65.c:24: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ coffcode.h:5311:40: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 5311 | #define coff_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'coff_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ coffcode.h:5482:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 5482 | BFD_JUMP_TABLE_RELOCS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-w65.c:385:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 385 | CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-z80.lo coff-z80.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-z80.c -o coff-z80.o In file included from coff-z80.c:22: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-z80.c:252: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-z80.c:24: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z80.c:261:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 261 | CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z80.c:261:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 261 | CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z80.c:261:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 261 | CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z80.c:261:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 261 | CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z80.c:261:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 261 | CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z80.c:261:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 261 | CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z80.c:261:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 261 | CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-z80.c:252: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-z80.c:261:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 261 | CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-z80.c:24: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-z80.c:261:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 261 | CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-z80.c:261:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 261 | CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-z80.c:261:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 261 | CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0, 0, '\0', NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-z8k.lo coff-z8k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-z8k.c -o coff-z8k.o In file included from coff-z8k.c:23: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-z8k.c:349: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:1739:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 1739 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coffcode.h:5155:42: note: in expansion of macro 'coff_set_alignment_hook' 5155 | coff_mkobject_hook, styp_to_sec_flags, coff_set_alignment_hook, | ^~~~~~~~~~~~~~~~~~~~~~~ coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-z8k.c:25: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5277:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 5277 | #define coff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'coff_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z8k.c:358:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 358 | CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z8k.c:358:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 358 | CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ coffcode.h:5273:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 5273 | #define coff_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'coff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z8k.c:358:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 358 | CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z8k.c:358:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 358 | CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z8k.c:358:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 358 | CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z8k.c:358:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 358 | CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ coffcode.h:5289:45: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 5289 | #define coff_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'coff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-z8k.c:358:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 358 | CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-z8k.c:349: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-z8k.c:358:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 358 | CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-z8k.c:25: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-z8k.c:358:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 358 | CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-z8k.c:358:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 358 | CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-z8k.c:358:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 358 | CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o cofflink.lo cofflink.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c cofflink.c -o cofflink.o cofflink.c: In function 'process_embedded_commands': cofflink.c:1244:8: warning: variable 'had_shared' set but not used [-Wunused-but-set-variable] 1244 | int had_shared= 0; | ^~~~~~~~~~ cofflink.c:1242:8: warning: variable 'had_read' set but not used [-Wunused-but-set-variable] 1242 | int had_read = 0; | ^~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o dwarf1.lo dwarf1.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c dwarf1.c -o dwarf1.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o ecoff.lo ecoff.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c ecoff.c -o ecoff.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o ecofflink.lo ecofflink.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c ecofflink.c -o ecofflink.o ecofflink.c: In function 'bfd_ecoff_debug_accumulate': ecofflink.c:785:15: warning: variable 'fdr_adr' set but not used [-Wunused-but-set-variable] 785 | bfd_vma fdr_adr; | ^~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o efi-app-ia32.lo efi-app-ia32.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c efi-app-ia32.c -o efi-app-ia32.o In file included from efi-app-ia32.c:21: peicode.h: In function 'pe_ILF_make_a_section': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ peicode.h:595:3: note: in expansion of macro 'bfd_set_section_alignment' 595 | bfd_set_section_alignment (vars->abfd, sec, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from efi-app-ia32.c:34: coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from efi-app-ia32.c:34: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from efi-app-ia32.c:34: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-i386.c:662:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 662 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from efi-app-ia32.c:34: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf.lo elf.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf.c -o elf.o elf.c: In function 'prep_headers': elf.c:4833:23: warning: variable 'i_shdrp' set but not used [-Wunused-but-set-variable] 4833 | Elf_Internal_Shdr **i_shdrp; /* Section header table, internal form */ | ^~~~~~~ elf.c:4832:22: warning: variable 'i_phdrp' set but not used [-Wunused-but-set-variable] 4832 | Elf_Internal_Phdr *i_phdrp = 0; /* Program header table, internal form */ | ^~~~~~~ elf.c: In function '_bfd_elf_write_object_contents': elf.c:4950:22: warning: variable 'i_ehdrp' set but not used [-Wunused-but-set-variable] 4950 | Elf_Internal_Ehdr *i_ehdrp; | ^~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-am33lin.lo elf32-am33lin.c ./libtool: line 945: elf32-am33lin.loT: Disc quota exceeded gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-am33lin.c -o elf32-am33lin.o In file included from elf32-am33lin.c:104: elf-m10300.c: In function 'mn10300_elf_final_link_relocate': elf-m10300.c:982:14: warning: variable 'splt' set but not used [-Wunused-but-set-variable] 982 | asection * splt; | ^~~~ elf-m10300.c:981:14: warning: variable 'sgot' set but not used [-Wunused-but-set-variable] 981 | asection * sgot; | ^~~~ elf-m10300.c:980:14: warning: variable 'local_got_offsets' set but not used [-Wunused-but-set-variable] 980 | bfd_vma * local_got_offsets; | ^~~~~~~~~~~~~~~~~ elf-m10300.c: In function 'mn10300_elf_relocate_section': elf-m10300.c:1424:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 1424 | bfd_boolean warned; | ^~~~~~ elf-m10300.c: In function 'mn10300_elf_relax_section': elf-m10300.c:1694:26: warning: variable 'sym' set but not used [-Wunused-but-set-variable] 1694 | Elf_Internal_Sym *sym; | ^~~ elf-m10300.c: In function 'mn10300_elf_relax_delete_bytes': elf-m10300.c:3428:22: warning: variable 'irelalign' set but not used [-Wunused-but-set-variable] 3428 | Elf_Internal_Rela *irelalign; | ^~~~~~~~~ In file included from elf-m10300.c:4711, from elf32-am33lin.c:104: elf32-target.h: At top level: elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-arc.lo elf32-arc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-arc.c -o elf32-arc.o In file included from elf32-arc.c:237: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-arm.lo elf32-arm.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-arm.c -o elf32-arm.o elf32-arm.c: In function 'elf32_arm_final_link_relocate': elf32-arm.c:2952:33: warning: variable 'sym_hashes' set but not used [-Wunused-but-set-variable] 2952 | struct elf_link_hash_entry ** sym_hashes; | ^~~~~~~~~~ elf32-arm.c:2951:33: warning: variable 'symtab_hdr' set but not used [-Wunused-but-set-variable] 2951 | Elf_Internal_Shdr * symtab_hdr; | ^~~~~~~~~~ elf32-arm.c: In function 'elf32_arm_relocate_section': elf32-arm.c:4489:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 4489 | bfd_boolean warned; | ^~~~~~ elf32-arm.c: In function 'elf32_arm_check_relocs': elf32-arm.c:5710:12: warning: variable 'local_got_offsets' set but not used [-Wunused-but-set-variable] 5710 | bfd_vma *local_got_offsets; | ^~~~~~~~~~~~~~~~~ In file included from elf32-arm.c:8145: elf32-target.h: At top level: elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-arm.c: In function 'elf32_arm_final_link_relocate': elf32-arm.c:3017:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 3017 | if (!globals->vxworks_p) | ^ elf32-arm.c:3020:5: note: here 3020 | case R_ARM_PC24: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-avr.lo elf32-avr.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-avr.c -o elf32-avr.o elf32-avr.c: In function 'elf32_avr_relocate_section': elf32-avr.c:901:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 901 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-avr.c:901:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 901 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ elf32-avr.c:879:36: warning: variable 'r_type' set but not used [-Wunused-but-set-variable] 879 | int r_type; | ^~~~~~ elf32-avr.c: In function 'elf32_avr_relax_delete_bytes': elf32-avr.c:1060:22: warning: variable 'irelalign' set but not used [-Wunused-but-set-variable] 1060 | Elf_Internal_Rela *irelalign; | ^~~~~~~~~ elf32-avr.c: In function 'elf32_avr_relax_section': elf32-avr.c:1253:29: warning: variable 'last_reloc' set but not used [-Wunused-but-set-variable] 1253 | static Elf_Internal_Rela *last_reloc = NULL; | ^~~~~~~~~~ In file included from elf32-avr.c:1979: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-avr.c: In function 'elf32_avr_relax_section': elf32-avr.c:1372:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 1372 | { | ^ elf32-avr.c:1485:9: note: here 1485 | default: | ^~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-bfin.lo elf32-bfin.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-bfin.c -o elf32-bfin.o elf32-bfin.c: In function 'bfin_check_relocs': elf32-bfin.c:1921:13: warning: variable 'sreloc' set but not used [-Wunused-but-set-variable] 1921 | asection *sreloc; | ^~~~~~ elf32-bfin.c: In function 'bfin_relocate_section': elf32-bfin.c:2885:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 2885 | bfd_boolean warned; | ^~~~~~ elf32-bfin.c:2822:13: warning: variable 'sreloc' set but not used [-Wunused-but-set-variable] 2822 | asection *sreloc; | ^~~~~~ elf32-bfin.c: In function '_bfin_create_got_section': elf32-bfin.c:3258:7: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 3258 | int offset; | ^~~~~~ elf32-bfin.c:3253:19: warning: variable 'pltflags' set but not used [-Wunused-but-set-variable] 3253 | flagword flags, pltflags; | ^~~~~~~~ In file included from elf32-bfin.c:5563: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-bfin.c: In function 'bfinfdpic_relocate_section': elf32-bfin.c:2232:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 2232 | if (! IS_FDPIC (output_bfd)) | ^ elf32-bfin.c:2235:2: note: here 2235 | case R_BFIN_GOT17M4: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-cr16c.lo elf32-cr16c.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-cr16c.c -o elf32-cr16c.o elf32-cr16c.c: In function 'cr16c_elf_final_link_relocate': elf32-cr16c.c:192:12: warning: variable 'symbol' set but not used [-Wunused-but-set-variable] 192 | asymbol *symbol = NULL; | ^~~~~~ elf32-cr16c.c: In function 'elf32_cr16c_relocate_section': elf32-cr16c.c:726:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 726 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-cr16c.c:726:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 726 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ In file included from elf32-cr16c.c:1003: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-cris.lo elf32-cris.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-cris.c -o elf32-cris.o elf32-cris.c: In function 'cris_elf_relocate_section': elf32-cris.c:995:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 995 | bfd_boolean warned; | ^~~~~~ elf32-cris.c: In function 'elf_cris_finish_dynamic_symbol': elf32-cris.c:1580:17: warning: variable 'sgot' set but not used [-Wunused-but-set-variable] 1580 | asection *sgot; | ^~~~ In file included from elf32-cris.c:3444: elf32-target.h: At top level: elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-crx.lo elf32-crx.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-crx.c -o elf32-crx.o elf32-crx.c: In function 'elf32_crx_relax_delete_bytes': elf32-crx.c:583:22: warning: variable 'irelalign' set but not used [-Wunused-but-set-variable] 583 | Elf_Internal_Rela *irelalign; | ^~~~~~~~~ elf32-crx.c: In function 'elf32_crx_relocate_section': elf32-crx.c:864:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 864 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-crx.c:864:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 864 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ In file included from elf32-crx.c:1356: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-d10v.lo elf32-d10v.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-d10v.c -o elf32-d10v.o elf32-d10v.c: In function 'elf32_d10v_relocate_section': elf32-d10v.c:492:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 492 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-d10v.c:492:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 492 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ In file included from elf32-d10v.c:581: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-d30v.lo elf32-d30v.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-d30v.c -o elf32-d30v.o In file included from elf32-d30v.c:535: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-dlx.lo elf32-dlx.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-dlx.c -o elf32-dlx.o In file included from elf32-dlx.c:559: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-fr30.lo elf32-fr30.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-fr30.c -o elf32-fr30.o elf32-fr30.c: In function 'fr30_elf_relocate_section': elf32-fr30.c:563:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 563 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-fr30.c:563:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 563 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ In file included from elf32-fr30.c:758: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-frv.lo elf32-frv.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-frv.c -o elf32-frv.o elf32-frv.c: In function '_frvfdpic_relax_tls_entries': elf32-frv.c:4743:7: warning: taking the absolute value of unsigned type 'bfd_vma' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 4743 | + abs (entry->addend) < 32768 + FRVFDPIC_TLS_BIAS)))) | ^~~ elf32-frv.c:4743:7: warning: absolute value function 'abs' given an argument of type 'bfd_vma' {aka 'long unsigned int'} but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] In file included from elf32-frv.c:6952: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-frv.c: In function 'elf32_frv_relocate_section': elf32-frv.c:2854:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 2854 | if (! IS_FDPIC (output_bfd)) | ^ elf32-frv.c:2857:2: note: here 2857 | case R_FRV_GOT12: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-gen.lo elf32-gen.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-gen.c -o elf32-gen.o In file included from elf32-gen.c:101: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-h8300.lo elf32-h8300.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-h8300.c -o elf32-h8300.o elf32-h8300.c: In function 'elf32_h8_relocate_section': elf32-h8300.c:442:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 442 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-h8300.c:442:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 442 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ elf32-h8300.c: In function 'elf32_h8_relax_delete_bytes': elf32-h8300.c:1275:22: warning: variable 'irelalign' set but not used [-Wunused-but-set-variable] 1275 | Elf_Internal_Rela *irelalign; | ^~~~~~~~~ In file included from elf32-h8300.c:1568: elf32-target.h: At top level: elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-hppa.lo elf32-hppa.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-hppa.c -o elf32-hppa.o elf32-hppa.c: In function 'elf32_hppa_check_relocs': elf32-hppa.c:1086:13: warning: variable 'stubreloc' set but not used [-Wunused-but-set-variable] 1086 | asection *stubreloc; | ^~~~~~~~~ In file included from elf32-hppa.c:27: elf32-hppa.c: In function 'elf32_hppa_size_dynamic_sections': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ elf32-hppa.c:2294:3: note: in expansion of macro 'bfd_set_section_alignment' 2294 | bfd_set_section_alignment (dynobj, sec, gotalign); | ^~~~~~~~~~~~~~~~~~~~~~~~~ elf32-hppa.c: In function 'elf32_hppa_relocate_section': elf32-hppa.c:3531:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 3531 | bfd_boolean unresolved_reloc; | ^~~~~~~~~~~~~~~~ In file included from elf32-hppa.c:4293: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-hppa.c: In function 'elf32_hppa_relocate_section': elf32-hppa.c:3662:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 3662 | if (htab->etab.dynamic_sections_created) | ^ elf32-hppa.c:3760:2: note: here 3760 | case R_PARISC_DIR17F: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-i370.lo elf32-i370.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-i370.c -o elf32-i370.o elf32-i370.c: In function 'i370_elf_check_relocs': elf32-i370.c:816:12: warning: variable 'local_got_offsets' set but not used [-Wunused-but-set-variable] 816 | bfd_vma *local_got_offsets; | ^~~~~~~~~~~~~~~~~ elf32-i370.c: In function 'i370_elf_relocate_section': elf32-i370.c:1077:12: warning: variable 'local_got_offsets' set but not used [-Wunused-but-set-variable] 1077 | bfd_vma *local_got_offsets; | ^~~~~~~~~~~~~~~~~ elf32-target.h: At top level: elf32-i370.c:1446:3: warning: cast between incompatible function types from 'int (*)(void)' to 'bfd_boolean (*)(bfd *, struct bfd_link_info *, Elf_Internal_Sym *, const char **, flagword *, asection **, bfd_vma *)' {aka 'int (*)(bfd *, struct bfd_link_info *, struct elf_internal_sym *, const char **, unsigned int *, struct bfd_section **, long unsigned int *)'} [-Wcast-function-type] 1446 | (bfd_boolean (*) \ | ^ elf32-target.h:580:3: note: in expansion of macro 'elf_backend_add_symbol_hook' 580 | elf_backend_add_symbol_hook, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf32-i370.c:1450:3: warning: cast between incompatible function types from 'int (*)(void)' to 'bfd_boolean (*)(bfd *, struct bfd_link_info *, struct elf_link_hash_entry *, Elf_Internal_Sym *)' {aka 'int (*)(bfd *, struct bfd_link_info *, struct elf_link_hash_entry *, struct elf_internal_sym *)'} [-Wcast-function-type] 1450 | (bfd_boolean (*) \ | ^ elf32-target.h:590:3: note: in expansion of macro 'elf_backend_finish_dynamic_symbol' 590 | elf_backend_finish_dynamic_symbol, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf32-i370.c:1454:3: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(bfd *)' [-Wcast-function-type] 1454 | (int (*) (bfd *)) i370_noop | ^ elf32-target.h:594:3: note: in expansion of macro 'elf_backend_additional_program_headers' 594 | elf_backend_additional_program_headers, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf32-i370.c:1456:3: warning: cast between incompatible function types from 'int (*)(void)' to 'bfd_boolean (*)(bfd *, struct bfd_link_info *)' {aka 'int (*)(bfd *, struct bfd_link_info *)'} [-Wcast-function-type] 1456 | (bfd_boolean (*) (bfd *, struct bfd_link_info *)) i370_noop | ^ elf32-target.h:595:3: note: in expansion of macro 'elf_backend_modify_segment_map' 595 | elf_backend_modify_segment_map, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf32-i370.c:1458: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-i386.lo elf32-i386.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-i386.c -o elf32-i386.o elf32-i386.c: In function 'elf_i386_relocate_section': elf32-i386.c:2429:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 2429 | bfd_boolean warned; | ^~~~~~ In file included from elf32-i386.c:3916: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-i386.c: In function 'elf_i386_check_relocs': elf32-i386.c:1027:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 1027 | if (h) | ^ elf32-i386.c:1033:8: note: here 1033 | case R_386_TLS_GOTIE: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-i860.lo elf32-i860.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-i860.c -o elf32-i860.o elf32-i860.c: In function 'i860_howto_pc26_reloc': elf32-i860.c:77:51: warning: left shift of negative value [-Wshift-negative-value] 77 | || (bfd_signed_vma)relocation < (-0x4000000 << 2)) | ^~ elf32-i860.c: In function 'i860_howto_pc16_reloc': elf32-i860.c:140:48: warning: left shift of negative value [-Wshift-negative-value] 140 | || (bfd_signed_vma)relocation < (-0x8000 << 2)) | ^~ elf32-i860.c: In function 'elf32_i860_relocate_section': elf32-i860.c:1108:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 1108 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-i860.c:1108:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 1108 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ In file included from elf32-i860.c:1246: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-i960.lo elf32-i960.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-i960.c -o elf32-i960.o In file included from elf32-i960.c:151: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-ip2k.lo elf32-ip2k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-ip2k.c -o elf32-ip2k.o elf32-ip2k.c: In function 'adjust_all_relocations': elf32-ip2k.c:659:24: warning: variable 'desc' set but not used [-Wunused-but-set-variable] 659 | unsigned short desc; | ^~~~ elf32-ip2k.c:658:29: warning: variable 'other' set but not used [-Wunused-but-set-variable] 658 | unsigned char type, other; | ^~~~~ elf32-ip2k.c:657:23: warning: variable 'strx' set but not used [-Wunused-but-set-variable] 657 | unsigned long strx; | ^~~~ elf32-ip2k.c:565:13: warning: variable 'contents' set but not used [-Wunused-but-set-variable] 565 | bfd_byte *contents; | ^~~~~~~~ elf32-ip2k.c: In function 'ip2k_elf_relax_section': elf32-ip2k.c:1116:27: warning: variable 'irelbase' set but not used [-Wunused-but-set-variable] 1116 | Elf_Internal_Rela * irelbase; | ^~~~~~~~ elf32-ip2k.c: In function 'ip2k_elf_relocate_section': elf32-ip2k.c:1442:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 1442 | bfd_boolean unresolved_reloc; | ^~~~~~~~~~~~~~~~ elf32-ip2k.c:1441:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 1441 | bfd_boolean warned; | ^~~~~~ elf32-ip2k.c:1419:36: warning: variable 'r_type' set but not used [-Wunused-but-set-variable] 1419 | int r_type; | ^~~~~~ In file included from elf32-ip2k.c:1573: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-iq2000.lo elf32-iq2000.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-iq2000.c -o elf32-iq2000.o elf32-iq2000.c: In function 'iq2000_elf_relocate_section': elf32-iq2000.c:572:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 572 | bfd_boolean warned; | ^~~~~~ elf32-iq2000.c:571:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 571 | bfd_boolean unresolved_reloc; | ^~~~~~~~~~~~~~~~ In file included from elf32-iq2000.c:890: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-m32c.lo elf32-m32c.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-m32c.c -o elf32-m32c.o elf32-m32c.c: In function 'm32c_offset_for_reloc': elf32-m32c.c:1254:31: warning: variable 'shndx' set but not used [-Wunused-but-set-variable] 1254 | Elf_External_Sym_Shndx *shndx; | ^~~~~ elf32-m32c.c: In function 'm32c_elf_relax_delete_bytes': elf32-m32c.c:1926:22: warning: variable 'irelalign' set but not used [-Wunused-but-set-variable] 1926 | Elf_Internal_Rela *irelalign; | ^~~~~~~~~ In file included from elf32-m32c.c:2076: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-m32r.lo elf32-m32r.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-m32r.c -o elf32-m32r.o In file included from elf32-m32r.c:21: elf32-m32r.c: In function 'm32r_elf_add_symbol_hook': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ elf32-m32r.c:1376:4: note: in expansion of macro 'bfd_set_section_alignment' 1376 | bfd_set_section_alignment (abfd, s, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ elf32-m32r.c: In function 'm32r_elf_finish_dynamic_symbol': elf32-m32r.c:3175:8: warning: variable 'dynobj' set but not used [-Wunused-but-set-variable] 3175 | bfd *dynobj; | ^~~~~~ elf32-m32r.c: In function 'm32r_elf_finish_dynamic_sections': elf32-m32r.c:3403:23: warning: variable 'name' set but not used [-Wunused-but-set-variable] 3403 | const char *name; | ^~~~ elf32-m32r.c: In function 'm32r_elf_check_relocs': elf32-m32r.c:3806:13: warning: variable 'sgot' set but not used [-Wunused-but-set-variable] 3806 | asection *sgot, *srelgot, *sreloc; | ^~~~ elf32-m32r.c:3805:12: warning: variable 'local_got_offsets' set but not used [-Wunused-but-set-variable] 3805 | bfd_vma *local_got_offsets; | ^~~~~~~~~~~~~~~~~ elf32-m32r.c: In function 'm32r_elf_fake_sections': elf32-m32r.c:4095:15: warning: variable 'name' set but not used [-Wunused-but-set-variable] 4095 | const char *name; | ^~~~ In file included from elf32-m32r.c:4195: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-m68hc11.lo elf32-m68hc11.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-m68hc11.c -o elf32-m68hc11.o elf32-m68hc11.c: In function 'm68hc11_elf_relax_section': elf32-m68hc11.c:659:22: warning: variable 'shndx_hdr' set but not used [-Wunused-but-set-variable] 659 | Elf_Internal_Shdr *shndx_hdr; | ^~~~~~~~~ In file included from elf32-m68hc11.c:1299: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-m68hc12.lo elf32-m68hc12.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-m68hc12.c -o elf32-m68hc12.o In file included from elf32-m68hc12.c:577: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-m68hc1x.lo elf32-m68hc1x.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-m68hc1x.c -o elf32-m68hc1x.o elf32-m68hc1x.c: In function 'm68hc11_elf_export_one_stub': elf32-m68hc1x.c:572:10: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 572 | name = alloca (strlen (stub_entry->root.string) + 16); | ^~~~~~ elf32-m68hc1x.c:572:10: warning: incompatible implicit declaration of built-in function 'alloca' elf32-m68hc1x.c: In function 'm68hc11_get_relocation_value': elf32-m68hc1x.c:959:37: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 959 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-m68hc1x.c:959:19: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 959 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ elf32-m68hc1x.c:933:15: warning: variable 'stub_name' set but not used [-Wunused-but-set-variable] 933 | const char* stub_name = 0; | ^~~~~~~~~ elf32-m68hc1x.c: In function 'elf32_m68hc11_relocate_section': elf32-m68hc1x.c:1110:21: warning: incompatible implicit declaration of built-in function 'alloca' 1110 | buf = alloca (strlen (msg) + strlen (name) + 10); | ^~~~~~ elf32-m68hc1x.c:1134:21: warning: incompatible implicit declaration of built-in function 'alloca' 1134 | buf = alloca (strlen (msg) + 128); | ^~~~~~ elf32-m68hc1x.c:1153:21: warning: incompatible implicit declaration of built-in function 'alloca' 1153 | buf = alloca (strlen (msg) + 128); | ^~~~~~ elf32-m68hc1x.c:1008:32: warning: variable 'sym_hashes' set but not used [-Wunused-but-set-variable] 1008 | struct elf_link_hash_entry **sym_hashes; | ^~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-m68k.lo elf32-m68k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-m68k.c -o elf32-m68k.o elf32-m68k.c: In function 'elf_m68k_relocate_section': elf32-m68k.c:1553:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 1553 | bfd_boolean warned; | ^~~~~~ In file included from elf32-m68k.c:2449: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-m88k.lo elf32-m88k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-m88k.c -o elf32-m88k.o In file included from elf32-m88k.c:36: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf-m10200.lo elf-m10200.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf-m10200.c -o elf-m10200.o elf-m10200.c: In function 'mn10200_elf_relocate_section': elf-m10200.c:380:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 380 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf-m10200.c:380:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 380 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ elf-m10200.c: In function 'mn10200_elf_relax_delete_bytes': elf-m10200.c:1167:22: warning: variable 'irelalign' set but not used [-Wunused-but-set-variable] 1167 | Elf_Internal_Rela *irelalign; | ^~~~~~~~~ In file included from elf-m10200.c:1405: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf-m10300.lo elf-m10300.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf-m10300.c -o elf-m10300.o elf-m10300.c: In function 'mn10300_elf_final_link_relocate': elf-m10300.c:982:14: warning: variable 'splt' set but not used [-Wunused-but-set-variable] 982 | asection * splt; | ^~~~ elf-m10300.c:981:14: warning: variable 'sgot' set but not used [-Wunused-but-set-variable] 981 | asection * sgot; | ^~~~ elf-m10300.c:980:14: warning: variable 'local_got_offsets' set but not used [-Wunused-but-set-variable] 980 | bfd_vma * local_got_offsets; | ^~~~~~~~~~~~~~~~~ elf-m10300.c: In function 'mn10300_elf_relocate_section': elf-m10300.c:1424:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 1424 | bfd_boolean warned; | ^~~~~~ elf-m10300.c: In function 'mn10300_elf_relax_section': elf-m10300.c:1694:26: warning: variable 'sym' set but not used [-Wunused-but-set-variable] 1694 | Elf_Internal_Sym *sym; | ^~~ elf-m10300.c: In function 'mn10300_elf_relax_delete_bytes': elf-m10300.c:3428:22: warning: variable 'irelalign' set but not used [-Wunused-but-set-variable] 3428 | Elf_Internal_Rela *irelalign; | ^~~~~~~~~ In file included from elf-m10300.c:4711: elf32-target.h: At top level: elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-mcore.lo elf32-mcore.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-mcore.c -o elf32-mcore.o elf32-mcore.c: In function 'mcore_elf_relocate_section': elf32-mcore.c:447:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 447 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-mcore.c:447:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 447 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ In file included from elf32-mcore.c:668: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elfxx-mips.lo elfxx-mips.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elfxx-mips.c -o elfxx-mips.o elfxx-mips.c: In function 'mips_elf_calculate_relocation': elfxx-mips.c:3952:18: warning: comparison between pointer and zero character constant [-Wpointer-compare] 3952 | if (*namep == '\0') | ^~ elfxx-mips.c:3952:11: note: did you mean to dereference the pointer? 3952 | if (*namep == '\0') | ^ In file included from elfxx-mips.c:30: elfxx-mips.c: In function '_bfd_mips_elf_create_dynamic_sections': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ elfxx-mips.c:5985:2: note: in expansion of macro 'bfd_set_section_alignment' 5985 | bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ elfxx-mips.c:5988:2: note: in expansion of macro 'bfd_set_section_alignment' 5988 | bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ elfxx-mips.c:5991:2: note: in expansion of macro 'bfd_set_section_alignment' 5991 | bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ elfxx-mips.c:5994:2: note: in expansion of macro 'bfd_set_section_alignment' 5994 | bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ elfxx-mips.c:5997:2: note: in expansion of macro 'bfd_set_section_alignment' 5997 | bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ elfxx-mips.c: In function '_bfd_mips_elf_finish_dynamic_sections': elfxx-mips.c:8670:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 8670 | if (gg->global_gotsym) | ^ elfxx-mips.c:8679:6: note: here 8679 | case DT_MIPS_SYMTABNO: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-mips.lo elf32-mips.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-mips.c -o elf32-mips.o In file included from elf32-mips.c:1603: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-mt.lo elf32-mt.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-mt.c -o elf32-mt.o elf32-mt.c: In function 'mt_elf_relocate_section': elf32-mt.c:331:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 331 | bfd_boolean warned; | ^~~~~~ elf32-mt.c:330:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 330 | bfd_boolean unresolved_reloc; | ^~~~~~~~~~~~~~~~ In file included from elf32-mt.c:648: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-msp430.lo elf32-msp430.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-msp430.c -o elf32-msp430.o elf32-msp430.c: In function 'elf32_msp430_relocate_section': elf32-msp430.c:478:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 478 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-msp430.c:478:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 478 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ elf32-msp430.c:455:11: warning: variable 'r_type' set but not used [-Wunused-but-set-variable] 455 | int r_type; | ^~~~~~ elf32-msp430.c: In function 'msp430_elf_relax_delete_bytes': elf32-msp430.c:874:22: warning: variable 'irelalign' set but not used [-Wunused-but-set-variable] 874 | Elf_Internal_Rela *irelalign; | ^~~~~~~~~ In file included from elf32-msp430.c:1222: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-openrisc.lo elf32-openrisc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-openrisc.c -o elf32-openrisc.o elf32-openrisc.c: In function 'openrisc_elf_relocate_section': elf32-openrisc.c:354:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 354 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-openrisc.c:354:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 354 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ In file included from elf32-openrisc.c:574: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-or32.lo elf32-or32.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-or32.c -o elf32-or32.o In file included from elf32-or32.c:497: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-pj.lo elf32-pj.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-pj.c -o elf32-pj.o In file included from elf32-pj.c:333: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-ppc.lo elf32-ppc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-ppc.c -o elf32-ppc.o elf32-ppc.c: In function 'ppc_elf_tls_optimize': elf32-ppc.c:3987:25: warning: variable 'sym' set but not used [-Wunused-but-set-variable] 3987 | Elf_Internal_Sym *sym; | ^~~ elf32-ppc.c: In function 'ppc_elf_relocate_section': elf32-ppc.c:6355:2: warning: case value '245' not in enumerated type 'enum elf_ppc_reloc_type' [-Wswitch] 6355 | case R_PPC_RELAX32: | ^~~~ elf32-ppc.c:6349:2: warning: case value '246' not in enumerated type 'enum elf_ppc_reloc_type' [-Wswitch] 6349 | case R_PPC_RELAX32PC: | ^~~~ elf32-ppc.c:6331:2: warning: case value '247' not in enumerated type 'enum elf_ppc_reloc_type' [-Wswitch] 6331 | case R_PPC_RELAX32_PLT: | ^~~~ elf32-ppc.c:6330:2: warning: case value '248' not in enumerated type 'enum elf_ppc_reloc_type' [-Wswitch] 6330 | case R_PPC_RELAX32PC_PLT: | ^~~~ In file included from elf32-ppc.c:7486: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-ppc.c: In function 'ppc_elf_gc_sweep_hook': elf32-ppc.c:3799:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 3799 | if (info->shared) | ^ elf32-ppc.c:3802:2: note: here 3802 | case R_PPC_PLT32: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-s390.lo elf32-s390.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-s390.c -o elf32-s390.o In file included from elf32-s390.c:3537: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-sh.lo elf32-sh.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-sh.c -o elf32-sh.o elf32-sh.c: In function 'sh_elf_check_relocs': elf32-sh.c:6185:13: warning: variable 'srelgot' set but not used [-Wunused-but-set-variable] 6185 | asection *srelgot; | ^~~~~~~ elf32-sh.c:6184:13: warning: variable 'sgot' set but not used [-Wunused-but-set-variable] 6184 | asection *sgot; | ^~~~ elf32-sh.c:6183:12: warning: variable 'local_got_offsets' set but not used [-Wunused-but-set-variable] 6183 | bfd_vma *local_got_offsets; | ^~~~~~~~~~~~~~~~~ In file included from elf32-sh.c:7361: elf32-target.h: At top level: elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-sh-symbian.lo elf32-sh-symbian.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-sh-symbian.c -o elf32-sh-symbian.o In file included from elf32-sh-symbian.c:26: elf32-sh.c: In function 'sh_elf_check_relocs': elf32-sh.c:6185:13: warning: variable 'srelgot' set but not used [-Wunused-but-set-variable] 6185 | asection *srelgot; | ^~~~~~~ elf32-sh.c:6184:13: warning: variable 'sgot' set but not used [-Wunused-but-set-variable] 6184 | asection *sgot; | ^~~~ elf32-sh.c:6183:12: warning: variable 'local_got_offsets' set but not used [-Wunused-but-set-variable] 6183 | bfd_vma *local_got_offsets; | ^~~~~~~~~~~~~~~~~ In file included from elf32-sh-symbian.c:631: elf32-target.h: At top level: elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-sh64.lo elf32-sh64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-sh64.c -o elf32-sh64.o In file included from elf32-sh64.c:111: elf32-sh.c: In function 'sh_elf_align_loads': elf32-sh.c:2985:22: warning: variable 'stop' set but not used [-Wunused-but-set-variable] 2985 | bfd_vma start, stop; | ^~~~ elf32-sh.c:2985:15: warning: variable 'start' set but not used [-Wunused-but-set-variable] 2985 | bfd_vma start, stop; | ^~~~~ elf32-sh.c:2954:12: warning: variable 'label' set but not used [-Wunused-but-set-variable] 2954 | bfd_vma *label, *label_end; | ^~~~~ elf32-sh.c: In function 'sh_elf_check_relocs': elf32-sh.c:6185:13: warning: variable 'srelgot' set but not used [-Wunused-but-set-variable] 6185 | asection *srelgot; | ^~~~~~~ elf32-sh.c:6184:13: warning: variable 'sgot' set but not used [-Wunused-but-set-variable] 6184 | asection *sgot; | ^~~~ elf32-sh.c:6183:12: warning: variable 'local_got_offsets' set but not used [-Wunused-but-set-variable] 6183 | bfd_vma *local_got_offsets; | ^~~~~~~~~~~~~~~~~ In file included from elf32-sh64.c:772: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-sh64-com.lo elf32-sh64-com.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-sh64-com.c -o elf32-sh64-com.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elfxx-sparc.lo elfxx-sparc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elfxx-sparc.c -o elfxx-sparc.o elfxx-sparc.c: In function '_bfd_sparc_elf_check_relocs': elfxx-sparc.c:1071:12: warning: variable 'local_got_offsets' set but not used [-Wunused-but-set-variable] 1071 | bfd_vma *local_got_offsets; | ^~~~~~~~~~~~~~~~~ elfxx-sparc.c: In function '_bfd_sparc_elf_gc_mark_hook': elfxx-sparc.c:1533:46: warning: variable 'htab' set but not used [-Wunused-but-set-variable] 1533 | struct _bfd_sparc_elf_link_hash_table *htab; | ^~~~ elfxx-sparc.c: In function '_bfd_sparc_elf_relocate_section': elfxx-sparc.c:3093:26: warning: variable 'relocate' set but not used [-Wunused-but-set-variable] 3093 | bfd_boolean skip, relocate = FALSE; | ^~~~~~~~ elfxx-sparc.c: In function '_bfd_sparc_elf_finish_dynamic_symbol': elfxx-sparc.c:3634:8: warning: variable 'dynobj' set but not used [-Wunused-but-set-variable] 3634 | bfd *dynobj; | ^~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-sparc.lo elf32-sparc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-sparc.c -o elf32-sparc.o In file included from elf32-sparc.c:218: elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-v850.lo elf32-v850.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-v850.c -o elf32-v850.o elf32-v850.c: In function 'v850_elf_check_relocs': elf32-v850.c:52:13: warning: variable 'sreloc' set but not used [-Wunused-but-set-variable] 52 | asection *sreloc; | ^~~~~~ elf32-v850.c:47:8: warning: variable 'dynobj' set but not used [-Wunused-but-set-variable] 47 | bfd *dynobj; | ^~~~~~ elf32-v850.c: In function 'find_remembered_hi16s_reloc': elf32-v850.c:273:19: warning: variable 'previous' set but not used [-Wunused-but-set-variable] 273 | hi16s_location *previous = NULL; | ^~~~~~~~ elf32-v850.c: In function 'v850_elf_relocate_section': elf32-v850.c:1612:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 1612 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-v850.c:1612:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 1612 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ elf32-v850.c:1691:6: warning: case value '8' not in enumerated type 'bfd_reloc_status_type' {aka 'enum bfd_reloc_status'} [-Wswitch] 1691 | case bfd_reloc_ctbp_not_found: | ^~~~ In file included from elf32-v850.c:3095: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-vax.lo elf32-vax.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-vax.c -o elf32-vax.o elf32-vax.c: In function 'elf32_vax_merge_private_bfd_data': elf32-vax.c:496:12: warning: variable 'out_flags' set but not used [-Wunused-but-set-variable] 496 | flagword out_flags; | ^~~~~~~~~ elf32-vax.c: In function 'elf_vax_relocate_section': elf32-vax.c:1453:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 1453 | bfd_boolean warned; | ^~~~~~ elf32-vax.c:1452:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 1452 | bfd_boolean unresolved_reloc; | ^~~~~~~~~~~~~~~~ elf32-vax.c:1395:12: warning: variable 'local_got_offsets' set but not used [-Wunused-but-set-variable] 1395 | bfd_vma *local_got_offsets; | ^~~~~~~~~~~~~~~~~ In file included from elf32-vax.c:2111: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-xstormy16.lo elf32-xstormy16.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-xstormy16.c -o elf32-xstormy16.o elf32-xstormy16.c: In function 'xstormy16_elf_relocate_section': elf32-xstormy16.c:801:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 801 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-xstormy16.c:801:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 801 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ In file included from elf32-xstormy16.c:1040: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-xtensa.lo elf32-xtensa.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-xtensa.c -o elf32-xtensa.o elf32-xtensa.c: In function 'clear_section_cache': elf32-xtensa.c:5224:36: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 5224 | memset (sec_cache, 0, sizeof (sec_cache)); | ^ elf32-xtensa.c: In function 'section_cache_section': elf32-xtensa.c:5266:32: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 5266 | memset (sec_cache, 0, sizeof (sec_cache)); | ^ elf32-xtensa.c: In function 'xlate_offset_with_removed_text': elf32-xtensa.c:6933:21: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 6933 | xlate_map_entry_t tmp; | ^~~ elf32-xtensa.c: In function 'move_literal': elf32-xtensa.c:8681:17: warning: variable 'target_sec' set but not used [-Wunused-but-set-variable] 8681 | asection *target_sec; | ^~~~~~~~~~ In file included from elf32-xtensa.c:9763: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-xc16x.lo elf32-xc16x.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-xc16x.c -o elf32-xc16x.o elf32-xc16x.c: In function 'elf32_xc16x_relocate_section': elf32-xc16x.c:363:34: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 363 | bfd_boolean unresolved_reloc, warned; | ^~~~~~ elf32-xc16x.c:363:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 363 | bfd_boolean unresolved_reloc, warned; | ^~~~~~~~~~~~~~~~ elf32-xc16x.c:347:29: warning: variable 'r' set but not used [-Wunused-but-set-variable] 347 | bfd_reloc_status_type r; | ^ In file included from elf32-xc16x.c:449: elf32-target.h: At top level: elf32-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf32_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf32_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf32-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32.lo elf32.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32.c -o elf32.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elflink.lo elflink.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elflink.c -o elflink.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf-strtab.lo elf-strtab.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf-strtab.c -o elf-strtab.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf-eh-frame.lo elf-eh-frame.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf-eh-frame.c -o elf-eh-frame.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf-vxworks.lo elf-vxworks.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf-vxworks.c -o elf-vxworks.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o epoc-pe-arm.lo epoc-pe-arm.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c epoc-pe-arm.c -o epoc-pe-arm.o In file included from pe-arm.c:20, from epoc-pe-arm.c:37: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pe-arm.c:47, from epoc-pe-arm.c:37: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pe-arm.c:47, from epoc-pe-arm.c:37: libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pe-arm.c:47, from epoc-pe-arm.c:37: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pe-arm.c:47, from epoc-pe-arm.c:37: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pe-arm.c:47, from epoc-pe-arm.c:37: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pe-arm.c:47, from epoc-pe-arm.c:37: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o epoc-pei-arm.lo epoc-pei-arm.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c epoc-pei-arm.c -o epoc-pei-arm.o In file included from pei-arm.c:20, from epoc-pei-arm.c:30: peicode.h: In function 'pe_ILF_make_a_section': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ peicode.h:595:3: note: in expansion of macro 'bfd_set_section_alignment' 595 | bfd_set_section_alignment (vars->abfd, sec, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pei-arm.c:35, from epoc-pei-arm.c:30: coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pei-arm.c:35, from epoc-pei-arm.c:30: libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pei-arm.c:35, from epoc-pei-arm.c:30: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pei-arm.c:35, from epoc-pei-arm.c:30: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pei-arm.c:35, from epoc-pei-arm.c:30: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pei-arm.c:35, from epoc-pei-arm.c:30: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o hp300bsd.lo hp300bsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c hp300bsd.c -o hp300bsd.o In file included from hp300bsd.c:37: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from hp300bsd.c:40: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from hp300bsd.c:37: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o hp300hpux.lo hp300hpux.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c hp300hpux.c -o hp300hpux.o In file included from hp300hpux.c:195: aoutx.h: In function 'aout_link_input_bfd': aoutx.h:5167:17: warning: variable 'sym_count' set but not used [-Wunused-but-set-variable] 5167 | bfd_size_type sym_count; | ^~~~~~~~~ hp300hpux.c: In function 'hp300hpux_slurp_symbol_table': hp300hpux.c:594:22: warning: variable 'cache_save' set but not used [-Wunused-but-set-variable] 594 | aout_symbol_type cache_save; | ^~~~~~~~~~ In file included from aoutx.h:127, from hp300hpux.c:195: aout-target.h: At top level: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from hp300hpux.c:883: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aoutx.h:127, from hp300hpux.c:195: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from hp300hpux.c:195: aoutx.h: In function 'aout_link_write_other_symbol': aoutx.h:3568:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 3568 | val = 0; | ~~~~^~~ aoutx.h:3569:5: note: here 3569 | case bfd_link_hash_indirect: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o som.lo som.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c som.c -o som.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o i386aout.lo i386aout.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c i386aout.c -o i386aout.o In file included from i386aout.c:44: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from i386aout.c:70: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from i386aout.c:44: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o i386bsd.lo i386bsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c i386bsd.c -o i386bsd.o In file included from i386bsd.c:47: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from i386bsd.c:50: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from i386bsd.c:47: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o i386dynix.lo i386dynix.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c i386dynix.c -o i386dynix.o In file included from i386dynix.c:47: aoutx.h: In function 'aout_link_input_bfd': aoutx.h:5167:17: warning: variable 'sym_count' set but not used [-Wunused-but-set-variable] 5167 | bfd_size_type sym_count; | ^~~~~~~~~ In file included from aoutx.h:127, from i386dynix.c:47: aout-target.h: At top level: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from i386dynix.c:81: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aoutx.h:127, from i386dynix.c:47: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from i386dynix.c:47: aoutx.h: In function 'aout_link_write_other_symbol': aoutx.h:3568:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 3568 | val = 0; | ~~~~^~~ aoutx.h:3569:5: note: here 3569 | case bfd_link_hash_indirect: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o i386freebsd.lo i386freebsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c i386freebsd.c -o i386freebsd.o In file included from freebsd.h:56, from i386freebsd.c:37: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from freebsd.h:66, from i386freebsd.c:37: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from freebsd.h:56, from i386freebsd.c:37: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o i386linux.lo i386linux.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c i386linux.c -o i386linux.o In file included from i386linux.c:31: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from i386linux.c:777: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from i386linux.c:31: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o i386lynx.lo i386lynx.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c i386lynx.c -o i386lynx.o i386lynx.c: In function 'lynx_32_swap_std_reloc_out': i386lynx.c:140:16: warning: variable 'r_addend' set but not used [-Wunused-but-set-variable] 140 | unsigned int r_addend; | ^~~~~~~~ i386lynx.c: In function 'lynx_32_swap_std_reloc_in': i386lynx.c:377:30: warning: variable 'r_relative' set but not used [-Wunused-but-set-variable] 377 | int r_baserel, r_jmptable, r_relative; | ^~~~~~~~~~ i386lynx.c:377:18: warning: variable 'r_jmptable' set but not used [-Wunused-but-set-variable] 377 | int r_baserel, r_jmptable, r_relative; | ^~~~~~~~~~ i386lynx.c:377:7: warning: variable 'r_baserel' set but not used [-Wunused-but-set-variable] 377 | int r_baserel, r_jmptable, r_relative; | ^~~~~~~~~ In file included from i386lynx.c:36: aout-target.h: At top level: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from i386lynx.c:582: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from i386lynx.c:36: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o i386msdos.lo i386msdos.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c i386msdos.c -o i386msdos.o In file included from i386msdos.c:28: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ i386msdos.c:146:32: note: in expansion of macro '_bfd_generic_new_section_hook' 146 | #define msdos_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'msdos_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ i386msdos.c:222:5: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 222 | BFD_JUMP_TABLE_GENERIC (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ i386msdos.c:223:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 223 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ i386msdos.c:223:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 223 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ i386msdos.c:223:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 223 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ i386msdos.c:223:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 223 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ i386msdos.c:223:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 223 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ i386msdos.c:223:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 223 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ i386msdos.c:223:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 223 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ i386msdos.c:225:5: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 225 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ i386msdos.c:225:5: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 225 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ i386msdos.c:225:5: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 225 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ i386msdos.c:225:5: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 225 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ i386msdos.c:225:5: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 225 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:324:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 324 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ i386msdos.c:168:35: note: in expansion of macro '_bfd_nosymbols_canonicalize_symtab' 168 | #define msdos_canonicalize_symtab _bfd_nosymbols_canonicalize_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4935:3: note: in expansion of macro 'msdos_canonicalize_symtab' 4935 | NAME##_canonicalize_symtab, \ | ^~~~ i386msdos.c:226:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 226 | BFD_JUMP_TABLE_SYMBOLS (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:327:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, void *, asymbol *, bfd_print_symbol_type)' {aka 'void (*)(bfd *, void *, struct bfd_symbol *, enum bfd_print_symbol)'} [-Wcast-function-type] 327 | ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void) | ^ i386msdos.c:169:28: note: in expansion of macro '_bfd_nosymbols_print_symbol' 169 | #define msdos_print_symbol _bfd_nosymbols_print_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4937:3: note: in expansion of macro 'msdos_print_symbol' 4937 | NAME##_print_symbol, \ | ^~~~ i386msdos.c:226:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 226 | BFD_JUMP_TABLE_SYMBOLS (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:329:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asymbol *, symbol_info *)' {aka 'void (*)(bfd *, struct bfd_symbol *, struct _symbol_info *)'} [-Wcast-function-type] 329 | ((void (*) (bfd *, asymbol *, symbol_info *)) bfd_void) | ^ i386msdos.c:170:31: note: in expansion of macro '_bfd_nosymbols_get_symbol_info' 170 | #define msdos_get_symbol_info _bfd_nosymbols_get_symbol_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4938:3: note: in expansion of macro 'msdos_get_symbol_info' 4938 | NAME##_get_symbol_info, \ | ^~~~ i386msdos.c:226:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 226 | BFD_JUMP_TABLE_SYMBOLS (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:331:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char *)' {aka 'int (*)(bfd *, const char *)'} [-Wcast-function-type] 331 | ((bfd_boolean (*) (bfd *, const char *)) bfd_false) | ^ i386msdos.c:175:39: note: in expansion of macro '_bfd_nosymbols_bfd_is_local_label_name' 175 | #define msdos_bfd_is_local_label_name _bfd_nosymbols_bfd_is_local_label_name | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4939:3: note: in expansion of macro 'msdos_bfd_is_local_label_name' 4939 | NAME##_bfd_is_local_label_name, \ | ^~~~ i386msdos.c:226:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 226 | BFD_JUMP_TABLE_SYMBOLS (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ i386msdos.c:174:45: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 174 | #define msdos_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'msdos_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ i386msdos.c:226:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 226 | BFD_JUMP_TABLE_SYMBOLS (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from i386msdos.c:28: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ i386msdos.c:173:26: note: in expansion of macro '_bfd_nosymbols_get_lineno' 173 | #define msdos_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'msdos_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ i386msdos.c:226:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 226 | BFD_JUMP_TABLE_SYMBOLS (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ i386msdos.c:171:33: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 171 | #define msdos_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'msdos_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ i386msdos.c:226:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 226 | BFD_JUMP_TABLE_SYMBOLS (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ i386msdos.c:172:33: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 172 | #define msdos_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'msdos_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ i386msdos.c:226:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 226 | BFD_JUMP_TABLE_SYMBOLS (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ i386msdos.c:176:37: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 176 | #define msdos_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'msdos_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ i386msdos.c:226:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 226 | BFD_JUMP_TABLE_SYMBOLS (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:346:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, bfd_boolean, void **, unsigned int *)' {aka 'long int (*)(bfd *, int, void **, unsigned int *)'} [-Wcast-function-type] 346 | ((long (*) (bfd *, bfd_boolean, void **, unsigned int *)) _bfd_n1) | ^ i386msdos.c:177:32: note: in expansion of macro '_bfd_nosymbols_read_minisymbols' 177 | #define msdos_read_minisymbols _bfd_nosymbols_read_minisymbols | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4946:3: note: in expansion of macro 'msdos_read_minisymbols' 4946 | NAME##_read_minisymbols, \ | ^~~~ i386msdos.c:226:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 226 | BFD_JUMP_TABLE_SYMBOLS (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:348:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, bfd_boolean, const void *, asymbol *)' {aka 'struct bfd_symbol * (*)(bfd *, int, const void *, struct bfd_symbol *)'} [-Wcast-function-type] 348 | ((asymbol *(*) (bfd *, bfd_boolean, const void *, asymbol *)) \ | ^ i386msdos.c:178:36: note: in expansion of macro '_bfd_nosymbols_minisymbol_to_symbol' 178 | #define msdos_minisymbol_to_symbol _bfd_nosymbols_minisymbol_to_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4947:3: note: in expansion of macro 'msdos_minisymbol_to_symbol' 4947 | NAME##_minisymbol_to_symbol | ^~~~ i386msdos.c:226:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 226 | BFD_JUMP_TABLE_SYMBOLS (msdos), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:355:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 355 | ((long (*) (bfd *, asection *)) _bfd_n1) | ^ i386msdos.c:181:37: note: in expansion of macro '_bfd_norelocs_get_reloc_upper_bound' 181 | #define msdos_get_reloc_upper_bound _bfd_norelocs_get_reloc_upper_bound | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4987:3: note: in expansion of macro 'msdos_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ i386msdos.c:227:5: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 227 | BFD_JUMP_TABLE_RELOCS (msdos), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:357:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 357 | ((long (*) (bfd *, asection *, arelent **, asymbol **)) _bfd_n1) | ^ i386msdos.c:180:34: note: in expansion of macro '_bfd_norelocs_canonicalize_reloc' 180 | #define msdos_canonicalize_reloc _bfd_norelocs_canonicalize_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4988:3: note: in expansion of macro 'msdos_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ i386msdos.c:227:5: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 227 | BFD_JUMP_TABLE_RELOCS (msdos), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ i386msdos.c:230:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 230 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ i386msdos.c:230:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 230 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ i386msdos.c:230:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 230 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o i386netbsd.lo i386netbsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c i386netbsd.c -o i386netbsd.o In file included from netbsd.h:55, from i386netbsd.c:38: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:71, from i386netbsd.c:38: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:55, from i386netbsd.c:38: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o i386mach3.lo i386mach3.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c i386mach3.c -o i386mach3.o In file included from i386mach3.c:38: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from i386mach3.c:70: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from i386mach3.c:38: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o i386os9k.lo i386os9k.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c i386os9k.c -o i386os9k.o In file included from i386os9k.c:25: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ i386os9k.c:220:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 220 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ i386os9k.c:220:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 220 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ i386os9k.c:220:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 220 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ i386os9k.c:220:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 220 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ i386os9k.c:220:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 220 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ i386os9k.c:220:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 220 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ i386os9k.c:220:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 220 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ In file included from i386os9k.c:27: libaout.h:617:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 617 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'aout_32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ i386os9k.c:223:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 223 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from i386os9k.c:25: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ libaout.h:594:35: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 594 | #define aout_32_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'aout_32_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ i386os9k.c:223:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 223 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ i386os9k.c:171:39: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 171 | #define aout_32_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'aout_32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ i386os9k.c:223:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 223 | BFD_JUMP_TABLE_SYMBOLS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ i386os9k.c:173:39: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 173 | #define aout_32_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'aout_32_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ i386os9k.c:224:5: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 224 | BFD_JUMP_TABLE_RELOCS (aout_32), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ i386os9k.c:227:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 227 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ i386os9k.c:227:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 227 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ i386os9k.c:227:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 227 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o ieee.lo ieee.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c ieee.c -o ieee.o ieee.c: In function 'parse_expression': ieee.c:529:10: warning: variable 'section_n' set but not used [-Wunused-but-set-variable] 529 | int section_n; | ^~~~~~~~~ ieee.c:635:30: warning: variable 'sy1' set but not used [-Wunused-but-set-variable] 635 | ieee_symbol_index_type sy1; | ^~~ ieee.c:634:17: warning: variable 'section1' set but not used [-Wunused-but-set-variable] 634 | asection *section1; | ^~~~~~~~ ieee.c: In function 'ieee_slurp_external_symbols': ieee.c:768:19: warning: variable 'symbol_type_index' set but not used [-Wunused-but-set-variable] 768 | unsigned int symbol_type_index; | ^~~~~~~~~~~~~~~~~ ieee.c:842:19: warning: variable 'symbol_name_index' set but not used [-Wunused-but-set-variable] 842 | unsigned int symbol_name_index; | ^~~~~~~~~~~~~~~~~ ieee.c: In function 'drop_int': ieee.c:2644:7: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 2644 | int ch; | ^~ In file included from ieee.c:32: ieee.c: At top level: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ ieee.c:3811:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3811 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ ieee.c:3811:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3811 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ ieee.c:3811:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3811 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ ieee.c:3811:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3811 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ ieee.c:3811:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3811 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ ieee.c:3811:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3811 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ ieee.c:3811:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3811 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ ieee.c:3726:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 3726 | ((bfd_boolean (*) \ | ^ bfd.h:4909:3: note: in expansion of macro 'ieee_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ ieee.c:3819:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 3819 | BFD_JUMP_TABLE_ARCHIVE (ieee), | ^~~~~~~~~~~~~~~~~~~~~~ ieee.c:3731:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 3731 | ((bfd_boolean (*) \ | ^ bfd.h:4911:3: note: in expansion of macro 'ieee_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ ieee.c:3819:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 3819 | BFD_JUMP_TABLE_ARCHIVE (ieee), | ^~~~~~~~~~~~~~~~~~~~~~ ieee.c:3739:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 3739 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'ieee_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ ieee.c:3826:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 3826 | BFD_JUMP_TABLE_SYMBOLS (ieee), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ieee.c:32: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ ieee.c:3741:25: note: in expansion of macro '_bfd_nosymbols_get_lineno' 3741 | #define ieee_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'ieee_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ ieee.c:3826:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 3826 | BFD_JUMP_TABLE_SYMBOLS (ieee), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ ieee.c:3742:36: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 3742 | #define ieee_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'ieee_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ ieee.c:3826:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 3826 | BFD_JUMP_TABLE_SYMBOLS (ieee), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ ieee.c:3746:36: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 3746 | #define ieee_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'ieee_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ ieee.c:3830:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 3830 | BFD_JUMP_TABLE_RELOCS (ieee), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ ieee.c:3843:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3843 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ ieee.c:3843:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3843 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ ieee.c:3843:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3843 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ ieee.c: In function 'write_int': ieee.c:2469:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 2469 | #define OUT(x) { *output_ptr++ = (x); if (output_ptr == output_ptr_end) flush (); } | ^ ieee.c:2497:4: note: in expansion of macro 'OUT' 2497 | OUT (value >> 24); | ^~~ ieee.c:2498:2: note: here 2498 | case 3: | ^~~~ ieee.c:2469:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 2469 | #define OUT(x) { *output_ptr++ = (x); if (output_ptr == output_ptr_end) flush (); } | ^ ieee.c:2499:4: note: in expansion of macro 'OUT' 2499 | OUT (value >> 16); | ^~~ ieee.c:2500:2: note: here 2500 | case 2: | ^~~~ ieee.c:2469:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 2469 | #define OUT(x) { *output_ptr++ = (x); if (output_ptr == output_ptr_end) flush (); } | ^ ieee.c:2501:4: note: in expansion of macro 'OUT' 2501 | OUT (value >> 8); | ^~~ ieee.c:2502:2: note: here 2502 | case 1: | ^~~~ ieee.c: In function 'drop_int': ieee.c:2468:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 2468 | #define NEXT() { input_ptr++; if (input_ptr == input_ptr_end) fill (); } | ^ ieee.c:2653:4: note: in expansion of macro 'NEXT' 2653 | NEXT (); | ^~~~ ieee.c:2654:2: note: here 2654 | case 0x83: | ^~~~ ieee.c:2468:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 2468 | #define NEXT() { input_ptr++; if (input_ptr == input_ptr_end) fill (); } | ^ ieee.c:2656:4: note: in expansion of macro 'NEXT' 2656 | NEXT (); | ^~~~ ieee.c:2657:2: note: here 2657 | case 0x82: | ^~~~ ieee.c:2468:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 2468 | #define NEXT() { input_ptr++; if (input_ptr == input_ptr_end) fill (); } | ^ ieee.c:2659:4: note: in expansion of macro 'NEXT' 2659 | NEXT (); | ^~~~ ieee.c:2660:2: note: here 2660 | case 0x81: | ^~~~ ieee.c: In function 'copy_int': ieee.c:2469:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 2469 | #define OUT(x) { *output_ptr++ = (x); if (output_ptr == output_ptr_end) flush (); } | ^ ieee.c:2690:4: note: in expansion of macro 'OUT' 2690 | OUT (ch); | ^~~ ieee.c:2691:2: note: here 2691 | case 0x83: | ^~~~ ieee.c:2469:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 2469 | #define OUT(x) { *output_ptr++ = (x); if (output_ptr == output_ptr_end) flush (); } | ^ ieee.c:2694:4: note: in expansion of macro 'OUT' 2694 | OUT (ch); | ^~~ ieee.c:2695:2: note: here 2695 | case 0x82: | ^~~~ ieee.c:2469:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 2469 | #define OUT(x) { *output_ptr++ = (x); if (output_ptr == output_ptr_end) flush (); } | ^ ieee.c:2698:4: note: in expansion of macro 'OUT' 2698 | OUT (ch); | ^~~ ieee.c:2699:2: note: here 2699 | case 0x81: | ^~~~ ieee.c: In function 'copy_till_end': ieee.c:2468:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 2468 | #define NEXT() { input_ptr++; if (input_ptr == input_ptr_end) fill (); } | ^ ieee.c:2732:4: note: in expansion of macro 'NEXT' 2732 | NEXT (); | ^~~~ ieee.c:2733:2: note: here 2733 | case 0x83: | ^~~~ ieee.c:2468:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 2468 | #define NEXT() { input_ptr++; if (input_ptr == input_ptr_end) fill (); } | ^ ieee.c:2735:4: note: in expansion of macro 'NEXT' 2735 | NEXT (); | ^~~~ ieee.c:2736:2: note: here 2736 | case 0x82: | ^~~~ ieee.c:2468:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 2468 | #define NEXT() { input_ptr++; if (input_ptr == input_ptr_end) fill (); } | ^ ieee.c:2738:4: note: in expansion of macro 'NEXT' 2738 | NEXT (); | ^~~~ ieee.c:2739:2: note: here 2739 | case 0x81: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o m68k4knetbsd.lo m68k4knetbsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c m68k4knetbsd.c -o m68k4knetbsd.o In file included from netbsd.h:55, from m68k4knetbsd.c:36: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:71, from m68k4knetbsd.c:36: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:55, from m68k4knetbsd.c:36: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o m68klinux.lo m68klinux.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c m68klinux.c -o m68klinux.o In file included from m68klinux.c:31: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from m68klinux.c:782: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from m68klinux.c:31: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o m68knetbsd.lo m68knetbsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c m68knetbsd.c -o m68knetbsd.o In file included from netbsd.h:55, from m68knetbsd.c:38: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:71, from m68knetbsd.c:38: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:55, from m68knetbsd.c:38: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o m88kmach3.lo m88kmach3.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c m88kmach3.c -o m88kmach3.o In file included from m88kmach3.c:31: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from m88kmach3.c:42: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from m88kmach3.c:31: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o m88kopenbsd.lo m88kopenbsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c m88kopenbsd.c -o m88kopenbsd.o In file included from netbsd.h:55, from m88kopenbsd.c:33: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:71, from m88kopenbsd.c:33: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:55, from m88kopenbsd.c:33: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o mach-o.lo mach-o.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c mach-o.c -o mach-o.o mach-o.c: In function 'bfd_mach_o_scan_write_thread': mach-o.c:319:16: warning: variable 'nflavours' set but not used [-Wunused-but-set-variable] 319 | unsigned int nflavours; | ^~~~~~~~~ In file included from mach-o.c:24: mach-o-target.c: At top level: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ mach-o.c:44:55: note: in expansion of macro '_bfd_generic_new_section_hook' 44 | #define bfd_mach_o_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'bfd_mach_o_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ mach-o-target.c:103:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 103 | BFD_JUMP_TABLE_GENERIC (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ mach-o.c:67:55: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 67 | #define bfd_mach_o_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'bfd_mach_o_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ mach-o.c:77:55: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 77 | #define bfd_mach_o_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'bfd_mach_o_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ mach-o.c:68:55: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 68 | #define bfd_mach_o_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'bfd_mach_o_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ mach-o.c:69:55: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 69 | #define bfd_mach_o_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'bfd_mach_o_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ mach-o.c:36:55: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 36 | #define bfd_mach_o_construct_extended_name_table _bfd_noarchive_construct_extended_name_table | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4909:3: note: in expansion of macro 'bfd_mach_o_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ mach-o.c:37:55: note: in expansion of macro '_bfd_noarchive_truncate_arname' 37 | #define bfd_mach_o_truncate_arname _bfd_noarchive_truncate_arname | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4910:3: note: in expansion of macro 'bfd_mach_o_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ mach-o.c:38:55: note: in expansion of macro '_bfd_noarchive_write_armap' 38 | #define bfd_mach_o_write_armap _bfd_noarchive_write_armap | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4911:3: note: in expansion of macro 'bfd_mach_o_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ mach-o.c:39:55: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 39 | #define bfd_mach_o_get_elt_at_index _bfd_noarchive_get_elt_at_index | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4914:3: note: in expansion of macro 'bfd_mach_o_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:331:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char *)' {aka 'int (*)(bfd *, const char *)'} [-Wcast-function-type] 331 | ((bfd_boolean (*) (bfd *, const char *)) bfd_false) | ^ mach-o.c:48:55: note: in expansion of macro '_bfd_nosymbols_bfd_is_local_label_name' 48 | #define bfd_mach_o_bfd_is_local_label_name _bfd_nosymbols_bfd_is_local_label_name | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4939:3: note: in expansion of macro 'bfd_mach_o_bfd_is_local_label_name' 4939 | NAME##_bfd_is_local_label_name, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ mach-o.c:47:56: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 47 | #define bfd_mach_o_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_mach_o_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from mach-o.c:24: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ mach-o.c:49:55: note: in expansion of macro '_bfd_nosymbols_get_lineno' 49 | #define bfd_mach_o_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'bfd_mach_o_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ mach-o.c:50:55: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 50 | #define bfd_mach_o_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'bfd_mach_o_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ mach-o.c:51:55: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 51 | #define bfd_mach_o_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'bfd_mach_o_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ mach-o.c:52:55: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 52 | #define bfd_mach_o_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'bfd_mach_o_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:355:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 355 | ((long (*) (bfd *, asection *)) _bfd_n1) | ^ mach-o.c:55:55: note: in expansion of macro '_bfd_norelocs_get_reloc_upper_bound' 55 | #define bfd_mach_o_get_reloc_upper_bound _bfd_norelocs_get_reloc_upper_bound | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4987:3: note: in expansion of macro 'bfd_mach_o_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ mach-o-target.c:108:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 108 | BFD_JUMP_TABLE_RELOCS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:357:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 357 | ((long (*) (bfd *, asection *, arelent **, asymbol **)) _bfd_n1) | ^ mach-o.c:56:55: note: in expansion of macro '_bfd_norelocs_canonicalize_reloc' 56 | #define bfd_mach_o_canonicalize_reloc _bfd_norelocs_canonicalize_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4988:3: note: in expansion of macro 'bfd_mach_o_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ mach-o-target.c:108:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 108 | BFD_JUMP_TABLE_RELOCS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ mach-o.c:57:55: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 57 | #define bfd_mach_o_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'bfd_mach_o_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ mach-o-target.c:108:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 108 | BFD_JUMP_TABLE_RELOCS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ mach-o-target.c:111:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 111 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ mach-o-target.c:111:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 111 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ mach-o-target.c:111:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 111 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ mach-o.c:44:55: note: in expansion of macro '_bfd_generic_new_section_hook' 44 | #define bfd_mach_o_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'bfd_mach_o_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ mach-o-target.c:103:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 103 | BFD_JUMP_TABLE_GENERIC (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ mach-o.c:67:55: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 67 | #define bfd_mach_o_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'bfd_mach_o_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ mach-o.c:77:55: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 77 | #define bfd_mach_o_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'bfd_mach_o_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ mach-o.c:68:55: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 68 | #define bfd_mach_o_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'bfd_mach_o_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ mach-o.c:69:55: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 69 | #define bfd_mach_o_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'bfd_mach_o_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ mach-o.c:36:55: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 36 | #define bfd_mach_o_construct_extended_name_table _bfd_noarchive_construct_extended_name_table | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4909:3: note: in expansion of macro 'bfd_mach_o_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ mach-o.c:37:55: note: in expansion of macro '_bfd_noarchive_truncate_arname' 37 | #define bfd_mach_o_truncate_arname _bfd_noarchive_truncate_arname | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4910:3: note: in expansion of macro 'bfd_mach_o_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ mach-o.c:38:55: note: in expansion of macro '_bfd_noarchive_write_armap' 38 | #define bfd_mach_o_write_armap _bfd_noarchive_write_armap | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4911:3: note: in expansion of macro 'bfd_mach_o_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ mach-o.c:39:55: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 39 | #define bfd_mach_o_get_elt_at_index _bfd_noarchive_get_elt_at_index | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4914:3: note: in expansion of macro 'bfd_mach_o_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:331:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char *)' {aka 'int (*)(bfd *, const char *)'} [-Wcast-function-type] 331 | ((bfd_boolean (*) (bfd *, const char *)) bfd_false) | ^ mach-o.c:48:55: note: in expansion of macro '_bfd_nosymbols_bfd_is_local_label_name' 48 | #define bfd_mach_o_bfd_is_local_label_name _bfd_nosymbols_bfd_is_local_label_name | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4939:3: note: in expansion of macro 'bfd_mach_o_bfd_is_local_label_name' 4939 | NAME##_bfd_is_local_label_name, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ mach-o.c:47:56: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 47 | #define bfd_mach_o_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_mach_o_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from mach-o.c:24: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ mach-o.c:49:55: note: in expansion of macro '_bfd_nosymbols_get_lineno' 49 | #define bfd_mach_o_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'bfd_mach_o_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ mach-o.c:50:55: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 50 | #define bfd_mach_o_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'bfd_mach_o_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ mach-o.c:51:55: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 51 | #define bfd_mach_o_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'bfd_mach_o_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ mach-o.c:52:55: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 52 | #define bfd_mach_o_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'bfd_mach_o_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:355:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 355 | ((long (*) (bfd *, asection *)) _bfd_n1) | ^ mach-o.c:55:55: note: in expansion of macro '_bfd_norelocs_get_reloc_upper_bound' 55 | #define bfd_mach_o_get_reloc_upper_bound _bfd_norelocs_get_reloc_upper_bound | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4987:3: note: in expansion of macro 'bfd_mach_o_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ mach-o-target.c:108:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 108 | BFD_JUMP_TABLE_RELOCS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:357:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 357 | ((long (*) (bfd *, asection *, arelent **, asymbol **)) _bfd_n1) | ^ mach-o.c:56:55: note: in expansion of macro '_bfd_norelocs_canonicalize_reloc' 56 | #define bfd_mach_o_canonicalize_reloc _bfd_norelocs_canonicalize_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4988:3: note: in expansion of macro 'bfd_mach_o_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ mach-o-target.c:108:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 108 | BFD_JUMP_TABLE_RELOCS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ mach-o.c:57:55: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 57 | #define bfd_mach_o_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'bfd_mach_o_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ mach-o-target.c:108:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 108 | BFD_JUMP_TABLE_RELOCS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ mach-o-target.c:111:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 111 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ mach-o-target.c:111:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 111 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ mach-o-target.c:111:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 111 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ mach-o.c:44:55: note: in expansion of macro '_bfd_generic_new_section_hook' 44 | #define bfd_mach_o_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'bfd_mach_o_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ mach-o-target.c:103:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 103 | BFD_JUMP_TABLE_GENERIC (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ mach-o.c:67:55: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 67 | #define bfd_mach_o_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'bfd_mach_o_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ mach-o.c:77:55: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 77 | #define bfd_mach_o_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'bfd_mach_o_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ mach-o.c:68:55: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 68 | #define bfd_mach_o_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'bfd_mach_o_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ mach-o.c:69:55: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 69 | #define bfd_mach_o_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'bfd_mach_o_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ mach-o-target.c:104:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 104 | BFD_JUMP_TABLE_COPY (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ mach-o.c:36:55: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 36 | #define bfd_mach_o_construct_extended_name_table _bfd_noarchive_construct_extended_name_table | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4909:3: note: in expansion of macro 'bfd_mach_o_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ mach-o.c:37:55: note: in expansion of macro '_bfd_noarchive_truncate_arname' 37 | #define bfd_mach_o_truncate_arname _bfd_noarchive_truncate_arname | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4910:3: note: in expansion of macro 'bfd_mach_o_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ mach-o.c:38:55: note: in expansion of macro '_bfd_noarchive_write_armap' 38 | #define bfd_mach_o_write_armap _bfd_noarchive_write_armap | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4911:3: note: in expansion of macro 'bfd_mach_o_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ mach-o.c:39:55: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 39 | #define bfd_mach_o_get_elt_at_index _bfd_noarchive_get_elt_at_index | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4914:3: note: in expansion of macro 'bfd_mach_o_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ mach-o-target.c:106:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 106 | BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:331:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char *)' {aka 'int (*)(bfd *, const char *)'} [-Wcast-function-type] 331 | ((bfd_boolean (*) (bfd *, const char *)) bfd_false) | ^ mach-o.c:48:55: note: in expansion of macro '_bfd_nosymbols_bfd_is_local_label_name' 48 | #define bfd_mach_o_bfd_is_local_label_name _bfd_nosymbols_bfd_is_local_label_name | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4939:3: note: in expansion of macro 'bfd_mach_o_bfd_is_local_label_name' 4939 | NAME##_bfd_is_local_label_name, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ mach-o.c:47:56: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 47 | #define bfd_mach_o_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_mach_o_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from mach-o.c:24: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ mach-o.c:49:55: note: in expansion of macro '_bfd_nosymbols_get_lineno' 49 | #define bfd_mach_o_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'bfd_mach_o_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ mach-o.c:50:55: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 50 | #define bfd_mach_o_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'bfd_mach_o_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ mach-o.c:51:55: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 51 | #define bfd_mach_o_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'bfd_mach_o_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ mach-o.c:52:55: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 52 | #define bfd_mach_o_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'bfd_mach_o_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ mach-o-target.c:107:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 107 | BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:355:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 355 | ((long (*) (bfd *, asection *)) _bfd_n1) | ^ mach-o.c:55:55: note: in expansion of macro '_bfd_norelocs_get_reloc_upper_bound' 55 | #define bfd_mach_o_get_reloc_upper_bound _bfd_norelocs_get_reloc_upper_bound | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4987:3: note: in expansion of macro 'bfd_mach_o_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ mach-o-target.c:108:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 108 | BFD_JUMP_TABLE_RELOCS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:357:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 357 | ((long (*) (bfd *, asection *, arelent **, asymbol **)) _bfd_n1) | ^ mach-o.c:56:55: note: in expansion of macro '_bfd_norelocs_canonicalize_reloc' 56 | #define bfd_mach_o_canonicalize_reloc _bfd_norelocs_canonicalize_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4988:3: note: in expansion of macro 'bfd_mach_o_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ mach-o-target.c:108:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 108 | BFD_JUMP_TABLE_RELOCS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ mach-o.c:57:55: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 57 | #define bfd_mach_o_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'bfd_mach_o_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ mach-o-target.c:108:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 108 | BFD_JUMP_TABLE_RELOCS (bfd_mach_o), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ mach-o-target.c:111:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 111 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ mach-o-target.c:111:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 111 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ mach-o-target.c:111:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 111 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o mipsbsd.lo mipsbsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c mipsbsd.c -o mipsbsd.o In file included from mipsbsd.c:45: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ mipsbsd.c:429:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 429 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ mipsbsd.c:429:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 429 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ mipsbsd.c:429:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 429 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ mipsbsd.c:429:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 429 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ mipsbsd.c:429:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 429 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ mipsbsd.c:429:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 429 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from mipsbsd.c:70: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ mipsbsd.c:432:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 432 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from mipsbsd.c:45: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ mipsbsd.c:432:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 432 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ mipsbsd.c:436:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 436 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ mipsbsd.c:436:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 436 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ mipsbsd.c:436:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 436 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ mipsbsd.c:470:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 470 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ mipsbsd.c:470:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 470 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ mipsbsd.c:470:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 470 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ mipsbsd.c:470:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 470 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ mipsbsd.c:470:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 470 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ mipsbsd.c:470:5: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 470 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from mipsbsd.c:70: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ mipsbsd.c:473:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 473 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from mipsbsd.c:45: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ mipsbsd.c:473:5: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 473 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ mipsbsd.c:477:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 477 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ mipsbsd.c:477:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 477 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ mipsbsd.c:477:5: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 477 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o newsos3.lo newsos3.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c newsos3.c -o newsos3.o In file included from newsos3.c:38: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from newsos3.c:44: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from newsos3.c:38: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o nlm.lo nlm.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c nlm.c -o nlm.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o nlm32-i386.lo nlm32-i386.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c nlm32-i386.c -o nlm32-i386.o In file included from nlm32-i386.c:23: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ bfd.h:4838:3: note: in expansion of macro '_bfd_generic_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ nlm-target.h:234:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 234 | BFD_JUMP_TABLE_GENERIC (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ nlm-target.h:237:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 237 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ nlm-target.h:237:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 237 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ nlm-target.h:237:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 237 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ nlm-target.h:237:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 237 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ nlm-target.h:237:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 237 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from nlm32-i386.c:429: nlm-target.h:29:43: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 29 | #define nlm_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'nlm_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ nlm-target.h:238:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 238 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from nlm32-i386.c:23: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ nlm-target.h:30:49: note: in expansion of macro '_bfd_nosymbols_get_lineno' 30 | #define nlm_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'nlm_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ nlm-target.h:238:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 238 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ nlm-target.h:31:49: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 31 | #define nlm_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'nlm_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ nlm-target.h:238:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 238 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ nlm-target.h:32:49: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 32 | #define nlm_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'nlm_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ nlm-target.h:238:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 238 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ nlm-target.h:33:49: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 33 | #define nlm_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'nlm_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ nlm-target.h:238:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 238 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:381:37: warning: cast between incompatible function types from 'int (*)(bfd *)' to 'int (*)(bfd *, bfd_boolean)' {aka 'int (*)(bfd *, int)'} [-Wcast-function-type] 381 | #define _bfd_nolink_sizeof_headers ((int (*) (bfd *, bfd_boolean)) bfd_0) | ^ nlm-target.h:42:49: note: in expansion of macro '_bfd_nolink_sizeof_headers' 42 | #define nlm_sizeof_headers _bfd_nolink_sizeof_headers | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5010:3: note: in expansion of macro 'nlm_sizeof_headers' 5010 | NAME##_sizeof_headers, \ | ^~~~ nlm-target.h:241:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 241 | BFD_JUMP_TABLE_LINK (nlm), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ nlm-target.h:242:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 242 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ nlm-target.h:242:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 242 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ nlm-target.h:242:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 242 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o nlm32-sparc.lo nlm32-sparc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c nlm32-sparc.c -o nlm32-sparc.o nlm32-sparc.c: In function 'nlm_sparc_read_reloc': nlm32-sparc.c:98:24: warning: variable 'data_sec' set but not used [-Wunused-but-set-variable] 98 | asection *code_sec, *data_sec; | ^~~~~~~~ In file included from nlm32-sparc.c:23: nlm-target.h: At top level: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ bfd.h:4838:3: note: in expansion of macro '_bfd_generic_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ nlm-target.h:141:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 141 | BFD_JUMP_TABLE_GENERIC (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ nlm-target.h:144:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 144 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ nlm-target.h:144:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 144 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ nlm-target.h:144:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 144 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ nlm-target.h:144:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 144 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ nlm-target.h:144:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 144 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from nlm32-sparc.c:378: nlm-target.h:29:43: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 29 | #define nlm_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'nlm_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ nlm-target.h:145:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 145 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from nlm32-sparc.c:23: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ nlm-target.h:30:49: note: in expansion of macro '_bfd_nosymbols_get_lineno' 30 | #define nlm_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'nlm_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ nlm-target.h:145:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 145 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ nlm-target.h:31:49: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 31 | #define nlm_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'nlm_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ nlm-target.h:145:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 145 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ nlm-target.h:32:49: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 32 | #define nlm_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'nlm_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ nlm-target.h:145:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 145 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ nlm-target.h:33:49: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 33 | #define nlm_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'nlm_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ nlm-target.h:145:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 145 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:381:37: warning: cast between incompatible function types from 'int (*)(bfd *)' to 'int (*)(bfd *, bfd_boolean)' {aka 'int (*)(bfd *, int)'} [-Wcast-function-type] 381 | #define _bfd_nolink_sizeof_headers ((int (*) (bfd *, bfd_boolean)) bfd_0) | ^ nlm-target.h:42:49: note: in expansion of macro '_bfd_nolink_sizeof_headers' 42 | #define nlm_sizeof_headers _bfd_nolink_sizeof_headers | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5010:3: note: in expansion of macro 'nlm_sizeof_headers' 5010 | NAME##_sizeof_headers, \ | ^~~~ nlm-target.h:148:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 148 | BFD_JUMP_TABLE_LINK (nlm), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ nlm-target.h:149:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 149 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ nlm-target.h:149:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 149 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ nlm-target.h:149:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 149 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o nlm32-ppc.lo nlm32-ppc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c nlm32-ppc.c -o nlm32-ppc.o In file included from nlm32-ppc.c:23: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ bfd.h:4838:3: note: in expansion of macro '_bfd_generic_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ nlm-target.h:141:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 141 | BFD_JUMP_TABLE_GENERIC (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ nlm-target.h:142:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 142 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ nlm-target.h:144:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 144 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ nlm-target.h:144:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 144 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ nlm-target.h:144:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 144 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ nlm-target.h:144:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 144 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ nlm-target.h:144:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 144 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from nlm32-ppc.c:986: nlm-target.h:29:43: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 29 | #define nlm_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'nlm_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ nlm-target.h:145:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 145 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from nlm32-ppc.c:23: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ nlm-target.h:30:49: note: in expansion of macro '_bfd_nosymbols_get_lineno' 30 | #define nlm_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'nlm_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ nlm-target.h:145:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 145 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ nlm-target.h:31:49: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 31 | #define nlm_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'nlm_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ nlm-target.h:145:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 145 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ nlm-target.h:32:49: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 32 | #define nlm_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'nlm_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ nlm-target.h:145:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 145 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ nlm-target.h:33:49: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 33 | #define nlm_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'nlm_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ nlm-target.h:145:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 145 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:381:37: warning: cast between incompatible function types from 'int (*)(bfd *)' to 'int (*)(bfd *, bfd_boolean)' {aka 'int (*)(bfd *, int)'} [-Wcast-function-type] 381 | #define _bfd_nolink_sizeof_headers ((int (*) (bfd *, bfd_boolean)) bfd_0) | ^ nlm-target.h:42:49: note: in expansion of macro '_bfd_nolink_sizeof_headers' 42 | #define nlm_sizeof_headers _bfd_nolink_sizeof_headers | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5010:3: note: in expansion of macro 'nlm_sizeof_headers' 5010 | NAME##_sizeof_headers, \ | ^~~~ nlm-target.h:148:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 148 | BFD_JUMP_TABLE_LINK (nlm), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ nlm-target.h:149:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 149 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ nlm-target.h:149:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 149 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ nlm-target.h:149:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 149 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o nlm32.lo nlm32.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c nlm32.c -o nlm32.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o ns32knetbsd.lo ns32knetbsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c ns32knetbsd.c -o ns32knetbsd.o In file included from netbsd.h:55, from ns32knetbsd.c:52: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:71, from ns32knetbsd.c:52: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:55, from ns32knetbsd.c:52: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o oasys.lo oasys.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c oasys.c -o oasys.o In file included from oasys.c:26: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ oasys.c:1241:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1241 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ oasys.c:1241:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1241 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ oasys.c:1241:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1241 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ oasys.c:1241:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1241 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ oasys.c:1241:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1241 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ oasys.c:1241:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1241 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ oasys.c:1241:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1241 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ oasys.c:1172:53: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 1172 | #define oasys_construct_extended_name_table ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) bfd_true) | ^ bfd.h:4909:3: note: in expansion of macro 'oasys_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ oasys.c:1243:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1243 | BFD_JUMP_TABLE_ARCHIVE (oasys), | ^~~~~~~~~~~~~~~~~~~~~~ oasys.c:1174:53: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 1174 | #define oasys_write_armap ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) bfd_true) | ^ bfd.h:4911:3: note: in expansion of macro 'oasys_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ oasys.c:1243:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1243 | BFD_JUMP_TABLE_ARCHIVE (oasys), | ^~~~~~~~~~~~~~~~~~~~~~ oasys.c:1179:53: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 1179 | #define oasys_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'oasys_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ oasys.c:1244:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1244 | BFD_JUMP_TABLE_SYMBOLS (oasys), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from oasys.c:26: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ oasys.c:1180:52: note: in expansion of macro '_bfd_nosymbols_get_lineno' 1180 | #define oasys_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'oasys_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ oasys.c:1244:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1244 | BFD_JUMP_TABLE_SYMBOLS (oasys), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ oasys.c:1181:52: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 1181 | #define oasys_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'oasys_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ oasys.c:1244:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1244 | BFD_JUMP_TABLE_SYMBOLS (oasys), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ oasys.c:1184:52: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 1184 | #define oasys_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'oasys_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ oasys.c:1245:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1245 | BFD_JUMP_TABLE_RELOCS (oasys), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ oasys.c:1248:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1248 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ oasys.c:1248:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1248 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ oasys.c:1248:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1248 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ oasys.c: In function 'oasys_object_p': oasys.c:615:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 615 | oasys->first_data_record = bfd_tell (abfd) - record.header.length; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oasys.c:616:2: note: here 616 | case oasys_record_is_debug_enum: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pc532-mach.lo pc532-mach.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pc532-mach.c -o pc532-mach.o In file included from pc532-mach.c:66: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from pc532-mach.c:114: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from pc532-mach.c:66: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pdp11.lo pdp11.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pdp11.c -o pdp11.o pdp11.c: In function 'pdp11_aout_link_input_section': pdp11.c:3219:17: warning: variable 'reloc_count' set but not used [-Wunused-but-set-variable] 3219 | bfd_size_type reloc_count; | ^~~~~~~~~~~ pdp11.c: In function 'aout_link_input_bfd': pdp11.c:3573:17: warning: variable 'sym_count' set but not used [-Wunused-but-set-variable] 3573 | bfd_size_type sym_count; | ^~~~~~~~~ In file included from pdp11.c:127: pdp11.c: At top level: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ pdp11.c:4517:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 4517 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ pdp11.c:4517:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 4517 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ pdp11.c:4517:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 4517 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ pdp11.c:4517:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 4517 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ pdp11.c:4517:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 4517 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ pdp11.c:4517:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 4517 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from pdp11.c:140: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ pdp11.c:4520:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 4520 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from pdp11.c:127: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ pdp11.c:4520:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 4520 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ pdp11.c:4524:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 4524 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ pdp11.c:4524:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 4524 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ pdp11.c:4524:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 4524 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ pdp11.c: In function 'aout_link_write_other_symbol': pdp11.c:2962:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 2962 | val = 0; | ~~~~^~~ pdp11.c:2963:5: note: here 2963 | case bfd_link_hash_indirect: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pef.lo pef.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pef.c -o pef.o pef.c: In function 'bfd_pef_parse_traceback_table': pef.c:102:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 102 | if (! table.flags1 & TB_HAS_TBOFF) | ^~~~~~~~~~~~~~ In file included from pef.c:26: pef.c: At top level: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ pef.c:35:53: note: in expansion of macro '_bfd_generic_new_section_hook' 35 | #define bfd_pef_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'bfd_pef_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ pef.c:1049:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 1049 | BFD_JUMP_TABLE_GENERIC (bfd_pef), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ pef.c:1050:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1050 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ pef.c:1050:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1050 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ pef.c:1050:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1050 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ pef.c:1050:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1050 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ pef.c:1050:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1050 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ pef.c:1050:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1050 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ pef.c:1050:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1050 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ pef.c:1052:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1052 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ pef.c:1052:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1052 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ pef.c:1052:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1052 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ pef.c:1052:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1052 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ pef.c:1052:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1052 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ pef.c:37:47: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 37 | #define bfd_pef_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_pef_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ pef.c:1053:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1053 | BFD_JUMP_TABLE_SYMBOLS (bfd_pef), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from pef.c:26: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ pef.c:38:53: note: in expansion of macro '_bfd_nosymbols_get_lineno' 38 | #define bfd_pef_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'bfd_pef_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ pef.c:1053:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1053 | BFD_JUMP_TABLE_SYMBOLS (bfd_pef), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ pef.c:39:53: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 39 | #define bfd_pef_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'bfd_pef_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ pef.c:1053:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1053 | BFD_JUMP_TABLE_SYMBOLS (bfd_pef), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ pef.c:40:53: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 40 | #define bfd_pef_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'bfd_pef_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ pef.c:1053:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1053 | BFD_JUMP_TABLE_SYMBOLS (bfd_pef), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ pef.c:41:53: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 41 | #define bfd_pef_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'bfd_pef_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ pef.c:1053:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1053 | BFD_JUMP_TABLE_SYMBOLS (bfd_pef), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:355:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 355 | ((long (*) (bfd *, asection *)) _bfd_n1) | ^ pef.c:44:53: note: in expansion of macro '_bfd_norelocs_get_reloc_upper_bound' 44 | #define bfd_pef_get_reloc_upper_bound _bfd_norelocs_get_reloc_upper_bound | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4987:3: note: in expansion of macro 'bfd_pef_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ pef.c:1054:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1054 | BFD_JUMP_TABLE_RELOCS (bfd_pef), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:357:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 357 | ((long (*) (bfd *, asection *, arelent **, asymbol **)) _bfd_n1) | ^ pef.c:45:53: note: in expansion of macro '_bfd_norelocs_canonicalize_reloc' 45 | #define bfd_pef_canonicalize_reloc _bfd_norelocs_canonicalize_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4988:3: note: in expansion of macro 'bfd_pef_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ pef.c:1054:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1054 | BFD_JUMP_TABLE_RELOCS (bfd_pef), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ pef.c:46:53: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 46 | #define bfd_pef_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'bfd_pef_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ pef.c:1054:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1054 | BFD_JUMP_TABLE_RELOCS (bfd_pef), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ pef.c:1057:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1057 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ pef.c:1057:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1057 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ pef.c:1057:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1057 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ pef.c:1066:53: note: in expansion of macro '_bfd_generic_new_section_hook' 1066 | #define bfd_pef_xlib_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'bfd_pef_xlib_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ pef.c:1201:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 1201 | BFD_JUMP_TABLE_GENERIC (bfd_pef_xlib), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ pef.c:1202:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1202 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ pef.c:1202:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1202 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ pef.c:1202:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1202 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ pef.c:1202:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1202 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ pef.c:1202:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1202 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ pef.c:1202:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1202 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ pef.c:1202:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1202 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ pef.c:1204:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1204 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ pef.c:1204:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1204 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ pef.c:1204:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1204 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ pef.c:1204:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1204 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ pef.c:1204:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 1204 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:324:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 324 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:4935:3: note: in expansion of macro '_bfd_nosymbols_canonicalize_symtab' 4935 | NAME##_canonicalize_symtab, \ | ^~~~ pef.c:1205:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1205 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:327:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, void *, asymbol *, bfd_print_symbol_type)' {aka 'void (*)(bfd *, void *, struct bfd_symbol *, enum bfd_print_symbol)'} [-Wcast-function-type] 327 | ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void) | ^ bfd.h:4937:3: note: in expansion of macro '_bfd_nosymbols_print_symbol' 4937 | NAME##_print_symbol, \ | ^~~~ pef.c:1205:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1205 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:329:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asymbol *, symbol_info *)' {aka 'void (*)(bfd *, struct bfd_symbol *, struct _symbol_info *)'} [-Wcast-function-type] 329 | ((void (*) (bfd *, asymbol *, symbol_info *)) bfd_void) | ^ bfd.h:4938:3: note: in expansion of macro '_bfd_nosymbols_get_symbol_info' 4938 | NAME##_get_symbol_info, \ | ^~~~ pef.c:1205:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1205 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:331:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char *)' {aka 'int (*)(bfd *, const char *)'} [-Wcast-function-type] 331 | ((bfd_boolean (*) (bfd *, const char *)) bfd_false) | ^ bfd.h:4939:3: note: in expansion of macro '_bfd_nosymbols_bfd_is_local_label_name' 4939 | NAME##_bfd_is_local_label_name, \ | ^~~~ pef.c:1205:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1205 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:333:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 333 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro '_bfd_nosymbols_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ pef.c:1205:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1205 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ bfd.h:4941:3: note: in expansion of macro '_bfd_nosymbols_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ pef.c:1205:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1205 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ bfd.h:4942:3: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ pef.c:1205:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1205 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ bfd.h:4944:3: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ pef.c:1205:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1205 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ pef.c:1205:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1205 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:346:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, bfd_boolean, void **, unsigned int *)' {aka 'long int (*)(bfd *, int, void **, unsigned int *)'} [-Wcast-function-type] 346 | ((long (*) (bfd *, bfd_boolean, void **, unsigned int *)) _bfd_n1) | ^ bfd.h:4946:3: note: in expansion of macro '_bfd_nosymbols_read_minisymbols' 4946 | NAME##_read_minisymbols, \ | ^~~~ pef.c:1205:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1205 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:348:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, bfd_boolean, const void *, asymbol *)' {aka 'struct bfd_symbol * (*)(bfd *, int, const void *, struct bfd_symbol *)'} [-Wcast-function-type] 348 | ((asymbol *(*) (bfd *, bfd_boolean, const void *, asymbol *)) \ | ^ bfd.h:4947:3: note: in expansion of macro '_bfd_nosymbols_minisymbol_to_symbol' 4947 | NAME##_minisymbol_to_symbol | ^~~~ pef.c:1205:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1205 | BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:355:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 355 | ((long (*) (bfd *, asection *)) _bfd_n1) | ^ bfd.h:4987:3: note: in expansion of macro '_bfd_norelocs_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ pef.c:1206:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1206 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:357:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 357 | ((long (*) (bfd *, asection *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:4988:3: note: in expansion of macro '_bfd_norelocs_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ pef.c:1206:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1206 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ bfd.h:4989:3: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ pef.c:1206:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 1206 | BFD_JUMP_TABLE_RELOCS (_bfd_norelocs), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:365:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, enum bfd_architecture, long unsigned int)' {aka 'int (*)(bfd *, enum bfd_architecture, long unsigned int)'} [-Wcast-function-type] 365 | ((bfd_boolean (*) (bfd *, enum bfd_architecture, unsigned long)) \ | ^ bfd.h:5000:3: note: in expansion of macro '_bfd_nowrite_set_arch_mach' 5000 | NAME##_set_arch_mach, \ | ^~~~ pef.c:1207:3: note: in expansion of macro 'BFD_JUMP_TABLE_WRITE' 1207 | BFD_JUMP_TABLE_WRITE (_bfd_nowrite), | ^~~~~~~~~~~~~~~~~~~~ libbfd.h:368:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, const void *, file_ptr, bfd_size_type)' {aka 'int (*)(bfd *, struct bfd_section *, const void *, long int, long unsigned int)'} [-Wcast-function-type] 368 | ((bfd_boolean (*) (bfd *, asection *, const void *, file_ptr, bfd_size_type)) \ | ^ bfd.h:5001:3: note: in expansion of macro '_bfd_nowrite_set_section_contents' 5001 | NAME##_set_section_contents | ^~~~ pef.c:1207:3: note: in expansion of macro 'BFD_JUMP_TABLE_WRITE' 1207 | BFD_JUMP_TABLE_WRITE (_bfd_nowrite), | ^~~~~~~~~~~~~~~~~~~~ libbfd.h:381:37: warning: cast between incompatible function types from 'int (*)(bfd *)' to 'int (*)(bfd *, bfd_boolean)' {aka 'int (*)(bfd *, int)'} [-Wcast-function-type] 381 | #define _bfd_nolink_sizeof_headers ((int (*) (bfd *, bfd_boolean)) bfd_0) | ^ bfd.h:5010:3: note: in expansion of macro '_bfd_nolink_sizeof_headers' 5010 | NAME##_sizeof_headers, \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:383:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd_byte * (*)(bfd *, struct bfd_link_info *, struct bfd_link_order *, bfd_byte *, bfd_boolean, asymbol **)' {aka 'unsigned char * (*)(bfd *, struct bfd_link_info *, struct bfd_link_order *, unsigned char *, int, struct bfd_symbol **)'} [-Wcast-function-type] 383 | ((bfd_byte *(*) (bfd *, struct bfd_link_info *, struct bfd_link_order *, \ | ^ bfd.h:5011:3: note: in expansion of macro '_bfd_nolink_bfd_get_relocated_section_contents' 5011 | NAME##_bfd_get_relocated_section_contents, \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:387:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, struct bfd_link_info *, bfd_boolean *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_link_info *, int *)'} [-Wcast-function-type] 387 | ((bfd_boolean (*) \ | ^ bfd.h:5012:3: note: in expansion of macro '_bfd_nolink_bfd_relax_section' 5012 | NAME##_bfd_relax_section, \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:407:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct bfd_link_info *)' {aka 'int (*)(bfd *, struct bfd_link_info *)'} [-Wcast-function-type] 407 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false) | ^ bfd.h:5015:3: note: in expansion of macro '_bfd_nolink_bfd_link_add_symbols' 5015 | NAME##_bfd_link_add_symbols, \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:409:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(asection *, struct bfd_link_info *)' {aka 'void (*)(struct bfd_section *, struct bfd_link_info *)'} [-Wcast-function-type] 409 | ((void (*) (asection *, struct bfd_link_info *)) bfd_void) | ^ bfd.h:5016:3: note: in expansion of macro '_bfd_nolink_bfd_link_just_syms' 5016 | NAME##_bfd_link_just_syms, \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:411:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct bfd_link_info *)' {aka 'int (*)(bfd *, struct bfd_link_info *)'} [-Wcast-function-type] 411 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false) | ^ bfd.h:5017:3: note: in expansion of macro '_bfd_nolink_bfd_final_link' 5017 | NAME##_bfd_final_link, \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:413:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct bfd_section *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 413 | ((bfd_boolean (*) (bfd *, struct bfd_section *)) bfd_false) | ^ bfd.h:5018:3: note: in expansion of macro '_bfd_nolink_bfd_link_split_section' 5018 | NAME##_bfd_link_split_section, \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:391:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct bfd_link_info *)' {aka 'int (*)(bfd *, struct bfd_link_info *)'} [-Wcast-function-type] 391 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) \ | ^ bfd.h:5019:3: note: in expansion of macro '_bfd_nolink_bfd_gc_sections' 5019 | NAME##_bfd_gc_sections, \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:394:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct bfd_link_info *)' {aka 'int (*)(bfd *, struct bfd_link_info *)'} [-Wcast-function-type] 394 | ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) \ | ^ bfd.h:5020:3: note: in expansion of macro '_bfd_nolink_bfd_merge_sections' 5020 | NAME##_bfd_merge_sections, \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:397:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const struct bfd_section *)' {aka 'int (*)(bfd *, const struct bfd_section *)'} [-Wcast-function-type] 397 | ((bfd_boolean (*) (bfd *, const struct bfd_section *)) \ | ^ bfd.h:5021:3: note: in expansion of macro '_bfd_nolink_bfd_is_group_section' 5021 | NAME##_bfd_is_group_section, \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:400:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct bfd_section *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 400 | ((bfd_boolean (*) (bfd *, struct bfd_section *)) \ | ^ bfd.h:5022:3: note: in expansion of macro '_bfd_nolink_bfd_discard_group' 5022 | NAME##_bfd_discard_group, \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:415:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, struct bfd_section *)' [-Wcast-function-type] 415 | ((void (*) (bfd *, struct bfd_section *)) bfd_void) | ^ bfd.h:5023:3: note: in expansion of macro '_bfd_nolink_section_already_linked' 5023 | NAME##_section_already_linked \ | ^~~~ pef.c:1208:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 1208 | BFD_JUMP_TABLE_LINK (_bfd_nolink), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ pef.c:1209:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1209 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ pef.c:1209:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1209 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ pef.c:1209:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1209 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pe-arm.lo pe-arm.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pe-arm.c -o pe-arm.o In file included from pe-arm.c:20: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pe-arm.c:47: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pe-arm.c:47: libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pe-arm.c:47: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pe-arm.c:47: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pe-arm.c:47: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pe-arm.c:47: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pei-arm.lo pei-arm.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pei-arm.c -o pei-arm.o In file included from pei-arm.c:20: peicode.h: In function 'pe_ILF_make_a_section': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ peicode.h:595:3: note: in expansion of macro 'bfd_set_section_alignment' 595 | bfd_set_section_alignment (vars->abfd, sec, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pei-arm.c:35: coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pei-arm.c:35: libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pei-arm.c:35: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pei-arm.c:35: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2509:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 2509 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_BIG_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:2478, from pei-arm.c:35: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-arm.c:25, from pei-arm.c:35: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-arm.c:2510:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 2510 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, EXTRA_S_FLAGS, TARGET_UNDERSCORE, & TARGET_LITTLE_SYM, COFF_SWAP_TABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pe-i386.lo pe-i386.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pe-i386.c -o pe-i386.o In file included from pe-i386.c:20: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from pe-i386.c:50: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from pe-i386.c:50: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from pe-i386.c:50: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-i386.c:662:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 662 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from pe-i386.c:50: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pei-i386.lo pei-i386.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pei-i386.c -o pei-i386.o In file included from pei-i386.c:20: peicode.h: In function 'pe_ILF_make_a_section': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ peicode.h:595:3: note: in expansion of macro 'bfd_set_section_alignment' 595 | bfd_set_section_alignment (vars->abfd, sec, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from pei-i386.c:51: coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from pei-i386.c:51: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-i386.c:659:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 659 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:607, from pei-i386.c:51: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-i386.c:662:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 662 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-i386.c:25, from pei-i386.c:51: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-i386.c:666:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 666 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pe-mcore.lo pe-mcore.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pe-mcore.c -o pe-mcore.o In file included from pe-mcore.c:36: coff-mcore.c: In function 'coff_mcore_relocate_section': coff-mcore.c:357:11: warning: variable 'hihalf_val' set but not used [-Wunused-but-set-variable] 357 | bfd_vma hihalf_val; | ^~~~~~~~~~ coff-mcore.c:356:15: warning: variable 'hihalf' set but not used [-Wunused-but-set-variable] 356 | bfd_boolean hihalf; | ^~~~~~ In file included from pe-mcore.c:20: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:553, from pe-mcore.c:36: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:24, from pe-mcore.c:36: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:553, from pe-mcore.c:36: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:24, from pe-mcore.c:36: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:553, from pe-mcore.c:36: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:24, from pe-mcore.c:36: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pei-mcore.lo pei-mcore.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pei-mcore.c -o pei-mcore.o In file included from pei-mcore.c:37: coff-mcore.c: In function 'coff_mcore_relocate_section': coff-mcore.c:357:11: warning: variable 'hihalf_val' set but not used [-Wunused-but-set-variable] 357 | bfd_vma hihalf_val; | ^~~~~~~~~~ coff-mcore.c:356:15: warning: variable 'hihalf' set but not used [-Wunused-but-set-variable] 356 | bfd_boolean hihalf; | ^~~~~~ In file included from pei-mcore.c:20: peicode.h: In function 'pe_ILF_make_a_section': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ peicode.h:595:3: note: in expansion of macro 'bfd_set_section_alignment' 595 | bfd_set_section_alignment (vars->abfd, sec, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:553, from pei-mcore.c:37: coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:24, from pei-mcore.c:37: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5380:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5380 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:553, from pei-mcore.c:37: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5383:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5383 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:24, from pei-mcore.c:37: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5387:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5387 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:559:1: note: in expansion of macro 'CREATE_BIG_COFF_TARGET_VEC' 559 | CREATE_BIG_COFF_TARGET_VEC (TARGET_BIG_SYM, TARGET_BIG_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:553, from pei-mcore.c:37: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-mcore.c:24, from pei-mcore.c:37: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-mcore.c:562:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 562 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, D_PAGED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pe-ppc.lo pe-ppc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pe-ppc.c -o pe-ppc.o In file included from pe-ppc.c:43: coff-ppc.c: In function 'coff_ppc_relocate_section': coff-ppc.c:1270:18: warning: variable 'my_name' set but not used [-Wunused-but-set-variable] 1270 | const char *my_name; | ^~~~~~~ coff-ppc.c:1269:14: warning: variable 'x' set but not used [-Wunused-but-set-variable] 1269 | bfd_vma x; | ^ coff-ppc.c:1003:11: warning: variable 'hihalf_val' set but not used [-Wunused-but-set-variable] 1003 | bfd_vma hihalf_val; | ^~~~~~~~~~ coff-ppc.c:1002:15: warning: variable 'hihalf' set but not used [-Wunused-but-set-variable] 1002 | bfd_boolean hihalf; | ^~~~~~ In file included from pe-ppc.c:21: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:2004, from pe-ppc.c:43: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:39, from pe-ppc.c:43: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-ppc.c:2595:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2595 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-ppc.c:2595:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2595 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-ppc.c:2595:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2595 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-ppc.c:2595:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2595 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:2004, from pe-ppc.c:43: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-ppc.c:2598:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2598 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:39, from pe-ppc.c:43: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-ppc.c:2602:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2602 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-ppc.c:2602:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2602 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-ppc.c:2602:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2602 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-ppc.c:2654:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-ppc.c:2654:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-ppc.c:2654:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-ppc.c:2654:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:2004, from pe-ppc.c:43: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-ppc.c:2657:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2657 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:39, from pe-ppc.c:43: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-ppc.c:2661:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2661 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-ppc.c:2661:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2661 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-ppc.c:2661:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2661 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pei-ppc.lo pei-ppc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pei-ppc.c -o pei-ppc.o In file included from pei-ppc.c:45: coff-ppc.c: In function 'ppc_record_toc_entry': coff-ppc.c:871:15: warning: variable 'name' set but not used [-Wunused-but-set-variable] 871 | const char *name; | ^~~~ coff-ppc.c: In function 'coff_ppc_relocate_section': coff-ppc.c:1270:18: warning: variable 'my_name' set but not used [-Wunused-but-set-variable] 1270 | const char *my_name; | ^~~~~~~ coff-ppc.c:1269:14: warning: variable 'x' set but not used [-Wunused-but-set-variable] 1269 | bfd_vma x; | ^ coff-ppc.c:1003:11: warning: variable 'hihalf_val' set but not used [-Wunused-but-set-variable] 1003 | bfd_vma hihalf_val; | ^~~~~~~~~~ coff-ppc.c:1002:15: warning: variable 'hihalf' set but not used [-Wunused-but-set-variable] 1002 | bfd_boolean hihalf; | ^~~~~~ In file included from pei-ppc.c:21: peicode.h: In function 'pe_ILF_make_a_section': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ peicode.h:595:3: note: in expansion of macro 'bfd_set_section_alignment' 595 | bfd_set_section_alignment (vars->abfd, sec, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:2004, from pei-ppc.c:45: coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:39, from pei-ppc.c:45: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-ppc.c:2595:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2595 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-ppc.c:2595:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2595 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-ppc.c:2595:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2595 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-ppc.c:2595:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2595 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:2004, from pei-ppc.c:45: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-ppc.c:2598:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2598 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:39, from pei-ppc.c:45: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-ppc.c:2602:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2602 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-ppc.c:2602:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2602 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-ppc.c:2602:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2602 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-ppc.c:2654:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-ppc.c:2654:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-ppc.c:2654:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-ppc.c:2654:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2654 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:2004, from pei-ppc.c:45: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-ppc.c:2657:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2657 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-ppc.c:39, from pei-ppc.c:45: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-ppc.c:2661:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2661 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-ppc.c:2661:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2661 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-ppc.c:2661:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2661 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pe-sh.lo pe-sh.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pe-sh.c -o pe-sh.o In file included from pe-sh.c:20: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:648, from pe-sh.c:30: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:27, from pe-sh.c:30: libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:648, from pe-sh.c:30: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:27, from pe-sh.c:30: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pei-sh.lo pei-sh.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pei-sh.c -o pei-sh.o In file included from pei-sh.c:20: peicode.h: In function 'pe_ILF_make_a_section': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ peicode.h:595:3: note: in expansion of macro 'bfd_set_section_alignment' 595 | bfd_set_section_alignment (vars->abfd, sec, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:648, from pei-sh.c:32: coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:27, from pei-sh.c:32: libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coffcode.h:5478:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 5478 | BFD_JUMP_TABLE_COPY (coff), \ | ^~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:648, from pei-sh.c:32: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coffcode.h:5481:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 5481 | BFD_JUMP_TABLE_SYMBOLS (coff), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-sh.c:27, from pei-sh.c:32: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coffcode.h:5485:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 5485 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), \ | ^~~~~~~~~~~~~~~~~~~~~~ coff-sh.c:3041:1: note: in expansion of macro 'CREATE_LITTLE_COFF_TARGET_VEC' 3041 | CREATE_LITTLE_COFF_TARGET_VEC (TARGET_SYM, TARGET_SHL_NAME, BFD_IS_RELAXABLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pe-mips.lo pe-mips.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pe-mips.c -o pe-mips.o pe-mips.c: In function 'mips_swap_reloc_out': pe-mips.c:530:14: warning: variable 'prev_offset' set but not used [-Wunused-but-set-variable] 530 | static int prev_offset = 1; | ^~~~~~~~~~~ pe-mips.c: In function 'coff_pe_mips_relocate_section': pe-mips.c:583:15: warning: variable 'got_lo' set but not used [-Wunused-but-set-variable] 583 | bfd_boolean got_lo; | ^~~~~~ pe-mips.c:579:10: warning: variable 'adjust' set but not used [-Wunused-but-set-variable] 579 | size_t adjust; | ^~~~~~ pe-mips.c:578:15: warning: variable 'gp_undefined' set but not used [-Wunused-but-set-variable] 578 | bfd_boolean gp_undefined; | ^~~~~~~~~~~~ In file included from pe-mips.c:26: coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from pe-mips.c:836: coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from pe-mips.c:28: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ pe-mips.c:891:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 891 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ pe-mips.c:891:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 891 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ pe-mips.c:891:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 891 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ pe-mips.c:891:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 891 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from pe-mips.c:836: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ pe-mips.c:894:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 894 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from pe-mips.c:28: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ pe-mips.c:898:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 898 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ pe-mips.c:898:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 898 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ pe-mips.c:898:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 898 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pei-mips.lo pei-mips.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pei-mips.c -o pei-mips.o In file included from pei-mips.c:29: pe-mips.c: In function 'mips_swap_reloc_out': pe-mips.c:530:14: warning: variable 'prev_offset' set but not used [-Wunused-but-set-variable] 530 | static int prev_offset = 1; | ^~~~~~~~~~~ pe-mips.c: In function 'coff_pe_mips_relocate_section': pe-mips.c:583:15: warning: variable 'got_lo' set but not used [-Wunused-but-set-variable] 583 | bfd_boolean got_lo; | ^~~~~~ pe-mips.c:579:10: warning: variable 'adjust' set but not used [-Wunused-but-set-variable] 579 | size_t adjust; | ^~~~~~ pe-mips.c:578:15: warning: variable 'gp_undefined' set but not used [-Wunused-but-set-variable] 578 | bfd_boolean gp_undefined; | ^~~~~~~~~~~~ In file included from pei-mips.c:20: peicode.h: In function 'pe_ILF_make_a_section': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ peicode.h:595:3: note: in expansion of macro 'bfd_set_section_alignment' 595 | bfd_set_section_alignment (vars->abfd, sec, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from pe-mips.c:836, from pei-mips.c:29: coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from pe-mips.c:28, from pei-mips.c:29: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ pe-mips.c:891:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 891 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ pe-mips.c:891:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 891 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ pe-mips.c:891:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 891 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ pe-mips.c:891:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 891 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from pe-mips.c:836, from pei-mips.c:29: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ pe-mips.c:894:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 894 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from pe-mips.c:28, from pei-mips.c:29: libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ pe-mips.c:898:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 898 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ pe-mips.c:898:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 898 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ pe-mips.c:898:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 898 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o peigen.lo peigen.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c peigen.c -o peigen.o peigen.c: In function 'pe_print_reloc': peigen.c:1681:17: warning: variable 'datasize' set but not used [-Wunused-but-set-variable] 1681 | bfd_size_type datasize; | ^~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o ppcboot.lo ppcboot.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c ppcboot.c -o ppcboot.o In file included from ppcboot.c:38: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ ppcboot.c:227:34: note: in expansion of macro '_bfd_generic_new_section_hook' 227 | #define ppcboot_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'ppcboot_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ ppcboot.c:533:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 533 | BFD_JUMP_TABLE_GENERIC (ppcboot), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ ppcboot.c:488:43: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 488 | #define ppcboot_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'ppcboot_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ ppcboot.c:534:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 534 | BFD_JUMP_TABLE_COPY (ppcboot), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ ppcboot.c:489:44: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 489 | #define ppcboot_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'ppcboot_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ ppcboot.c:534:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 534 | BFD_JUMP_TABLE_COPY (ppcboot), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ ppcboot.c:490:47: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 490 | #define ppcboot_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'ppcboot_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ ppcboot.c:534:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 534 | BFD_JUMP_TABLE_COPY (ppcboot), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ ppcboot.c:491:46: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 491 | #define ppcboot_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'ppcboot_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ ppcboot.c:534:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 534 | BFD_JUMP_TABLE_COPY (ppcboot), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ ppcboot.c:492:46: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 492 | #define ppcboot_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'ppcboot_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ ppcboot.c:534:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 534 | BFD_JUMP_TABLE_COPY (ppcboot), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ ppcboot.c:493:39: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 493 | #define ppcboot_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'ppcboot_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ ppcboot.c:534:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 534 | BFD_JUMP_TABLE_COPY (ppcboot), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ ppcboot.c:536:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 536 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ ppcboot.c:536:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 536 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ ppcboot.c:536:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 536 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ ppcboot.c:536:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 536 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ ppcboot.c:536:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 536 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:327:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, void *, asymbol *, bfd_print_symbol_type)' {aka 'void (*)(bfd *, void *, struct bfd_symbol *, enum bfd_print_symbol)'} [-Wcast-function-type] 327 | ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void) | ^ ppcboot.c:335:30: note: in expansion of macro '_bfd_nosymbols_print_symbol' 335 | #define ppcboot_print_symbol _bfd_nosymbols_print_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4937:3: note: in expansion of macro 'ppcboot_print_symbol' 4937 | NAME##_print_symbol, \ | ^~~~ ppcboot.c:537:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 537 | BFD_JUMP_TABLE_SYMBOLS (ppcboot), | ^~~~~~~~~~~~~~~~~~~~~~ ppcboot.c:349:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 349 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'ppcboot_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ ppcboot.c:537:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 537 | BFD_JUMP_TABLE_SYMBOLS (ppcboot), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ppcboot.c:38: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ ppcboot.c:351:28: note: in expansion of macro '_bfd_nosymbols_get_lineno' 351 | #define ppcboot_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'ppcboot_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ ppcboot.c:537:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 537 | BFD_JUMP_TABLE_SYMBOLS (ppcboot), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ ppcboot.c:352:35: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 352 | #define ppcboot_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'ppcboot_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ ppcboot.c:537:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 537 | BFD_JUMP_TABLE_SYMBOLS (ppcboot), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ ppcboot.c:353:35: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 353 | #define ppcboot_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'ppcboot_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ ppcboot.c:537:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 537 | BFD_JUMP_TABLE_SYMBOLS (ppcboot), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ ppcboot.c:354:39: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 354 | #define ppcboot_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'ppcboot_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ ppcboot.c:537:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 537 | BFD_JUMP_TABLE_SYMBOLS (ppcboot), | ^~~~~~~~~~~~~~~~~~~~~~ ppcboot.c:359:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 359 | ((long (*) PARAMS ((bfd *, asection *))) bfd_0l) | ^ bfd.h:4987:3: note: in expansion of macro 'ppcboot_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ ppcboot.c:538:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 538 | BFD_JUMP_TABLE_RELOCS (ppcboot), | ^~~~~~~~~~~~~~~~~~~~~ ppcboot.c:361:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 361 | ((long (*) PARAMS ((bfd *, asection *, arelent **, asymbol **))) bfd_0l) | ^ bfd.h:4988:3: note: in expansion of macro 'ppcboot_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ ppcboot.c:538:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 538 | BFD_JUMP_TABLE_RELOCS (ppcboot), | ^~~~~~~~~~~~~~~~~~~~~ In file included from ppcboot.c:38: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ ppcboot.c:362:39: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 362 | #define ppcboot_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'ppcboot_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ ppcboot.c:538:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 538 | BFD_JUMP_TABLE_RELOCS (ppcboot), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ ppcboot.c:541:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 541 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ ppcboot.c:541:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 541 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ ppcboot.c:541:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 541 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o reloc16.lo reloc16.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c reloc16.c -o reloc16.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o riscix.lo riscix.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c riscix.c -o riscix.o In file included from riscix.c:108: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from riscix.c:637: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from riscix.c:108: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o sparclinux.lo sparclinux.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c sparclinux.c -o sparclinux.o In file included from sparclinux.c:32: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from sparclinux.c:779: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from sparclinux.c:32: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o sparclynx.lo sparclynx.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c sparclynx.c -o sparclynx.o In file included from sparclynx.c:29: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from sparclynx.c:250: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from sparclynx.c:29: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o sparcnetbsd.lo sparcnetbsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c sparcnetbsd.c -o sparcnetbsd.o In file included from netbsd.h:55, from sparcnetbsd.c:38: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:71, from sparcnetbsd.c:38: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:55, from sparcnetbsd.c:38: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o sunos.lo sunos.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c sunos.c -o sunos.o In file included from aoutf1.h:25, from sunos.c:69: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from aoutf1.h:789, from sunos.c:69: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aoutf1.h:25, from sunos.c:69: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ sunos.c:45:44: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 45 | #define MY_get_synthetic_symtab _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o vaxnetbsd.lo vaxnetbsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c vaxnetbsd.c -o vaxnetbsd.o In file included from netbsd.h:55, from vaxnetbsd.c:37: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:71, from vaxnetbsd.c:37: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:55, from vaxnetbsd.c:37: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o vax1knetbsd.lo vax1knetbsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c vax1knetbsd.c -o vax1knetbsd.o In file included from netbsd.h:55, from vax1knetbsd.c:37: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:71, from vax1knetbsd.c:37: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from netbsd.h:55, from vax1knetbsd.c:37: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o vaxbsd.lo vaxbsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c vaxbsd.c -o vaxbsd.o In file included from vaxbsd.c:37: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:527:39: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 527 | #define MY_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'MY_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from vaxbsd.c:40: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from vaxbsd.c:37: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o versados.lo versados.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c versados.c -o versados.o versados.c: In function 'process_esd': versados.c:234:11: warning: variable 'start' set but not used [-Wunused-but-set-variable] 234 | bfd_vma start; | ^~~~~ versados.c:233:11: warning: variable 'size' set but not used [-Wunused-but-set-variable] 233 | bfd_vma size; | ^~~~ In file included from versados.c:42: versados.c: At top level: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ versados.c:790:55: note: in expansion of macro '_bfd_generic_new_section_hook' 790 | #define versados_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'versados_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ versados.c:856:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 856 | BFD_JUMP_TABLE_GENERIC (versados), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ versados.c:857:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 857 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ versados.c:857:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 857 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ versados.c:857:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 857 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ versados.c:857:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 857 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ versados.c:857:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 857 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ versados.c:857:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 857 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ versados.c:857:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 857 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ versados.c:859:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 859 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ versados.c:859:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 859 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ versados.c:859:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 859 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ versados.c:859:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 859 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ versados.c:859:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 859 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ versados.c:791:50: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 791 | #define versados_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'versados_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ versados.c:860:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 860 | BFD_JUMP_TABLE_SYMBOLS (versados), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from versados.c:42: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ versados.c:793:55: note: in expansion of macro '_bfd_nosymbols_get_lineno' 793 | #define versados_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'versados_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ versados.c:860:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 860 | BFD_JUMP_TABLE_SYMBOLS (versados), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ versados.c:794:55: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 794 | #define versados_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'versados_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ versados.c:860:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 860 | BFD_JUMP_TABLE_SYMBOLS (versados), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ versados.c:795:55: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 795 | #define versados_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'versados_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ versados.c:860:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 860 | BFD_JUMP_TABLE_SYMBOLS (versados), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ versados.c:797:55: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 797 | #define versados_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'versados_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ versados.c:860:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 860 | BFD_JUMP_TABLE_SYMBOLS (versados), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ versados.c:800:55: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 800 | #define versados_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'versados_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ versados.c:861:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 861 | BFD_JUMP_TABLE_RELOCS (versados), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ versados.c:864:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 864 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ versados.c:864:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 864 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ versados.c:864:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 864 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ versados.c: In function 'process_esd': versados.c:287:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 287 | sec = (asection *) & bfd_abs_section; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ versados.c:288:2: note: here 288 | case ESD_XDEF_IN_SEC: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o vms.lo vms.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c vms.c -o vms.o In file included from vms.c:22: vms.c: In function 'vms_new_section_hook': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ vms.c:471:3: note: in expansion of macro 'bfd_set_section_alignment' 471 | bfd_set_section_alignment (abfd, section, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from vms.c:25: vms.c: At top level: libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ vms.c:35:43: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 35 | #define vms_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'vms_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ vms.c:1614:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1614 | BFD_JUMP_TABLE_COPY (vms), | ^~~~~~~~~~~~~~~~~~~ vms.c:29:43: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 29 | #define vms_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'vms_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ vms.c:1617:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1617 | BFD_JUMP_TABLE_SYMBOLS (vms), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from vms.c:25: libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ vms.c:36:43: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 36 | #define vms_get_synthetic_symtab _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'vms_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ vms.c:1621:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1621 | BFD_JUMP_TABLE_DYNAMIC (vms), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ vms.c:35:43: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 35 | #define vms_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'vms_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ vms.c:1660:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 1660 | BFD_JUMP_TABLE_COPY (vms), | ^~~~~~~~~~~~~~~~~~~ vms.c:29:43: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 29 | #define vms_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'vms_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ vms.c:1663:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1663 | BFD_JUMP_TABLE_SYMBOLS (vms), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from vms.c:25: libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ vms.c:36:43: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 36 | #define vms_get_synthetic_symtab _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'vms_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ vms.c:1667:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 1667 | BFD_JUMP_TABLE_DYNAMIC (vms), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o vms-gsd.lo vms-gsd.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c vms-gsd.c -o vms-gsd.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o vms-hdr.lo vms-hdr.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c vms-hdr.c -o vms-hdr.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o vms-misc.lo vms-misc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c vms-misc.c -o vms-misc.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o vms-tir.lo vms-tir.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c vms-tir.c -o vms-tir.o vms-tir.c: In function 'tir_sta': vms-tir.c:1067:6: warning: variable 'envidx' set but not used [-Wunused-but-set-variable] 1067 | int envidx; | ^~~~~~ vms-tir.c:1101:6: warning: variable 'envidx' set but not used [-Wunused-but-set-variable] 1101 | int envidx; | ^~~~~~ vms-tir.c: In function '_bfd_vms_write_tir': vms-tir.c:1840:7: warning: variable 'nextoffset' set but not used [-Wunused-but-set-variable] 1840 | int nextoffset; | ^~~~~~~~~~ vms-tir.c: In function 'etir_opr': vms-tir.c:599:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 599 | (void) _bfd_vms_pop (abfd, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ vms-tir.c:600:5: note: here 600 | case ETIR_S_C_OPR_USH: /* Unsigned shift. */ | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o xcofflink.lo xcofflink.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c xcofflink.c -o xcofflink.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o xsym.lo xsym.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c xsym.c -o xsym.o xsym.c: In function 'bfd_sym_fetch_type_information_table_entry': xsym.c:1083:24: warning: variable 'sdata' set but not used [-Wunused-but-set-variable] 1083 | bfd_sym_data_struct *sdata = NULL; | ^~~~~ xsym.c: In function 'bfd_sym_print_type_information_table_entry': xsym.c:1804:9: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 1804 | buf = alloca (entry->physical_size); | ^~~~~~ xsym.c:1804:9: warning: incompatible implicit declaration of built-in function 'alloca' In file included from xsym.c:24: xsym.c: At top level: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ xsym.c:28:53: note: in expansion of macro '_bfd_generic_new_section_hook' 28 | #define bfd_sym_new_section_hook _bfd_generic_new_section_hook | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4838:3: note: in expansion of macro 'bfd_sym_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ xsym.c:2349:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 2349 | BFD_JUMP_TABLE_GENERIC (bfd_sym), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ xsym.c:2350:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2350 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ xsym.c:2350:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2350 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ xsym.c:2350:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2350 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ xsym.c:2350:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2350 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ xsym.c:2350:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2350 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ xsym.c:2350:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2350 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ xsym.c:2350:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2350 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ xsym.c:2352:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 2352 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ xsym.c:2352:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 2352 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ xsym.c:2352:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 2352 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ xsym.c:2352:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 2352 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ xsym.c:2352:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 2352 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ xsym.c:30:53: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 30 | #define bfd_sym_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_sym_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ xsym.c:2353:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2353 | BFD_JUMP_TABLE_SYMBOLS (bfd_sym), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from xsym.c:24: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ xsym.c:31:53: note: in expansion of macro '_bfd_nosymbols_get_lineno' 31 | #define bfd_sym_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'bfd_sym_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ xsym.c:2353:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2353 | BFD_JUMP_TABLE_SYMBOLS (bfd_sym), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ xsym.c:32:53: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 32 | #define bfd_sym_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'bfd_sym_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ xsym.c:2353:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2353 | BFD_JUMP_TABLE_SYMBOLS (bfd_sym), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ xsym.c:33:53: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 33 | #define bfd_sym_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'bfd_sym_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ xsym.c:2353:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2353 | BFD_JUMP_TABLE_SYMBOLS (bfd_sym), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ xsym.c:34:53: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 34 | #define bfd_sym_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'bfd_sym_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ xsym.c:2353:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2353 | BFD_JUMP_TABLE_SYMBOLS (bfd_sym), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:355:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *)' {aka 'long int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 355 | ((long (*) (bfd *, asection *)) _bfd_n1) | ^ xsym.c:37:53: note: in expansion of macro '_bfd_norelocs_get_reloc_upper_bound' 37 | #define bfd_sym_get_reloc_upper_bound _bfd_norelocs_get_reloc_upper_bound | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4987:3: note: in expansion of macro 'bfd_sym_get_reloc_upper_bound' 4987 | NAME##_get_reloc_upper_bound, \ | ^~~~ xsym.c:2354:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 2354 | BFD_JUMP_TABLE_RELOCS (bfd_sym), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:357:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asection *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_section *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 357 | ((long (*) (bfd *, asection *, arelent **, asymbol **)) _bfd_n1) | ^ xsym.c:38:53: note: in expansion of macro '_bfd_norelocs_canonicalize_reloc' 38 | #define bfd_sym_canonicalize_reloc _bfd_norelocs_canonicalize_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4988:3: note: in expansion of macro 'bfd_sym_canonicalize_reloc' 4988 | NAME##_canonicalize_reloc, \ | ^~~~ xsym.c:2354:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 2354 | BFD_JUMP_TABLE_RELOCS (bfd_sym), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ xsym.c:39:53: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 39 | #define bfd_sym_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'bfd_sym_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ xsym.c:2354:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 2354 | BFD_JUMP_TABLE_RELOCS (bfd_sym), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ xsym.c:2357:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2357 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ xsym.c:2357:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2357 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ xsym.c:2357:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2357 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o xtensa-isa.lo xtensa-isa.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c xtensa-isa.c -o xtensa-isa.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o xtensa-modules.lo xtensa-modules.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c xtensa-modules.c -o xtensa-modules.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o aix5ppc-core.lo aix5ppc-core.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c aix5ppc-core.c -o aix5ppc-core.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o aout64.lo aout64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c aout64.c -o aout64.o In file included from aout64.c:31: aoutx.h: In function 'aout_link_input_bfd': aoutx.h:5167:17: warning: variable 'sym_count' set but not used [-Wunused-but-set-variable] 5167 | bfd_size_type sym_count; | ^~~~~~~~~ aoutx.h: In function 'aout_link_write_other_symbol': aoutx.h:3568:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 3568 | val = 0; | ~~~~^~~ aoutx.h:3569:5: note: here 3569 | case bfd_link_hash_indirect: | ^~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff-alpha.lo coff-alpha.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff-alpha.c -o coff-alpha.o coff-alpha.c:2274:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, void *, int, int, int, int, void *)' [-Wcast-function-type] 2274 | (void (*) PARAMS ((bfd *,PTR,int,int,int,int,PTR))) bfd_void, /* aux_in */ | ^ coff-alpha.c:2275:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, void *, void *)' [-Wcast-function-type] 2275 | (void (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* sym_in */ | ^ coff-alpha.c:2276:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, void *, void *)' [-Wcast-function-type] 2276 | (void (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* lineno_in */ | ^ coff-alpha.c:2277:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'unsigned int (*)(bfd *, void *, int, int, int, int, void *)' [-Wcast-function-type] 2277 | (unsigned (*) PARAMS ((bfd *,PTR,int,int,int,int,PTR)))bfd_void,/*aux_out*/ | ^ coff-alpha.c:2278:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'unsigned int (*)(bfd *, void *, void *)' [-Wcast-function-type] 2278 | (unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* sym_out */ | ^ coff-alpha.c:2279:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'unsigned int (*)(bfd *, void *, void *)' [-Wcast-function-type] 2279 | (unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* lineno_out */ | ^ coff-alpha.c:2280:5: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'unsigned int (*)(bfd *, void *, void *)' [-Wcast-function-type] 2280 | (unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* reloc_out */ | ^ In file included from coff-alpha.c:34: libecoff.h:320:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, asection *, void *)' {aka 'void (*)(bfd *, struct bfd_section *, void *)'} [-Wcast-function-type] 320 | ((void (*) (bfd *, asection *, void *)) bfd_void) | ^ coff-alpha.c:2288:5: note: in expansion of macro '_bfd_ecoff_set_alignment_hook' 2288 | _bfd_ecoff_set_alignment_hook, _bfd_ecoff_slurp_symbol_table, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff-alpha.c:26: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ libecoff.h:257:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 257 | _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro '_bfd_ecoff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-alpha.c:2412:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2412 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ libecoff.h:245:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 245 | _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ coff-alpha.c:2412:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2412 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ libecoff.h:248:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 248 | _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-alpha.c:2412:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2412 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ libecoff.h:251:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 251 | _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro '_bfd_ecoff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-alpha.c:2412:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2412 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ libecoff.h:259:42: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 259 | #define _bfd_ecoff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro '_bfd_ecoff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-alpha.c:2412:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2412 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ libecoff.h:254:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 254 | _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro '_bfd_ecoff_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ coff-alpha.c:2412:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 2412 | BFD_JUMP_TABLE_COPY (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-alpha.c:34: libecoff.h:274:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 274 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro '_bfd_ecoff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-alpha.c:2415:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2415 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-alpha.c:26: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ libecoff.h:285:31: note: in expansion of macro '_bfd_nosymbols_get_lineno' 285 | #define _bfd_ecoff_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro '_bfd_ecoff_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ coff-alpha.c:2415:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2415 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ libecoff.h:292:38: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 292 | #define _bfd_ecoff_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro '_bfd_ecoff_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ coff-alpha.c:2415:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2415 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ libecoff.h:289:42: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 289 | #define _bfd_ecoff_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro '_bfd_ecoff_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ coff-alpha.c:2415:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 2415 | BFD_JUMP_TABLE_SYMBOLS (_bfd_ecoff), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-alpha.c:2419:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2419 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-alpha.c:2419:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2419 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-alpha.c:2419:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 2419 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o coff64-rs6000.lo coff64-rs6000.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c coff64-rs6000.c -o coff64-rs6000.o In file included from coff64-rs6000.c:273: coffcode.h: In function 'coff_compute_section_file_positions': coffcode.h:3154:14: warning: taking the absolute value of unsigned type 'long unsigned int' has no effect [-Wabsolute-value] 3154 | pad = abs (current->vma - sofar) % align; | ^~~ coffcode.h:3154:14: warning: absolute value function 'abs' given an argument of type 'long unsigned int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] coffcode.h: In function 'coff_write_object_contents': coffcode.h:3352:15: warning: variable 'hasdebug' set but not used [-Wunused-but-set-variable] 3352 | bfd_boolean hasdebug = FALSE; | ^~~~~~~~ coff64-rs6000.c: In function 'xcoff64_write_object_contents': coff64-rs6000.c:764:15: warning: variable 'long_section_names' set but not used [-Wunused-but-set-variable] 764 | bfd_boolean long_section_names; | ^~~~~~~~~~~~~~~~~~ coff64-rs6000.c: At top level: coff64-rs6000.c:2684:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 2684 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true), | ^ coff64-rs6000.c:2686:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 2686 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true), | ^ coff64-rs6000.c:2687:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 2687 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true), | ^ coff64-rs6000.c:2688:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 2688 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true), | ^ coff64-rs6000.c:2689:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 2689 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true), | ^ coff64-rs6000.c:2690:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 2690 | ((bfd_boolean (*) (bfd *, void * )) bfd_true), | ^ coff64-rs6000.c:2700:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 2700 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) bfd_false), | ^ In file included from coff64-rs6000.c:273: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ coff64-rs6000.c:2716:5: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 2716 | coff_bfd_is_target_special_symbol, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff64-rs6000.c:26: libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ coff64-rs6000.c:2753:5: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 2753 | _bfd_nodynamic_get_synthetic_symtab, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coff64-rs6000.c:2935:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 2935 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true), | ^ coff64-rs6000.c:2937:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 2937 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true), | ^ coff64-rs6000.c:2938:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 2938 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true), | ^ coff64-rs6000.c:2939:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 2939 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true), | ^ coff64-rs6000.c:2940:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 2940 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true), | ^ coff64-rs6000.c:2941:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 2941 | ((bfd_boolean (*) (bfd *, void * )) bfd_true), | ^ coff64-rs6000.c:2951:6: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 2951 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) bfd_false), | ^ In file included from coff64-rs6000.c:273: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ coff64-rs6000.c:2967:5: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 2967 | coff_bfd_is_target_special_symbol, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from coff64-rs6000.c:26: libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ coff64-rs6000.c:3004:5: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 3004 | _bfd_nodynamic_get_synthetic_symtab, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o demo64.lo demo64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c demo64.c -o demo64.o In file included from aoutf1.h:25, from demo64.c:30: libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:523:38: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 523 | #define MY_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4856:3: note: in expansion of macro 'MY_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ aout-target.h:531:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 531 | #define MY_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'MY_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ aout-target.h:535:41: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 535 | #define MY_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'MY_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ aout-target.h:543:34: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 543 | #define MY_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'MY_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ aout-target.h:539:39: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 539 | #define MY_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'MY_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ aout-target.h:635:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 635 | BFD_JUMP_TABLE_COPY (MY), | ^~~~~~~~~~~~~~~~~~~ In file included from aoutf1.h:789, from demo64.c:30: aout-target.h:551:42: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 551 | #define MY_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'MY_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from aoutf1.h:25, from demo64.c:30: libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ aout-target.h:466:30: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 466 | #define MY_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'MY_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ aout-target.h:638:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 638 | BFD_JUMP_TABLE_SYMBOLS (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ aout-target.h:568:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 568 | _bfd_nodynamic_canonicalize_dynamic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5073:3: note: in expansion of macro 'MY_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ aout-target.h:572:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 572 | _bfd_nodynamic_get_synthetic_symtab | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5074:3: note: in expansion of macro 'MY_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ aout-target.h:580:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 580 | _bfd_nodynamic_canonicalize_dynamic_reloc | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5076:3: note: in expansion of macro 'MY_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ aout-target.h:642:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 642 | BFD_JUMP_TABLE_DYNAMIC (MY), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o efi-app-ia64.lo efi-app-ia64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c efi-app-ia64.c -o efi-app-ia64.o In file included from efi-app-ia64.c:21: peicode.h: In function 'pe_ILF_make_a_section': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ peicode.h:595:3: note: in expansion of macro 'bfd_set_section_alignment' 595 | bfd_set_section_alignment (vars->abfd, sec, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ coffcode.h: In function 'coff_compute_section_file_positions': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ coffcode.h:3224:2: note: in expansion of macro 'bfd_set_section_vma' 3224 | bfd_set_section_vma (abfd, current, 0); | ^~~~~~~~~~~~~~~~~~~ In file included from coff-ia64.c:66, from efi-app-ia64.c:35: coffcode.h: At top level: coffcode.h:2266:3: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, struct internal_syment *)' {aka 'int (*)(bfd *, struct internal_syment *)'} [-Wcast-function-type] 2266 | (bfd_boolean (*) (bfd *, struct internal_syment *)) bfd_false | ^ coffcode.h:5156:28: note: in expansion of macro 'symname_in_debug_hook' 5156 | coff_slurp_symbol_table, symname_in_debug_hook, coff_pointerize_aux_hook, | ^~~~~~~~~~~~~~~~~~~~~ In file included from coff-ia64.c:23, from efi-app-ia64.c:35: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5281:45: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 5281 | #define coff_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'coff_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ coff-ia64.c:190:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 190 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ coffcode.h:5265:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 5265 | #define coff_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'coff_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ coff-ia64.c:190:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 190 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ coffcode.h:5269:45: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 5269 | #define coff_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'coff_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ coff-ia64.c:190:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 190 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ coffcode.h:5285:45: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 5285 | #define coff_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'coff_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ coff-ia64.c:190:6: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 190 | BFD_JUMP_TABLE_COPY (coff), | ^~~~~~~~~~~~~~~~~~~ In file included from coff-ia64.c:66, from efi-app-ia64.c:35: coffcode.h:5297:46: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 5297 | #define coff_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'coff_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ coff-ia64.c:193:6: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 193 | BFD_JUMP_TABLE_SYMBOLS (coff), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from coff-ia64.c:23, from efi-app-ia64.c:35: libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ coffcode.h:5311:40: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 5311 | #define coff_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'coff_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ coff-ia64.c:194:6: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 194 | BFD_JUMP_TABLE_RELOCS (coff), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ coff-ia64.c:197:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 197 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ coff-ia64.c:197:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 197 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ coff-ia64.c:197:6: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 197 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64-x86-64.lo elf64-x86-64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64-x86-64.c -o elf64-x86-64.o elf64-x86-64.c: In function 'elf64_x86_64_relocate_section': elf64-x86-64.c:2131:16: warning: variable 'warned' set but not used [-Wunused-but-set-variable] 2131 | bfd_boolean warned; | ^~~~~~ In file included from elf64-x86-64.c:3689: elf64-target.h: At top level: elf64-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf64_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf64-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64-alpha.lo elf64-alpha.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64-alpha.c -o elf64-alpha.o In file included from elf64-alpha.c:5300: elf64-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf64_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf64-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf64_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf64-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64-hppa.lo elf64-hppa.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64-hppa.c -o elf64-hppa.o elf64-hppa.c: In function 'elf64_hppa_section_from_shdr': elf64-hppa.c:423:13: warning: variable 'newsect' set but not used [-Wunused-but-set-variable] 423 | asection *newsect; | ^~~~~~~ elf64-hppa.c: In function 'elf64_hppa_check_relocs': elf64-hppa.c:604:13: warning: variable 'dlt' set but not used [-Wunused-but-set-variable] 604 | asection *dlt, *plt, *stubs; | ^~~ elf64-hppa.c: In function 'elf64_hppa_finish_dynamic_symbol': elf64-hppa.c:1916:51: warning: variable 'sdltrel' set but not used [-Wunused-but-set-variable] 1916 | asection *stub, *splt, *sdlt, *sopd, *spltrel, *sdltrel; | ^~~~~~~ elf64-hppa.c:1916:27: warning: variable 'sdlt' set but not used [-Wunused-but-set-variable] 1916 | asection *stub, *splt, *sdlt, *sopd, *spltrel, *sdltrel; | ^~~~ In file included from elf64-hppa.c:2874: elf64-target.h: At top level: elf64-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf64_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf64_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf32-ia64.lo elf32-ia64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf32-ia64.c -o elf32-ia64.o elf32-ia64.c: In function 'elf32_ia64_section_from_shdr': elf32-ia64.c:1459:13: warning: variable 'newsect' set but not used [-Wunused-but-set-variable] 1459 | asection *newsect; | ^~~~~~~ In file included from elf32-ia64.c:22: elf32-ia64.c: In function 'elf32_ia64_create_dynamic_sections': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ elf32-ia64.c:2132:5: note: in expansion of macro 'bfd_set_section_alignment' 2132 | bfd_set_section_alignment (abfd, ia64_info->got_sec, 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~ elf32-ia64.c: In function 'elf32_ia64_final_link': elf32-ia64.c:4460:38: warning: variable 'ia64_info' set but not used [-Wunused-but-set-variable] 4460 | struct elf32_ia64_link_hash_table *ia64_info; | ^~~~~~~~~ elf32-ia64.c: In function 'elf32_ia64_relocate_section': elf32-ia64.c:4647:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 4647 | bfd_boolean unresolved_reloc; | ^~~~~~~~~~~~~~~~ In file included from elf32-ia64.c:5800: elf32-target.h: At top level: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-ia64.c: In function 'elf32_ia64_relocate_section': elf32-ia64.c:4993:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 4993 | if (r_symndx == 0) | ^ elf32-ia64.c:5035:2: note: here 5035 | case R_IA64_SECREL32MSB: | ^~~~ elf32-ia64.c:5203:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 5203 | if (is_elf_hash_table (info->hash)) | ^ elf32-ia64.c:5214:8: note: here 5214 | default: | ^~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64-ia64.lo elf64-ia64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64-ia64.c -o elf64-ia64.o elf64-ia64.c: In function 'elf64_ia64_section_from_shdr': elf64-ia64.c:1459:13: warning: variable 'newsect' set but not used [-Wunused-but-set-variable] 1459 | asection *newsect; | ^~~~~~~ In file included from elf64-ia64.c:22: elf64-ia64.c: In function 'elf64_ia64_create_dynamic_sections': bfd.h:329:83: warning: right-hand operand of comma expression has no effect [-Wunused-value] 329 | #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ elf64-ia64.c:2132:5: note: in expansion of macro 'bfd_set_section_alignment' 2132 | bfd_set_section_alignment (abfd, ia64_info->got_sec, 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~ elf64-ia64.c: In function 'elf64_ia64_final_link': elf64-ia64.c:4460:38: warning: variable 'ia64_info' set but not used [-Wunused-but-set-variable] 4460 | struct elf64_ia64_link_hash_table *ia64_info; | ^~~~~~~~~ elf64-ia64.c: In function 'elf64_ia64_relocate_section': elf64-ia64.c:4647:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 4647 | bfd_boolean unresolved_reloc; | ^~~~~~~~~~~~~~~~ In file included from elf64-ia64.c:5800: elf64-target.h: At top level: elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-ia64.c: In function 'elf64_ia64_relocate_section': elf64-ia64.c:4993:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 4993 | if (r_symndx == 0) | ^ elf64-ia64.c:5035:2: note: here 5035 | case R_IA64_SECREL32MSB: | ^~~~ elf64-ia64.c:5203:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 5203 | if (is_elf_hash_table (info->hash)) | ^ elf64-ia64.c:5214:8: note: here 5214 | default: | ^~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64-gen.lo elf64-gen.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64-gen.c -o elf64-gen.o In file included from elf64-gen.c:101: elf64-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf64_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf64_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf64-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elfn32-mips.lo elfn32-mips.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elfn32-mips.c -o elfn32-mips.o In file included from elfn32-mips.c:2388: elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf32_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64-mips.lo elf64-mips.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64-mips.c -o elf64-mips.o In file included from elf64-mips.c:3160: elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64-mmix.lo elf64-mmix.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64-mmix.c -o elf64-mmix.o elf64-mmix.c: In function 'mmix_elf_reloc': elf64-mmix.c:1256:11: warning: variable 'addr' set but not used [-Wunused-but-set-variable] 1256 | bfd_vma addr; | ^~~~ elf64-mmix.c: In function 'mmix_elf_relocate_section': elf64-mmix.c:1481:16: warning: variable 'unresolved_reloc' set but not used [-Wunused-but-set-variable] 1481 | bfd_boolean unresolved_reloc; | ^~~~~~~~~~~~~~~~ elf64-mmix.c: In function 'mmix_elf_relax_section': elf64-mmix.c:2590:8: warning: variable 'bpo_greg_owner' set but not used [-Wunused-but-set-variable] 2590 | bfd *bpo_greg_owner; | ^~~~~~~~~~~~~~ In file included from elf64-mmix.c:2960: elf64-target.h: At top level: elf64-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf64_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64-sh64.lo elf64-sh64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64-sh64.c -o elf64-sh64.o In file included from elf64-sh64.c:4142: elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64-ppc.lo elf64-ppc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64-ppc.c -o elf64-ppc.o elf64-ppc.c: In function 'ppc64_elf_check_relocs': elf64-ppc.c:4312:46: warning: variable 'sym_hashes_end' set but not used [-Wunused-but-set-variable] 4312 | struct elf_link_hash_entry **sym_hashes, **sym_hashes_end; | ^~~~~~~~~~~~~~ elf64-ppc.c: In function 'ppc64_elf_gc_sweep_hook': elf64-ppc.c:5162:31: warning: variable 'htab' set but not used [-Wunused-but-set-variable] 5162 | struct ppc_link_hash_table *htab; | ^~~~ elf64-ppc.c: In function 'ppc64_elf_edit_opd': elf64-ppc.c:6274:36: warning: variable 'sym_hashes' set but not used [-Wunused-but-set-variable] 6274 | struct elf_link_hash_entry **sym_hashes; | ^~~~~~~~~~ elf64-ppc.c: In function 'ppc64_elf_edit_toc': elf64-ppc.c:7113:36: warning: variable 'sym_hashes' set but not used [-Wunused-but-set-variable] 7113 | struct elf_link_hash_entry **sym_hashes; | ^~~~~~~~~~ elf64-ppc.c: In function 'ppc64_elf_finish_dynamic_symbol': elf64-ppc.c:11128:8: warning: variable 'dynobj' set but not used [-Wunused-but-set-variable] 11128 | bfd *dynobj; | ^~~~~~ In file included from elf64-ppc.c:11362: elf64-target.h: At top level: elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:830:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 830 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:837:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 837 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64-s390.lo elf64-s390.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64-s390.c -o elf64-s390.o In file included from elf64-s390.c:3483: elf64-target.h:187:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 187 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro 'bfd_elf64_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64-sparc.lo elf64-sparc.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64-sparc.c -o elf64-sparc.o In file included from elf64-sparc.c:903: elf64-target.h:191:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 191 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro 'bfd_elf64_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ elf64-target.h:734:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 734 | BFD_JUMP_TABLE_COPY (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~ elf64-target.h:198:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 198 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'bfd_elf64_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ elf64-target.h:161:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 161 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:4945:3: note: in expansion of macro 'bfd_elf64_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf64-target.h:741:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 741 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf64), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o elf64.lo elf64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c elf64.c -o elf64.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o mmo.lo mmo.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c mmo.c -o mmo.o In file included from mmo.c:198: mmo.c: In function 'mmo_decide_section': bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ mmo.c:666:2: note: in expansion of macro 'bfd_set_section_vma' 666 | bfd_set_section_vma (abfd, sec, vma); | ^~~~~~~~~~~~~~~~~~~ bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ mmo.c:680:2: note: in expansion of macro 'bfd_set_section_vma' 680 | bfd_set_section_vma (abfd, sec, vma); | ^~~~~~~~~~~~~~~~~~~ bfd.h:328:108: warning: right-hand operand of comma expression has no effect [-Wunused-value] 328 | #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ mmo.c:696:5: note: in expansion of macro 'bfd_set_section_vma' 696 | bfd_set_section_vma (abfd, sec, vma); | ^~~~~~~~~~~~~~~~~~~ mmo.c: In function 'mmo_scan': mmo.c:1533:9: warning: variable 'current_filename' set but not used [-Wunused-but-set-variable] 1533 | char *current_filename = NULL; | ^~~~~~~~~~~~~~~~ mmo.c: In function 'mmo_write_symbols_and_terminator': mmo.c:2828:12: warning: variable 'maintable' set but not used [-Wunused-but-set-variable] 2828 | asymbol *maintable[2]; | ^~~~~~~~~ In file included from mmo.c:200: mmo.c: At top level: libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ mmo.c:3249:40: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 3249 | #define mmo_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4857:3: note: in expansion of macro 'mmo_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ mmo.c:3302:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3302 | BFD_JUMP_TABLE_COPY (mmo), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ mmo.c:3250:43: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 3250 | #define mmo_bfd_copy_private_section_data _bfd_generic_bfd_copy_private_section_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4859:3: note: in expansion of macro 'mmo_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ mmo.c:3302:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3302 | BFD_JUMP_TABLE_COPY (mmo), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ mmo.c:3251:42: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 3251 | #define mmo_bfd_copy_private_symbol_data _bfd_generic_bfd_copy_private_symbol_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4860:3: note: in expansion of macro 'mmo_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ mmo.c:3302:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3302 | BFD_JUMP_TABLE_COPY (mmo), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ mmo.c:3252:42: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 3252 | #define mmo_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4861:3: note: in expansion of macro 'mmo_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ mmo.c:3302:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3302 | BFD_JUMP_TABLE_COPY (mmo), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ mmo.c:3253:35: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 3253 | #define mmo_bfd_set_private_flags _bfd_generic_bfd_set_private_flags | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4862:3: note: in expansion of macro 'mmo_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ mmo.c:3302:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3302 | BFD_JUMP_TABLE_COPY (mmo), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ mmo.c:3254:40: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 3254 | #define mmo_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4863:3: note: in expansion of macro 'mmo_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ mmo.c:3302:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 3302 | BFD_JUMP_TABLE_COPY (mmo), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ mmo.c:3304:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 3304 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ mmo.c:3304:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 3304 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ mmo.c:3304:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 3304 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ mmo.c:3304:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 3304 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ mmo.c:3304:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 3304 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ mmo.c:3199:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 3199 | ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'mmo_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ mmo.c:3305:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 3305 | BFD_JUMP_TABLE_SYMBOLS (mmo), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from mmo.c:200: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ mmo.c:3202:24: note: in expansion of macro '_bfd_nosymbols_get_lineno' 3202 | #define mmo_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'mmo_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ mmo.c:3305:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 3305 | BFD_JUMP_TABLE_SYMBOLS (mmo), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ mmo.c:3206:31: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 3206 | #define mmo_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'mmo_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ mmo.c:3305:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 3305 | BFD_JUMP_TABLE_SYMBOLS (mmo), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ mmo.c:3207:31: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 3207 | #define mmo_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'mmo_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ mmo.c:3305:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 3305 | BFD_JUMP_TABLE_SYMBOLS (mmo), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ mmo.c:3209:35: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 3209 | #define mmo_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'mmo_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ mmo.c:3305:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 3305 | BFD_JUMP_TABLE_SYMBOLS (mmo), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:359:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'const reloc_howto_type * (*)(bfd *, bfd_reloc_code_real_type)' {aka 'const struct reloc_howto_struct * (*)(bfd *, enum bfd_reloc_code_real)'} [-Wcast-function-type] 359 | ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) | ^ mmo.c:3245:35: note: in expansion of macro '_bfd_norelocs_bfd_reloc_type_lookup' 3245 | #define mmo_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4989:3: note: in expansion of macro 'mmo_bfd_reloc_type_lookup' 4989 | NAME##_bfd_reloc_type_lookup | ^~~~ mmo.c:3308:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' 3308 | BFD_JUMP_TABLE_RELOCS (mmo), | ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ mmo.c:3311:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3311 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ mmo.c:3311:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3311 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ mmo.c:3311:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 3311 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o nlm32-alpha.lo nlm32-alpha.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c nlm32-alpha.c -o nlm32-alpha.o In file included from nlm32-alpha.c:28: libbfd.h:224:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *)'} [-Wcast-function-type] 224 | ((bfd_boolean (*) (bfd *, asection *)) bfd_true) | ^ bfd.h:4838:3: note: in expansion of macro '_bfd_generic_new_section_hook' 4838 | NAME##_new_section_hook, \ | ^~~~ nlm-target.h:234:3: note: in expansion of macro 'BFD_JUMP_TABLE_GENERIC' 234 | BFD_JUMP_TABLE_GENERIC (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:234:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 234 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4856:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_bfd_data' 4856 | NAME##_bfd_copy_private_bfd_data, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:236:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 236 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4857:3: note: in expansion of macro '_bfd_generic_bfd_merge_private_bfd_data' 4857 | NAME##_bfd_merge_private_bfd_data, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:240:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, bfd *, asection *)' {aka 'int (*)(bfd *, struct bfd_section *, bfd *, struct bfd_section *)'} [-Wcast-function-type] 240 | ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true) | ^ bfd.h:4859:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_section_data' 4859 | NAME##_bfd_copy_private_section_data, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:242:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *, bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *, bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 242 | ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true) | ^ bfd.h:4860:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_symbol_data' 4860 | NAME##_bfd_copy_private_symbol_data, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:244:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, bfd *)' {aka 'int (*)(bfd *, bfd *)'} [-Wcast-function-type] 244 | ((bfd_boolean (*) (bfd *, bfd *)) bfd_true) | ^ bfd.h:4861:3: note: in expansion of macro '_bfd_generic_bfd_copy_private_header_data' 4861 | NAME##_bfd_copy_private_header_data, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:238:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, flagword)' {aka 'int (*)(bfd *, unsigned int)'} [-Wcast-function-type] 238 | ((bfd_boolean (*) (bfd *, flagword)) bfd_true) | ^ bfd.h:4862:3: note: in expansion of macro '_bfd_generic_bfd_set_private_flags' 4862 | NAME##_bfd_set_private_flags, \ | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:246:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, void *)' {aka 'int (*)(bfd *, void *)'} [-Wcast-function-type] 246 | ((bfd_boolean (*) (bfd *, void *)) bfd_true) | ^ bfd.h:4863:3: note: in expansion of macro '_bfd_generic_bfd_print_private_bfd_data' 4863 | NAME##_bfd_print_private_bfd_data | ^~~~ nlm-target.h:235:3: note: in expansion of macro 'BFD_JUMP_TABLE_COPY' 235 | BFD_JUMP_TABLE_COPY (_bfd_generic), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:267:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, char **, bfd_size_type *, const char **)' {aka 'int (*)(bfd *, char **, long unsigned int *, const char **)'} [-Wcast-function-type] 267 | ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ | ^ bfd.h:4909:3: note: in expansion of macro '_bfd_noarchive_construct_extended_name_table' 4909 | NAME##_construct_extended_name_table, \ | ^~~~ nlm-target.h:237:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 237 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:270:4: warning: cast between incompatible function types from 'void (*)(bfd *)' to 'void (*)(bfd *, const char *, char *)' [-Wcast-function-type] 270 | ((void (*) (bfd *, const char *, char *)) bfd_void) | ^ bfd.h:4910:3: note: in expansion of macro '_bfd_noarchive_truncate_arname' 4910 | NAME##_truncate_arname, \ | ^~~~ nlm-target.h:237:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 237 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:272:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, unsigned int, struct orl *, unsigned int, int)' {aka 'int (*)(bfd *, unsigned int, struct orl *, unsigned int, int)'} [-Wcast-function-type] 272 | ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \ | ^ bfd.h:4911:3: note: in expansion of macro '_bfd_noarchive_write_armap' 4911 | NAME##_write_armap, \ | ^~~~ nlm-target.h:237:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 237 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:276:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, bfd *)' [-Wcast-function-type] 276 | ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr) | ^ bfd.h:4913:3: note: in expansion of macro '_bfd_noarchive_openr_next_archived_file' 4913 | NAME##_openr_next_archived_file, \ | ^~~~ nlm-target.h:237:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 237 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:278:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'bfd * (*)(bfd *, symindex)' {aka 'bfd * (*)(bfd *, long unsigned int)'} [-Wcast-function-type] 278 | ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr) | ^ bfd.h:4914:3: note: in expansion of macro '_bfd_noarchive_get_elt_at_index' 4914 | NAME##_get_elt_at_index, \ | ^~~~ nlm-target.h:237:3: note: in expansion of macro 'BFD_JUMP_TABLE_ARCHIVE' 237 | BFD_JUMP_TABLE_ARCHIVE (_bfd_noarchive), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from nlm32-alpha.c:858: nlm-target.h:29:43: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asymbol *)' {aka 'int (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 29 | #define nlm_bfd_is_target_special_symbol ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false) | ^ bfd.h:4940:3: note: in expansion of macro 'nlm_bfd_is_target_special_symbol' 4940 | NAME##_bfd_is_target_special_symbol, \ | ^~~~ nlm-target.h:238:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 238 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from nlm32-alpha.c:28: libbfd.h:335:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'alent * (*)(bfd *, asymbol *)' {aka 'struct lineno_cache_entry * (*)(bfd *, struct bfd_symbol *)'} [-Wcast-function-type] 335 | ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr) | ^ nlm-target.h:30:49: note: in expansion of macro '_bfd_nosymbols_get_lineno' 30 | #define nlm_get_lineno _bfd_nosymbols_get_lineno | ^~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4941:3: note: in expansion of macro 'nlm_get_lineno' 4941 | NAME##_get_lineno, \ | ^~~~ nlm-target.h:238:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 238 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:337:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, struct bfd_section *, struct bfd_symbol **, long unsigned int, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 337 | ((bfd_boolean (*) (bfd *, asection *, asymbol **, bfd_vma, const char **, \ | ^ nlm-target.h:31:49: note: in expansion of macro '_bfd_nosymbols_find_nearest_line' 31 | #define nlm_find_nearest_line _bfd_nosymbols_find_nearest_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4942:3: note: in expansion of macro 'nlm_find_nearest_line' 4942 | NAME##_find_nearest_line, \ | ^~~~ nlm-target.h:238:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 238 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:341:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(bfd *)'} to 'bfd_boolean (*)(bfd *, const char **, const char **, unsigned int *)' {aka 'int (*)(bfd *, const char **, const char **, unsigned int *)'} [-Wcast-function-type] 341 | ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \ | ^ nlm-target.h:32:49: note: in expansion of macro '_bfd_nosymbols_find_inliner_info' 32 | #define nlm_find_inliner_info _bfd_nosymbols_find_inliner_info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4944:3: note: in expansion of macro 'nlm_find_inliner_info' 4944 | NAME##_find_inliner_info, \ | ^~~~ nlm-target.h:238:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 238 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:344:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(bfd *, void *, long unsigned int)'} [-Wcast-function-type] 344 | ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ nlm-target.h:33:49: note: in expansion of macro '_bfd_nosymbols_bfd_make_debug_symbol' 33 | #define nlm_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:4945:3: note: in expansion of macro 'nlm_bfd_make_debug_symbol' 4945 | NAME##_bfd_make_debug_symbol, \ | ^~~~ nlm-target.h:238:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 238 | BFD_JUMP_TABLE_SYMBOLS (nlm), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:381:37: warning: cast between incompatible function types from 'int (*)(bfd *)' to 'int (*)(bfd *, bfd_boolean)' {aka 'int (*)(bfd *, int)'} [-Wcast-function-type] 381 | #define _bfd_nolink_sizeof_headers ((int (*) (bfd *, bfd_boolean)) bfd_0) | ^ nlm-target.h:42:49: note: in expansion of macro '_bfd_nolink_sizeof_headers' 42 | #define nlm_sizeof_headers _bfd_nolink_sizeof_headers | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bfd.h:5010:3: note: in expansion of macro 'nlm_sizeof_headers' 5010 | NAME##_sizeof_headers, \ | ^~~~ nlm-target.h:241:3: note: in expansion of macro 'BFD_JUMP_TABLE_LINK' 241 | BFD_JUMP_TABLE_LINK (nlm), | ^~~~~~~~~~~~~~~~~~~ libbfd.h:423:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(bfd *, struct bfd_symbol **)'} [-Wcast-function-type] 423 | ((long (*) (bfd *, asymbol **)) _bfd_n1) | ^ bfd.h:5073:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' 5073 | NAME##_canonicalize_dynamic_symtab, \ | ^~~~ nlm-target.h:242:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 242 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:425:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Wcast-function-type] 425 | ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) | ^ bfd.h:5074:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' 5074 | NAME##_get_synthetic_symtab, \ | ^~~~ nlm-target.h:242:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 242 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:428:4: warning: cast between incompatible function types from 'long int (*)(bfd *)' to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Wcast-function-type] 428 | ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) | ^ bfd.h:5076:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' 5076 | NAME##_canonicalize_dynamic_reloc | ^~~~ nlm-target.h:242:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' 242 | BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o nlm64.lo nlm64.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c nlm64.c -o nlm64.o /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c -o pepigen.lo pepigen.c gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -I.././bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -c pepigen.c -o pepigen.o pepigen.c: In function 'pe_print_pdata': pepigen.c:1591:11: warning: variable 'em_data' set but not used [-Wunused-but-set-variable] 1591 | int em_data; | ^~~~~~~ pepigen.c: In function 'pe_print_reloc': pepigen.c:1681:17: warning: variable 'datasize' set but not used [-Wunused-but-set-variable] 1681 | bfd_size_type datasize; | ^~~~~~~~ /usr/bin/bash ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -o libbfd.la -rpath /opt/pkg/cross/x86_64-sun-solaris2.11/i386-linux/lib -release 2.17 archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo merge.lo dwarf2.lo simple.lo archive64.lo `cat ofiles` libtool: link: `elf32-am33lin.lo' is not a valid libtool object *** [libbfd.la] Error code 1 bmake[3]: stopped in /home/pbulk/build/cross/cross-binutils/work/binutils-2.17/bfd 1 error bmake[3]: stopped in /home/pbulk/build/cross/cross-binutils/work/binutils-2.17/bfd *** [all-recursive] Error code 1 bmake[2]: stopped in /home/pbulk/build/cross/cross-binutils/work/binutils-2.17/bfd 1 error bmake[2]: stopped in /home/pbulk/build/cross/cross-binutils/work/binutils-2.17/bfd *** [all] Error code 2 bmake[1]: stopped in /home/pbulk/build/cross/cross-binutils/work/binutils-2.17/bfd 1 error bmake[1]: stopped in /home/pbulk/build/cross/cross-binutils/work/binutils-2.17/bfd *** [all-bfd] Error code 2 bmake: stopped in /home/pbulk/build/cross/cross-binutils/work/binutils-2.17 1 error bmake: stopped in /home/pbulk/build/cross/cross-binutils/work/binutils-2.17 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/cross-binutils *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/cross-binutils