Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 599344 Details for
Bug 702516
sys-libs/libcap-2.28 fails to build (LTO?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Remove test
0001-Remove-static-test.patch (text/plain), 1.61 KB, created by
Mike Lothian
on 2019-12-13 13:55:10 UTC
(
hide
)
Description:
Remove test
Filename:
MIME Type:
Creator:
Mike Lothian
Created:
2019-12-13 13:55:10 UTC
Size:
1.61 KB
patch
obsolete
>From 28609ca3eb6e1e627df4524912500fe00a6a1c77 Mon Sep 17 00:00:00 2001 >From: Mike Lothian <mike@fireburn.co.uk> >Date: Fri, 13 Dec 2019 13:52:12 +0000 >Subject: [PATCH] Remove static test > >--- > tests/Makefile | 16 +++------------- > tests/libcap_psx_test.c | 11 ----------- > 2 files changed, 3 insertions(+), 24 deletions(-) > delete mode 100644 tests/libcap_psx_test.c > >diff --git a/tests/Makefile b/tests/Makefile >index dfed90e..cecd7e8 100644 >--- a/tests/Makefile >+++ b/tests/Makefile >@@ -7,25 +7,15 @@ include ../Make.Rules > > CFLAGS += -fPIC > >-all: run_psx_test run_libcap_psx_test >+all: run_psx_test > > install: all > >-run_psx_test: psx_test psx_test_wrap >+run_psx_test: psx_test > ./psx_test >- ./psx_test_wrap > > psx_test: psx_test.c > $(CC) $(CFLAGS) $(CPPFLAGS) -DNOWRAP $< -o $@ $(LIBPSXLIB) > >-psx_test_wrap: psx_test.c >- $(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LIBPSXLIB) -Wl,-wrap,pthread_create >- >-run_libcap_psx_test: libcap_psx_test >- ./libcap_psx_test >- >-libcap_psx_test: libcap_psx_test.c >- $(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LIBCAPLIB) $(LIBPSXLIB) -Wl,-wrap,pthread_create --static >- > clean: >- rm -f psx_test psx_test_wrap libcap_psx_test >+ rm -f psx_test >diff --git a/tests/libcap_psx_test.c b/tests/libcap_psx_test.c >deleted file mode 100644 >index 4b09bb0..0000000 >--- a/tests/libcap_psx_test.c >+++ /dev/null >@@ -1,11 +0,0 @@ >-#include <pthread.h> >-#include <stdio.h> >-#include <sys/capability.h> >-#include <sys/psx_syscall.h> >- >-int main(int argc, char **argv) { >- printf("hello libcap and libpsx\n"); >- psx_register(pthread_self()); >- cap_t start = cap_get_proc(); >- cap_set_proc(start); >-} >-- >2.24.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 702516
:
599120
|
599122
| 599344 |
600964