-
-
Notifications
You must be signed in to change notification settings - Fork 7
Need to handle (strip?) .a files #49
Comments
Correct me if I'm wrong, but isn't there more to it than "just strip .a files blindly"? In the case where an executable/library/runtime builds statically against a static library .a file in If the symbols it imports/incorporates have no string table for function/variable names, doesn't that basically make it impossible for the program being linked statically against the static library to provide introspection/debug-ability for the statically linked artefacts? As in: won't this just result in e.g. a |
After discussing it, the outcome is that we're going to avoid stripping static archives, in order to facilitate a better debugging story for statically built binaries. Instead, we're going to pattern This leaves the burden of pulling in static archives on the packagers responsible for anything configured to build/link statically. This has the additional benefit of building against dynamic libraries by default AND ensuring less painful (read: smaller) -devel package updates. |
Need some more consideration re: the naming split. Also some packages may be negatively impacted by this, notably locale archives in glibc. Monitor the split, basiclly. |
Noticed while building llvm
We understand heaviness with
-dbginfo
, they're meant to be mahusive. The-devel
is clearly hiding huge.a
files and needs rectifying in boulder:etc.
The text was updated successfully, but these errors were encountered: