New: Compiling linux kernel fails if BR2_LINUX_KERNEL_TOOL_CPUPOWER is selected
https://bugs.busybox.net/show_bug.cgi?id=9181
Bug ID: 9181
Summary: Compiling linux kernel fails if
BR2_LINUX_KERNEL_TOOL_CPUPOWER is selected
Product: buildroot
Version: 2016.05
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: Jorgen.Pihlflyckt at ajeco.fi
CC: buildroot at uclibc.org
Target Milestone: ---
Compiling fails just after the linux kernel has been built, if "cpupower" is selected under "Linux Kernel Tools" with the following error:
CC utils/helpers/sysfs.o
In file included from utils/helpers/amd.c:9:0:./utils/helpers/helpers.h:13:21: fatal error: libintl.h: No such file or directory
#include <libintl.h>
^compilation terminated.
Enabling WCHAR support under toolchain settings, and then selecting "gettext" under "Target Packages" and "Development Tools" allows the compilation to get a little further, but it still stops with the following error:
CC cpupower./utils/idle_monitor/amd_fam14h_idle.o: In function `amd_fam14h_stop':
amd_fam14h_idle.c:(.text+0x3c3): undefined reference to libintl_gettext' ./utils/idle_monitor/cpupower-monitor.o: In function print_wrong_arg_exit':
cpupower-monitor.c:(.text+0x9): undefined reference to libintl_gettext' ./utils/idle_monitor/cpupower-monitor.o: In function print_results':
and so on. This has also been tested with buildroot-2015.11.1 using the default configuration. The kernel configuration selected was i386 (defconfig)
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 9181] Compiling linux kernel fails if BR2_LINUX_KERNEL_TOOL_CPUPOWER is selected
https://bugs.busybox.net/show_bug.cgi?id=9181
Yann E. MORIN <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
|.org |
CC| |yann.morin.1998 at free.fr
Status|NEW |ASSIGNEDSignature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 9181] Compiling linux kernel fails if BR2_LINUX_KERNEL_TOOL_CPUPOWER is selected
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=9181
--- Comment #1 from Yann E. MORIN <[email protected]> --- Joergen,
I sent a patch to the list:
https://patchwork.ozlabs.org/patch/660594/
Care to test it and report, please?
Regards,
Yann E. MORIN.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 9181] Compiling linux kernel fails if BR2_LINUX_KERNEL_TOOL_CPUPOWER is selected
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=9181
--- Comment #2 from Joergen Pihlflyckt <[email protected]> --- Yes!
I tested the patch on 2016.05, and it works. Thank you very much. Looks like we can close this bug very quickly ;-)
Is it possible to get this into the upcoming 2016.08 release?
-----
Regards. Jorgen.Pihlflyckt at ajeco.fi
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 9181] Compiling linux kernel fails if BR2_LINUX_KERNEL_TOOL_CPUPOWER is selected
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=9181
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED--- Comment #3 from Thomas Petazzoni <[email protected]> --- Fixed in commit f55adea434876cf1ee2604abe367ed1b6c555faf.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.