questions about uclibc 0.9.30 elf type "FILE"

Kevin Day thekevinday at gmail.com
Thu Jan 22 00:02:29 UTC 2009


During a test compilation of my system under uClibc 0.9.30, xterm
failed to link because the function getpt was unresolved.

Looking in /lib/libc.so of 0.9.30 with readelf showed that getpt was
defined as type  "FILE" with a name of "getpt.c" (notice the trailing
.c)
Looking at /lib/libc.so of 0.9.28.3 with readelf, gept was properly
defined as type "FUNC" with a name of "getpt"
Both versions of uClibc were compiled with identical packages and as
similar of a .config file as possible.

Is this intentional or is it some sort of linker bug?
If this is intentional, what is the purpose behind this and what
linker flag is passed to create such an existence?

-- 
Kevin Day


More information about the uClibc mailing list