diff for duplicates of <4BEA2375.7040802@nerdbynature.de> diff --git a/a/1.txt b/N1/1.txt index e079f76..afd42b0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,13 +1,14 @@ Maxim Uvarov wrote on 2010-05-11 10:47 : > This patch is required in case if you are using new toolchains. -I'm on Debian/stable (binutils 2.18, gcc 4.3.2), so I applied your patches +I'm on Debian/stable (binutils 2.18, gcc 4.3.2), so I applied your patches= +=20 to the latest -git checkout: First, compilation fails with: cc1: warnings being treated as errors -kexec/arch/ppc/kexec-ppc.c: In function ‘get_base_ranges’: +kexec/arch/ppc/kexec-ppc.c: In function =E2=80=98get_base_ranges=E2=80=99: kexec/arch/ppc/kexec-ppc.c:258: error: value computed is not used make: *** [kexec/arch/ppc/kexec-ppc.o] Error 1 @@ -16,11 +17,11 @@ Somehow a "-" hyphen made it into one of the functions: > --- a/kexec/arch/ppc/kexec-ppc.c > +++ b/kexec/arch/ppc/kexec-ppc.c [...] -> if (local_memory_ranges >= max_memory_ranges) { -> - fclose(file); -> - break; -> + if (realloc_memory_ranges() < 0){ -> + - fclose(file); +> =09=09=09if (local_memory_ranges >=3D max_memory_ranges) { +> -=09=09=09=09fclose(file); +> -=09=09=09=09break; +> +=09=09=09=09if (realloc_memory_ranges() < 0){ +> +=09-=09=09=09=09fclose(file); Removing this, gets me further, until: @@ -33,18 +34,13 @@ collect2: ld returned 1 exit status make: *** [purgatory/purgatory.ro] Error 1 And has been defined in purgatory/arch/ppc/crt.S and -./purgatory/arch/ppc/misc.S. Removing it from e.g. crt.S +=2E/purgatory/arch/ppc/misc.S. Removing it from e.g. crt.S makes it compile, I have not tested it yet, though :-) Thanks, Christian. -PS: Where is -Werror defined? I could not find it anywhere in the kexec +PS: Where is -Werror defined? I could not find it anywhere in the kexec=20 source (execpt in arch/mips)... --- +--=20 make bzImage, not war - -_______________________________________________ -kexec mailing list -kexec@lists.infradead.org -http://lists.infradead.org/mailman/listinfo/kexec diff --git a/a/content_digest b/N1/content_digest index f7e6b74..6f21a70 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -11,13 +11,14 @@ "Maxim Uvarov wrote on 2010-05-11 10:47 :\n" "> This patch is required in case if you are using new toolchains.\n" "\n" - "I'm on Debian/stable (binutils 2.18, gcc 4.3.2), so I applied your patches \n" + "I'm on Debian/stable (binutils 2.18, gcc 4.3.2), so I applied your patches=\n" + "=20\n" "to the latest -git checkout:\n" "\n" "First, compilation fails with:\n" "\n" "cc1: warnings being treated as errors\n" - "kexec/arch/ppc/kexec-ppc.c: In function \342\200\230get_base_ranges\342\200\231:\n" + "kexec/arch/ppc/kexec-ppc.c: In function =E2=80=98get_base_ranges=E2=80=99:\n" "kexec/arch/ppc/kexec-ppc.c:258: error: value computed is not used\n" "make: *** [kexec/arch/ppc/kexec-ppc.o] Error 1\n" "\n" @@ -26,11 +27,11 @@ "> --- a/kexec/arch/ppc/kexec-ppc.c\n" "> +++ b/kexec/arch/ppc/kexec-ppc.c\n" "[...]\n" - "> \t\t\tif (local_memory_ranges >= max_memory_ranges) {\n" - "> -\t\t\t\tfclose(file);\n" - "> -\t\t\t\tbreak;\n" - "> +\t\t\t\tif (realloc_memory_ranges() < 0){\n" - "> +\t-\t\t\t\tfclose(file);\n" + "> =09=09=09if (local_memory_ranges >=3D max_memory_ranges) {\n" + "> -=09=09=09=09fclose(file);\n" + "> -=09=09=09=09break;\n" + "> +=09=09=09=09if (realloc_memory_ranges() < 0){\n" + "> +=09-=09=09=09=09fclose(file);\n" "\n" "\n" "Removing this, gets me further, until:\n" @@ -43,20 +44,15 @@ "make: *** [purgatory/purgatory.ro] Error 1\n" "\n" "And has been defined in purgatory/arch/ppc/crt.S and\n" - "./purgatory/arch/ppc/misc.S. Removing it from e.g. crt.S\n" + "=2E/purgatory/arch/ppc/misc.S. Removing it from e.g. crt.S\n" "makes it compile, I have not tested it yet, though :-)\n" "\n" "Thanks,\n" "Christian.\n" "\n" - "PS: Where is -Werror defined? I could not find it anywhere in the kexec \n" + "PS: Where is -Werror defined? I could not find it anywhere in the kexec=20\n" " source (execpt in arch/mips)...\n" - "-- \n" - "make bzImage, not war\n" - "\n" - "_______________________________________________\n" - "kexec mailing list\n" - "kexec@lists.infradead.org\n" - http://lists.infradead.org/mailman/listinfo/kexec + "--=20\n" + make bzImage, not war -f3fd8bc0e411a419c9181a41f205a6718252de9a49f66e326ea737de80810214 +6a4421e3c96398ee2b9b4909113671c66e0fb85b92d23097ff56c170a9cc11ed
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.