* setools and gold linker
@ 2013-08-15 11:27 Sven Vermeulen
0 siblings, 0 replies; only message in thread
From: Sven Vermeulen @ 2013-08-15 11:27 UTC (permalink / raw)
To: SELinux List
Hi all
I have a bug report regarding SETools not being able to build when the "gold
linker" is used [1]. The build output is as follows:
x86_64-pc-linux-gnu-ranlib libqpol.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
error: symbol qpol_policy_open_from_memory has undefined version
collect2: error: ld returned 1 exit status
It doesn't like the following (unversioned) symver:
__asm__(".symver qpol_policy_open_from_memory_old,qpol_policy_open_from_memory@");
Handling these things is a bit beyond my comprehension, so I'm asking here.
Would it be a good idea to, like the FUSE example mentioned in the
bugreport, create a QPOL_UNVERSIONED in libqpol.map (with no content) and
refer to that, like so:
__asm__(".symver qpol_policy_open_from_memory_old,qpol_policy_open_from_memory@QPOL_UNVERSIONED");
Same of course for the other unversioned ones.
Wkr,
Sven Vermeulen
[1] https://bugs.gentoo.org/show_bug.cgi?id=467136
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-15 11:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-15 11:27 setools and gold linker Sven Vermeulen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.