[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/17479] Shared object missing symbol explicitly specified in --re
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/17479] Shared object missing symbol explicitly specified in --retain-symbols-file |
Date: |
Tue, 14 Oct 2014 09:40:00 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17479
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
If you omit -Wl,--retain-symbols-file=sym.list does the shared library contain
the symbols you seem to have misplaced? I suspect the reason they are missing
is simply that their object file is not included in the link. An object within
an archive library won't be extracted unless it satisfies some undefined symbol
at the point the archive is searched. See also the --whole-archive option.
--
You are receiving this mail because:
You are on the CC list for the bug.