Hi Stefan,

> Thanks for clarification.  Since the late time changes were rather a
> nit/fixup, I committed the v5 patches as
>
> r16-2376-g9791950017c90c
> r16-2375-gcbf17db978c663
> r16-2374-ga51c146ebce41b

this patch broke Solaris bootstrap (and no doubt every non-glibc
platform as well):

In file included from ./tm_p.h:6,
                 from build/gencondmd.cc:29:
./tm-preds.h: In function ‘std::size_t insn_constraint_len(char, const char*)’:
./tm-preds.h:432:30: error: ‘rawmemchr’ was not declared in this scope
  432 |       return ((const char *) rawmemchr (str + 1, '}') - str) + 1;
      |                              ^~~~~~~~~

gcc/genpreds.cc:        "      return ((const char *) rawmemchr (str + 1, '}') 
- str) + 1;\n"

rawmemchr is a glibc extension not present in libiberty.

Please fix.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to