This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix stpcpy / mempcpy namespace (bug 17573)
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Andreas Schwab <schwab at suse dot de>, <libc-alpha at sourceware dot org>, Siddhesh Poyarekar <siddhesh at redhat dot com>
- Date: Thu, 13 Nov 2014 23:51:09 +0000
- Subject: Re: Fix stpcpy / mempcpy namespace (bug 17573)
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1411101817450 dot 6767 at digraph dot polyomino dot org dot uk> <mvmbnob5rj7 dot fsf at hawking dot suse dot de> <alpine dot DEB dot 2 dot 10 dot 1411131654290 dot 20029 at digraph dot polyomino dot org dot uk>
On Thu, 13 Nov 2014, Joseph Myers wrote:
> > /tmp/ccXDS5DL.s: Assembler messages:
> > /tmp/ccXDS5DL.s:40: Error: symbol `__mempcpy' is already defined
>
> This patch fixes the build of C mempcpy and stpcpy by disabling the
> redirection to __mempcpy and __stpcpy asm names if
> NO_MEMPCPY_STPCPY_REDIRECT is defined, and defining that macro in the
> relevant source files.
>
> Tested for powerpc32 that the build is fixed.
Likewise with the `mips64-linux-gnu' target (spanning the three usual
MIPS ABIs). Thanks!
Maciej