c/10636: configuration mismatch with mempcpy

steveu@coppice.org steveu@coppice.org
Tue May 6 05:23:00 GMT 2003


>Number:         10636
>Category:       c
>Synopsis:       configuration mismatch with mempcpy
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 06 04:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Steve Underwood
>Release:        3.2.3
>Organization:
>Environment:
cygwin
>Description:
The ./configure configuration of GCC looks for the existance of the function mempcpy, and if found sets HAVE_MEMPCPY. However the function which is actually used in gcc/fixinc/gnu-regex.c (I don't think it occurs anywhere else) is __mempcpy. This works on most systems, which have both __mempcpy and mempcpy. The latest cygwin only has mempcpy, and   shows up the bug. gcc needs a little patching to make it build.
>How-To-Repeat:

>Fix:
Look for either __mempcpy or mempcpy. Set and use separate variables,depending on the outcome. That seems the bullet proof approach.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list