* [Buildroot] [PATCH 1/1] package/glibc: set --enable-kernel to match kernel
@ 2016-01-28 3:51 Sam Bobroff
2016-01-29 4:03 ` Stewart Smith
2016-02-23 22:57 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Sam Bobroff @ 2016-01-28 3:51 UTC (permalink / raw)
To: buildroot
Glibc is currently configured without any "--enable-kernel" option.
This causes it to use the oldest possible kernel API, slowing it down
and preventing it from using any kernel features from later versions.
Since we are likely building a kernel and matching glibc together,
backwards compatability is probably unnecessary so this patch
unconditionally configures glibc with --enable-kernel set to
BR2_TOOLCHAIN_HEADERS_AT_LEAST.
Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
---
package/glibc/glibc.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk
index e60575f..4a9ba0e 100644
--- a/package/glibc/glibc.mk
+++ b/package/glibc/glibc.mk
@@ -96,6 +96,7 @@ define GLIBC_CONFIGURE_CMDS
--disable-profile \
--without-gd \
--enable-obsolete-rpc \
+ --enable-kernel=$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)) \
--with-headers=$(STAGING_DIR)/usr/include)
$(GLIBC_ADD_MISSING_STUB_H)
endef
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/glibc: set --enable-kernel to match kernel
2016-01-28 3:51 [Buildroot] [PATCH 1/1] package/glibc: set --enable-kernel to match kernel Sam Bobroff
@ 2016-01-29 4:03 ` Stewart Smith
2016-02-23 22:57 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Stewart Smith @ 2016-01-29 4:03 UTC (permalink / raw)
To: buildroot
Sam Bobroff <sam.bobroff@au1.ibm.com> writes:
> Glibc is currently configured without any "--enable-kernel" option.
> This causes it to use the oldest possible kernel API, slowing it down
> and preventing it from using any kernel features from later versions.
>
> Since we are likely building a kernel and matching glibc together,
> backwards compatability is probably unnecessary so this patch
> unconditionally configures glibc with --enable-kernel set to
> BR2_TOOLCHAIN_HEADERS_AT_LEAST.
>
> Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Built+boot tested against what we use for OpenPower firmware.
Tested-by: Stewart Smith <stewart@linux.vnet.ibm.com>
--
Stewart Smith
OPAL Architect, IBM.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/glibc: set --enable-kernel to match kernel
2016-01-28 3:51 [Buildroot] [PATCH 1/1] package/glibc: set --enable-kernel to match kernel Sam Bobroff
2016-01-29 4:03 ` Stewart Smith
@ 2016-02-23 22:57 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-02-23 22:57 UTC (permalink / raw)
To: buildroot
Dear Sam Bobroff,
On Thu, 28 Jan 2016 14:51:23 +1100, Sam Bobroff wrote:
> Glibc is currently configured without any "--enable-kernel" option.
> This causes it to use the oldest possible kernel API, slowing it down
> and preventing it from using any kernel features from later versions.
>
> Since we are likely building a kernel and matching glibc together,
> backwards compatability is probably unnecessary so this patch
> unconditionally configures glibc with --enable-kernel set to
> BR2_TOOLCHAIN_HEADERS_AT_LEAST.
>
> Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
> ---
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-23 22:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-28 3:51 [Buildroot] [PATCH 1/1] package/glibc: set --enable-kernel to match kernel Sam Bobroff
2016-01-29 4:03 ` Stewart Smith
2016-02-23 22:57 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.