[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
inline problems on RHEL 5.8
From: |
Eric Blake |
Subject: |
inline problems on RHEL 5.8 |
Date: |
Mon, 31 Dec 2012 09:57:54 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
How do I go about debugging and fixing these errors? I suspect they are
more fallout from Paul's efforts to revamp how 'inline' works; these
were reproduced by temporarily bumping m4 to the latest gnulib.git and
compiling on a RHEL 5.8 machine (kernel 2.6.18, glibc 2.5, gcc 4.6.4):
gcc -std=gnu99 -g -O2 -o m4 m4.o builtin.o debug.o eval.o format.o
freeze.o input.o macro.o output.o path.o symtab.o ../lib/libm4.a
/usr/local/lib/libsigsegv.a -lc
builtin.o: In function `stpncpy':
/usr/include/bits/string3.h:156: multiple definition of `stpncpy'
m4.o:/usr/include/bits/string3.h:156: first defined here
It's choking on this, and any other function, where older glibc uses the
following style of declaration:
extern __always_inline char *
__NTH (stpncpy (char *__dest, __const char *__src, size_t __n))
{
... }
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- inline problems on RHEL 5.8,
Eric Blake <=