]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
trinity: fix build with glibc 2.27
authorBaruch Siach <baruch@tkos.co.il>
Tue, 13 Mar 2018 07:19:39 +0000 (09:19 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 13 Mar 2018 08:26:30 +0000 (09:26 +0100)
commit412443fb8fe309086c1da99d9ee441492d142211
tree8969cc0e583f7810e8a20dacc51fe16a65b2f695
parentf437bf547ca44849db4578c31707afdd96b85018
trinity: fix build with glibc 2.27

glibc 2.27 added a system call wrapper for memfd_create() which collides
with the local definition of the same symbol in trinity. Add a patch to
detect the presence of memfd_create(), and avoid collision.

Fixes:
http://autobuild.buildroot.net/results/fda/fda07327395921fdc79cbb4f24b662209fee1be1/
http://autobuild.buildroot.net/results/f98/f98f43657cbf519a626257af5a21c8c228423856/
http://autobuild.buildroot.net/results/575/57558c418ea5c5011ac22e5236beff4d823c825b/

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/trinity/0002-memfd-fix-build-with-glibc-2.27.patch [new file with mode: 0644]