Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 416656 Details for
Bug 565466
app-laptop/i8kutils-1.42 fails to build with GCC 5 (and has other problems)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
i8kutils-1.42-Makefile.patch
i8kutils-1.42-Makefile.patch (text/plain), 1.27 KB, created by
Ryan Hill (RETIRED)
on 2015-11-11 10:03:40 UTC
(
hide
)
Description:
i8kutils-1.42-Makefile.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2015-11-11 10:03:40 UTC
Size:
1.27 KB
patch
obsolete
>Fix a race condition causing parallel builds to sometimes fail. > >Both probe_i8k_calls_time and i8kctl contain a main() function, though >i8kctl's is omitted when built with -DLIB so they can link without a >conflict. i8kctl is also a standalone exe so it is built twice, with >and without -DLIB. When building in parallel you can get into a >situation where the object file created by the probe_i8k_calls_time >target gets overwritten with the one from i8kctl and bad things happen. >Nothing actually uses the i8kctl.o that has main() so we can just not >build it. > >Also move CFLAGS, CC, LDFLAGS respect out of the ebuild. > >--- a/Makefile >+++ b/Makefile >@@ -17,13 +17,13 @@ ccflags-y = -Wall > > all: i8kctl probe_i8k_calls_time > >-i8kctl: i8kctl.c i8kctl.o >- gcc -Wall i8kctl.c -o i8kctl >+i8kctl: i8kctl.c >+ $(CC) -Wall ${CFLAGS} -o i8kctl i8kctl.c > > probe_i8k_calls_time: probe_i8k_calls_time.c >- gcc -Wall -c -g -DLIB i8kctl.c >- gcc -Wall -c -g -DLIB probe_i8k_calls_time.c >- gcc -o probe_i8k_calls_time i8kctl.o probe_i8k_calls_time.o >+ $(CC) -Wall ${CFLAGS} -c -DLIB i8kctl.c >+ $(CC) -Wall ${CFLAGS} -c -DLIB probe_i8k_calls_time.c >+ $(CC) -Wall ${CFLAGS} ${LDFLAGS} -o probe_i8k_calls_time i8kctl.o probe_i8k_calls_time.o > > i8k: > make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 565466
:
416654
| 416656 |
416658