Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure with MKPIC=no



In article <201002271325.OAA0000015594%zel459.zel.kfa-juelich.de@localhost>,
Matthias Drochner  <M.Drochner%fz-juelich.de@localhost> wrote:
>
>Ephaeton%gmx.net@localhost said:
>> /data/current-dest/usr/lib/libc.a(compat_ldexp_ieee754.o): In function
>> `finite':
>> compat_ldexp_ieee754.c:(.text+0x0): multiple definition of `finite'
>
>This is likely due to the "USE_LIBM" hack -- see
>lib/libc/compat/gen/Makefile.inc
>I'd suggest to remove it and add a warn_reference to the
>libc compat version. If we don't, we'll never be able to
>clean up this compatibility mess.

The hack should work as long as both the libm and libc .o files export
the same symbols. Isn't that the case?

christos



Home | Main Index | Thread Index | Old Index