[oe] g++ lib problem

Khem Raj raj.khem at gmail.com
Fri Mar 13 17:40:57 UTC 2009


On Fri, Mar 13, 2009 at 8:15 AM, Frans Meulenbroeks
<fransmeulenbroeks at gmail.com> wrote:
> 2009/3/12 Khem Raj <raj.khem at gmail.com>:
> [...]
>>
>> I see it gets it from libm but g++ specifiies -lm for you where as gcc
>> does not. I think the problem is that ARM have same precision for
>> double and long double so glibc defines __NO_LONG_DOUBLE_MATH for ARM
>> as a result the prototypes for the *l functions are not emitted into
>> math.h. Although in glibc they are aliases for the corresponding
> [...]
>
> Khem,
>
> Thanks for the explanation.
> Should we change the glibc package to resolve this?
>

hmmm IMO I think you should fix the application to not ask for long
double functions on platforms where long double is
not different than double and fixing glibc could be ok too. Care for a patch :)
> Frans
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list