All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/localedef: don't use config.site when cross-compiling
@ 2014-08-13 21:05 Romain Naour
  2014-08-14 19:19 ` Thomas De Schampheleire
  2014-08-15 20:28 ` Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Romain Naour @ 2014-08-13 21:05 UTC (permalink / raw)
  To: buildroot

On fedora 20 64bits host, the file /usr/share/config.site contains
a fix for installing libraries into /lib/lib64 on 64bits systems
that redefine libdir in the generated Makefile.

This causes the bug 7262 reported Normen Bolling.

Set CONFIG_SITE to "no" to not use config.site

fixes: https://bugs.busybox.net/show_bug.cgi?id=7262

Reported-by: Normen Bolling <normen.bolling@teufel.de>
Cc: Normen Bolling <normen.bolling@teufel.de>
Cc: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
 package/localedef/localedef.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk
index 17ffd14..9a7118a 100644
--- a/package/localedef/localedef.mk
+++ b/package/localedef/localedef.mk
@@ -8,6 +8,10 @@ LOCALEDEF_VERSION = 2.14.1-r17443-ptx1
 LOCALEDEF_SOURCE  = localedef-eglibc-$(LOCALEDEF_VERSION).tar.bz2
 LOCALEDEF_SITE    = http://www.pengutronix.de/software/ptxdist/temporary-src
 
+# Avoid loading /usr/share/config.site that can redefine libdir when
+# the host arch is a 64bit system.
+HOST_LOCALEDEF_CONF_ENV = CONFIG_SITE="no"
+
 HOST_LOCALEDEF_CONF_OPT += \
 	--prefix=/usr \
 	--with-glibc=./eglibc
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/1] package/localedef: don't use config.site when cross-compiling
  2014-08-13 21:05 [Buildroot] [PATCH 1/1] package/localedef: don't use config.site when cross-compiling Romain Naour
@ 2014-08-14 19:19 ` Thomas De Schampheleire
  2014-08-15 20:28 ` Thomas Petazzoni
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas De Schampheleire @ 2014-08-14 19:19 UTC (permalink / raw)
  To: buildroot

On Wed, Aug 13, 2014 at 11:05 PM, Romain Naour <romain.naour@openwide.fr> wrote:
> On fedora 20 64bits host, the file /usr/share/config.site contains
> a fix for installing libraries into /lib/lib64 on 64bits systems
> that redefine libdir in the generated Makefile.
>
> This causes the bug 7262 reported Normen Bolling.
>
> Set CONFIG_SITE to "no" to not use config.site
>
> fixes: https://bugs.busybox.net/show_bug.cgi?id=7262
>
> Reported-by: Normen Bolling <normen.bolling@teufel.de>
> Cc: Normen Bolling <normen.bolling@teufel.de>
> Cc: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
> Signed-off-by: Romain Naour <romain.naour@openwide.fr>

Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

This patch should go in 2014.08.

Best regards,
Thomas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/1] package/localedef: don't use config.site when cross-compiling
  2014-08-13 21:05 [Buildroot] [PATCH 1/1] package/localedef: don't use config.site when cross-compiling Romain Naour
  2014-08-14 19:19 ` Thomas De Schampheleire
@ 2014-08-15 20:28 ` Thomas Petazzoni
  2014-08-17 17:34   ` Romain Naour
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2014-08-15 20:28 UTC (permalink / raw)
  To: buildroot

Dear Romain Naour,

On Wed, 13 Aug 2014 23:05:23 +0200, Romain Naour wrote:
> On fedora 20 64bits host, the file /usr/share/config.site contains
> a fix for installing libraries into /lib/lib64 on 64bits systems
> that redefine libdir in the generated Makefile.
> 
> This causes the bug 7262 reported Normen Bolling.
> 
> Set CONFIG_SITE to "no" to not use config.site
> 
> fixes: https://bugs.busybox.net/show_bug.cgi?id=7262
> 
> Reported-by: Normen Bolling <normen.bolling@teufel.de>
> Cc: Normen Bolling <normen.bolling@teufel.de>
> Cc: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
> Signed-off-by: Romain Naour <romain.naour@openwide.fr>
> ---
>  package/localedef/localedef.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/1] package/localedef: don't use config.site when cross-compiling
  2014-08-15 20:28 ` Thomas Petazzoni
@ 2014-08-17 17:34   ` Romain Naour
  2014-08-17 18:57     ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Romain Naour @ 2014-08-17 17:34 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

Le 15/08/2014 22:28, Thomas Petazzoni a ?crit :
> Dear Romain Naour,
> 
> On Wed, 13 Aug 2014 23:05:23 +0200, Romain Naour wrote:
>> On fedora 20 64bits host, the file /usr/share/config.site contains
>> a fix for installing libraries into /lib/lib64 on 64bits systems
>> that redefine libdir in the generated Makefile.
>>
>> This causes the bug 7262 reported Normen Bolling.
>>
>> Set CONFIG_SITE to "no" to not use config.site
>>
>> fixes: https://bugs.busybox.net/show_bug.cgi?id=7262
>>

I noticed that other autotools packages continue to load the config.site file
from host.

"configure: loading site script /usr/share/config.site"

I don't know if other packets may be impacted by this issue ...

Maybe move CONFIG_SITE=no to pkg-autotools.mk ?

Best regards,
Romain

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/1] package/localedef: don't use config.site when cross-compiling
  2014-08-17 17:34   ` Romain Naour
@ 2014-08-17 18:57     ` Thomas Petazzoni
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2014-08-17 18:57 UTC (permalink / raw)
  To: buildroot

Dear Romain Naour,

On Sun, 17 Aug 2014 19:34:15 +0200, Romain Naour wrote:

> I noticed that other autotools packages continue to load the config.site file
> from host.
> 
> "configure: loading site script /usr/share/config.site"
> 
> I don't know if other packets may be impacted by this issue ...
> 
> Maybe move CONFIG_SITE=no to pkg-autotools.mk ?

Yes, maybe we should do that.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-17 18:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-13 21:05 [Buildroot] [PATCH 1/1] package/localedef: don't use config.site when cross-compiling Romain Naour
2014-08-14 19:19 ` Thomas De Schampheleire
2014-08-15 20:28 ` Thomas Petazzoni
2014-08-17 17:34   ` Romain Naour
2014-08-17 18: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.