Hi,

On Sun, Aug 26, 2012 at 11:47 PM, Jakub Jermar <[email protected]> wrote:
>
> Besides of the issues in the comments, I found that after cleanly
> merging this into mainline, make check fails. At least on arm32, your
> new code seems to be bringing in a dependency on some undefined symbol:
>
> ../../lib/c/libc.a(time.o): In function `difftime':
> /home/jermar/software/HelenOS.mainline/uspace/lib/c/generic/time.c:981:
> undefined reference to `__aeabi_i2d'

The problem is that the difftime() function returns a double, as
defined by the C99 standard.

double difftime(time_t, time_t);

So AFAIK we have two possible solutions:

1) Change the difftime() prototype to return an integer number instead
of a double, for example it could return time_t.

2) Make libc dependent on libsoftfloat.

What do you suggest?

-- 
--------------------
Maurizio Lombardi

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to