This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
libgcov-driver-system bootstrap failure
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Martin Liska <mliska at suse dot cz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 5 Jun 2018 20:28:17 -0400
- Subject: libgcov-driver-system bootstrap failure
Martin,
With your recent patch, I receive the following failure building
libgcov-driver-system.c
In file included from
/nasfarm/edelsohn/src/src/gcc/../libgcc/libgcov-driver.c:322:0:
/nasfarm/edelsohn/src/src/gcc/../libgcc/libgcov-driver-system.c: In
function 'char* replace_filename_variables(char*)':
/nasfarm/edelsohn/src/src/gcc/../libgcc/libgcov-driver-system.c:193:61:
error: 'mempcpy' was not declared in this scope
buffer_ptr = (char *)mempcpy (buffer_ptr, filename, start);
mempcpy is a GLIBC extension and not defined in POSIX. There is no
libiberty implementation. Please avoid use of GLIBC-specific
functions.
Thanks, David