Opened 17 years ago

Closed 17 years ago

#1260 closed bug (fixed)

Missing symbol "trunc"

Reported by: mmlr Owned by: korli
Priority: low Milestone: R1
Component: System/libroot.so Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

When trying a current version of QEMU I get a missing symbol for "trunc". It's supposed to be in libroot:

For R5 libroot: $ objdump --syms /system/lib/libroot.so | grep "trunc" 00036780 g F .text 00000025 truncf 0005071c g F .text 00000055 truncate 00036780 w F .text 00000025 truncf 000502e0 g F .text 0000005b ftruncate 00036750 g F .text 00000025 trunc 00036750 w F .text 00000025 trunc

And for Haiku libroot: $ objdump --syms /Haiku/beos/system/lib/libroot.so | grep "trunc" 00000000 l df *ABS* 00000000 truncate.c 0007b814 g F .text 00000056 truncate 0007b86c g F .text 00000056 ftruncate

It seems the function and two weak symbols are missing. It is used in inline functions in R5 "math.h" but I have no idea where it is actually declared.

Change History (2)

comment:1 by axeld, 17 years ago

Owner: changed from axeld to korli

Since Korli did most of the glibc stuff, I'll pass this on to him.

comment:2 by korli, 17 years ago

Resolution: fixed
Status: newclosed

Hopefully fixed in hrev21350

Note: See TracTickets for help on using tickets.