setools and gold linker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux