Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 499022 Details for
Bug 634572
dev-libs/weston-3.0.0: error: undefined reference to '__start_test_section'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
weston-3.0.0-lto-fix-sections.patch
file_634572.txt (text/plain), 1.28 KB, created by
Quentin Minster
on 2017-10-17 20:30:47 UTC
(
hide
)
Description:
weston-3.0.0-lto-fix-sections.patch
Filename:
MIME Type:
Creator:
Quentin Minster
Created:
2017-10-17 20:30:47 UTC
Size:
1.28 KB
patch
obsolete
>diff --git a/tests/weston-test-runner.h b/tests/weston-test-runner.h >index 21a059d..a28b8c0 100644 >--- a/tests/weston-test-runner.h >+++ b/tests/weston-test-runner.h >@@ -53,7 +53,7 @@ struct weston_test { > static void func(void *); \ > \ > const struct weston_test test##name \ >- __attribute__ ((section ("test_section"))) = \ >+ __attribute__ ((used, section ("test_section"))) = \ > { \ > #name, func, data, size, n_elem, ret \ > }; >diff --git a/tools/zunitc/inc/zunitc/zunitc.h b/tools/zunitc/inc/zunitc/zunitc.h >index 6ac6f39..16b211b 100644 >--- a/tools/zunitc/inc/zunitc/zunitc.h >+++ b/tools/zunitc/inc/zunitc/zunitc.h >@@ -268,7 +268,7 @@ zuc_set_output_junit(bool enable); > static void zuctest_##tcase##_##test(void); \ > \ > const struct zuc_registration zzz_##tcase##_##test \ >- __attribute__ ((section ("zuc_tsect"))) = \ >+ __attribute__ ((used, section ("zuc_tsect"))) = \ > { \ > #tcase, #test, 0, \ > zuctest_##tcase##_##test, \ >@@ -298,7 +298,7 @@ zuc_set_output_junit(bool enable); > static void zuctest_##tcase##_##test(void *param); \ > \ > const struct zuc_registration zzz_##tcase##_##test \ >- __attribute__ ((section ("zuc_tsect"))) = \ >+ __attribute__ ((used, section ("zuc_tsect"))) = \ > { \ > #tcase, #test, &tcase, \ > 0, \
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 634572
: 499022 |
499024