This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

omitting all compatibility interfaces from the build


Hi,

When doing a complete BSP build for an embedded target, there are and
will not be any old existing binaries that have been linked against an
older libc. Hence there is no need for any version of any symbol other
than the currently exposed ones. So would it be possible to add a
configure knob for omitting all the code for the unused/unneeded interfaces?

I looked into shlib-compat.h, and it seems doing

-#ifdef SHARED
+#if defined(SHARED) && !defined(OMIT_COMPAT_VERSIONS)

would be a simple first step, but I assume it can't be that simple - I'm
guessing some later steps in the build process would need tweaking as well.

I'd be happy to do the actual work and figure out what actually needs to
be done, but I first want to hear if such a configure knob is completely
off-the-table before digging into this.

Thanks,
Rasmus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]