------- Additional Comments From peter dot kovar at gmail dot com 2009-06-23 08:58 ------- configure:6868: checking whether basename is declared configure:6892: g++ -c -g -O2 conftest.cc >&5 conftest.cc: In function 'int main()': conftest.cc:87: error: overloaded function with no contextual type information configure:6898: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gold" | #define PACKAGE_TARNAME "gold" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "gold 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "gold" | #define VERSION "0.1" | #define TARGET_SYSTEM_ROOT "" | #define TARGET_SYSTEM_ROOT_RELOCATABLE 0 | #define HAVE_TARGET_32_LITTLE 1 | #define HAVE_TARGET_32_BIG 1 | #define HAVE_TARGET_64_LITTLE 1 | #define HAVE_TARGET_64_BIG 1 | #define GOLD_DEFAULT_MACHINE EM_X86_64 | #define GOLD_DEFAULT_SIZE 64 | #define GOLD_DEFAULT_BIG_ENDIAN false | #define GOLD_DEFAULT_OSABI ELFOSABI_NONE | #ifdef __cplusplus | extern "C" void exit (int) throw (); | #endif | #define _GNU_SOURCE 1 | #define ENABLE_NLS 1 | #define HAVE_OMP_SUPPORT 1 | #define HAVE_PREAD 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_MREMAP 1 | #define HAVE_FFSLL 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ZLIB_H 1 | #define HAVE_TR1_UNORDERED_SET 1 | #define HAVE_TR1_UNORDERED_MAP 1 | #define HAVE_EXT_HASH_MAP 1 | #define HAVE_EXT_HASH_SET 1 | #define HAVE_BYTESWAP_H 1 | #define HAVE_MALLINFO 1 | #define HAVE_POSIX_FALLOCATE 1 | /* end confdefs.h. */ | #include <stdio.h> | #if HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #if HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #if STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # if HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #if HAVE_STRINGS_H | # include <strings.h> | #endif | #if HAVE_INTTYPES_H | # include <inttypes.h> | #else | # if HAVE_STDINT_H | # include <stdint.h> | # endif | #endif | #if HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | #ifndef basename | char *p = (char *) basename; | #endif | | ; | return 0; | }
€ gcc --version gcc (GCC) 4.4.0 20090514 (Red Hat 4.4.0-5) Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10105 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils