Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/uclibc: fix big oops from fb354d5f
@ 2013-07-24 15:02 Gustavo Zacarias
  2013-07-24 15:22 ` Markos Chandras
  0 siblings, 1 reply; 5+ messages in thread
From: Gustavo Zacarias @ 2013-07-24 15:02 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 ...0010-Rules.mak-fix-breakage-from-603af30d.patch | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 package/uclibc/0.9.33.2/uclibc-0010-Rules.mak-fix-breakage-from-603af30d.patch

diff --git a/package/uclibc/0.9.33.2/uclibc-0010-Rules.mak-fix-breakage-from-603af30d.patch b/package/uclibc/0.9.33.2/uclibc-0010-Rules.mak-fix-breakage-from-603af30d.patch
new file mode 100644
index 0000000..c2bc0ab
--- /dev/null
+++ b/package/uclibc/0.9.33.2/uclibc-0010-Rules.mak-fix-breakage-from-603af30d.patch
@@ -0,0 +1,31 @@
+From ce45262289a79dee13da1c621837716c1222d791 Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Wed, 24 Jul 2013 11:04:02 -0300
+Subject: [PATCH] Rules.mak: fix breakage from 603af30d
+
+Removing the whitespace from findstring for 64 bit architectures has
+bad consequences since powerpc would be a match in powerpc64 and sparc
+would also be a match in sparc64.
+That doesn't make them 64 bits in reality causing general breakage.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+ Rules.mak | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Rules.mak b/Rules.mak
+index 889108e..09a01a3 100644
+--- a/Rules.mak
++++ b/Rules.mak
+@@ -141,7 +141,7 @@ UBACKTRACE_DSO := libubacktrace.so.$(ABI_VERSION)
+ 
+ UCLIBC_LDSO_NAME := ld-uClibc
+ ARCH_NATIVE_BIT := 32
+-ifneq ($(findstring $(TARGET_ARCH),hppa64 ia64 powerpc64 s390x sparc64 x86_64),)
++ifneq ($(findstring  $(TARGET_ARCH) , hppa64 ia64 mips64 powerpc64 s390x sparc64 x86_64 ),)
+ UCLIBC_LDSO_NAME := ld64-uClibc
+ ARCH_NATIVE_BIT := 64
+ else
+-- 
+1.8.1.5
+
-- 
1.8.1.5

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

* [Buildroot] [PATCH] package/uclibc: fix big oops from fb354d5f
  2013-07-24 15:02 [Buildroot] [PATCH] package/uclibc: fix big oops from fb354d5f Gustavo Zacarias
@ 2013-07-24 15:22 ` Markos Chandras
  2013-07-24 15:47   ` Gustavo Zacarias
  0 siblings, 1 reply; 5+ messages in thread
From: Markos Chandras @ 2013-07-24 15:22 UTC (permalink / raw)
  To: buildroot

On 24 July 2013 16:02, Gustavo Zacarias <gustavo@zacarias.com.ar> wrote:
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  ...0010-Rules.mak-fix-breakage-from-603af30d.patch | 31 ++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>  create mode 100644 package/uclibc/0.9.33.2/uclibc-0010-Rules.mak-fix-breakage-from-603af30d.patch
>
> diff --git a/package/uclibc/0.9.33.2/uclibc-0010-Rules.mak-fix-breakage-from-603af30d.patch b/package/uclibc/0.9.33.2/uclibc-0010-Rules.mak-fix-breakage-from-603af30d.patch
> new file mode 100644
> index 0000000..c2bc0ab
> --- /dev/null
> +++ b/package/uclibc/0.9.33.2/uclibc-0010-Rules.mak-fix-breakage-from-603af30d.patch
> @@ -0,0 +1,31 @@
> +From ce45262289a79dee13da1c621837716c1222d791 Mon Sep 17 00:00:00 2001
> +From: Gustavo Zacarias <gustavo@zacarias.com.ar>
> +Date: Wed, 24 Jul 2013 11:04:02 -0300
> +Subject: [PATCH] Rules.mak: fix breakage from 603af30d
> +
> +Removing the whitespace from findstring for 64 bit architectures has
> +bad consequences since powerpc would be a match in powerpc64 and sparc
> +would also be a match in sparc64.
> +That doesn't make them 64 bits in reality causing general breakage.
> +
> +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> +---
> + Rules.mak | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/Rules.mak b/Rules.mak
> +index 889108e..09a01a3 100644
> +--- a/Rules.mak
> ++++ b/Rules.mak
> +@@ -141,7 +141,7 @@ UBACKTRACE_DSO := libubacktrace.so.$(ABI_VERSION)
> +
> + UCLIBC_LDSO_NAME := ld-uClibc
> + ARCH_NATIVE_BIT := 32
> +-ifneq ($(findstring $(TARGET_ARCH),hppa64 ia64 powerpc64 s390x sparc64 x86_64),)
> ++ifneq ($(findstring  $(TARGET_ARCH) , hppa64 ia64 mips64 powerpc64 s390x sparc64 x86_64 ),)
> + UCLIBC_LDSO_NAME := ld64-uClibc
> + ARCH_NATIVE_BIT := 64
> + else
> +--
> +1.8.1.5
> +
> --
> 1.8.1.5
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

The patch is partially ok. It breaks mips64 that was fixed in

http://git.buildroot.net/buildroot/commit/package/uclibc/0.9.33.2?id=fb354d5faaa9b912e3d868b92622c11323d6ae9f

I've also commented on that in the uClibc list

-- 
Regards,
Markos Chandras

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

* [Buildroot] [PATCH] package/uclibc: fix big oops from fb354d5f
  2013-07-24 15:22 ` Markos Chandras
@ 2013-07-24 15:47   ` Gustavo Zacarias
  2013-07-24 15:53     ` Markos Chandras
  0 siblings, 1 reply; 5+ messages in thread
From: Gustavo Zacarias @ 2013-07-24 15:47 UTC (permalink / raw)
  To: buildroot

On 07/24/2013 12:22 PM, Markos Chandras wrote:

> The patch is partially ok. It breaks mips64 that was fixed in
> 
> http://git.buildroot.net/buildroot/commit/package/uclibc/0.9.33.2?id=fb354d5faaa9b912e3d868b92622c11323d6ae9f
> 
> I've also commented on that in the uClibc list

Right, sent V2 to both lists.
Careful with whitespace and constructs in makefiles next time ;)
Regards.

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

* [Buildroot] [PATCH] package/uclibc: fix big oops from fb354d5f
  2013-07-24 15:47   ` Gustavo Zacarias
@ 2013-07-24 15:53     ` Markos Chandras
  2013-07-24 15:58       ` Gustavo Zacarias
  0 siblings, 1 reply; 5+ messages in thread
From: Markos Chandras @ 2013-07-24 15:53 UTC (permalink / raw)
  To: buildroot

On 24 July 2013 16:47, Gustavo Zacarias <gustavo@zacarias.com.ar> wrote:
> On 07/24/2013 12:22 PM, Markos Chandras wrote:
>
>> The patch is partially ok. It breaks mips64 that was fixed in
>>
>> http://git.buildroot.net/buildroot/commit/package/uclibc/0.9.33.2?id=fb354d5faaa9b912e3d868b92622c11323d6ae9f
>>
>> I've also commented on that in the uClibc list
>
> Right, sent V2 to both lists.
> Careful with whitespace and constructs in makefiles next time ;)
> Regards.

Well, mistakes can happen :)

-- 
Regards,
Markos Chandras

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

* [Buildroot] [PATCH] package/uclibc: fix big oops from fb354d5f
  2013-07-24 15:53     ` Markos Chandras
@ 2013-07-24 15:58       ` Gustavo Zacarias
  0 siblings, 0 replies; 5+ messages in thread
From: Gustavo Zacarias @ 2013-07-24 15:58 UTC (permalink / raw)
  To: buildroot

On 07/24/2013 12:53 PM, Markos Chandras wrote:

> Well, mistakes can happen :)

Of course, i broke shit many times :)
Regards.

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

end of thread, other threads:[~2013-07-24 15:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-24 15:02 [Buildroot] [PATCH] package/uclibc: fix big oops from fb354d5f Gustavo Zacarias
2013-07-24 15:22 ` Markos Chandras
2013-07-24 15:47   ` Gustavo Zacarias
2013-07-24 15:53     ` Markos Chandras
2013-07-24 15:58       ` Gustavo Zacarias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox