lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <520B5873.6010708@roeck-us.net>
Date:	Wed, 14 Aug 2013 03:14:11 -0700
From:	Guenter Roeck <linux@...ck-us.net>
To:	Geert Uytterhoeven <geert@...ux-m68k.org>
CC:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	stable <stable@...r.kernel.org>
Subject: Re: [ 00/17] 3.4.58-stable review

On 08/14/2013 01:26 AM, Geert Uytterhoeven wrote:
> On Wed, Aug 14, 2013 at 12:36 AM, Guenter Roeck <linux@...ck-us.net> wrote:
>>>> cris/...:
>>>> In file included from include/linux/page-flags.h:8:0,
>>>>                   from kernel/bounds.c:9:
>>>> include/linux/types.h:25:1: error: unknown type name '__kernel_ino_t'
>>>> include/linux/types.h:29:1: error: unknown type name '__kernel_off_t'
>>>> include/linux/types.h:30:1: error: unknown type name '__kernel_pid_t'
>>>> include/linux/types.h:31:1: error: unknown type name '__kernel_daddr_t'
>>>> include/linux/types.h:33:1: error: unknown type name '__kernel_suseconds_t'
>>>>
>>>> That one might be tricky (or simple if someone knows what is wrong).
>>>
>>> Fixed in v3.5-rc1:
>>>
>>> commit 74f077d2a7651409c44bb323471f219a4b0d2aab
>>> Author: Jiri Slaby <jslaby@...e.cz>
>>> Date:   Mon Apr 2 13:40:17 2012 +0200
>>>
>>>      cris: posix_types.h, include asm-generic/posix_types.h
>>>
>> It does fix above error, but then there is another error:
>>
>>    AS      arch/cris/arch-v10/lib/checksum.o
>> In file included from <command-line>:4:0:
>> /home/groeck/src/linux-stable/include/linux/kconfig.h:23:0: error: syntax error in macro parameter list
>> make[1]: *** [arch/cris/arch-v10/lib/checksum.o] Error 1
>> make[1]: *** Waiting for unfinished jobs....
>>    AS      arch/cris/arch-v10/lib/checksumcopy.o
>> In file included from <command-line>:4:0:
>> /home/groeck/src/linux-stable/include/linux/kconfig.h:23:0: error: syntax error in macro parameter list
>> make[1]: *** [arch/cris/arch-v10/lib/checksumcopy.o] Error 1
>
> commit 7b91747d42a1012e3781dd09fa638d113809e3fd
> Author: Paul Gortmaker <paul.gortmaker@...driver.com>
> Date:   Wed Apr 18 21:58:43 2012 +0200
>
>      cris: Remove old legacy "-traditional" flag from arch-v10/lib/Makefile
>

Great, thanks for tracking this down.

With both patches applied, we are almost there. Next error:

kernel/built-in.o: In function `core_kernel_data':
(.text+0x12e38): undefined reference to `_sdata'
make: *** [vmlinux] Error 1

This has been fixed with commit 473e162e (CRIS: Add _sdata to vmlinux.lds.S).

So, in summary, we have

473e162e CRIS: Add _sdata to vmlinux.lds.S
69349c2d cris: Remove old legacy "-traditional" flag from arch-v10/lib/Makefile
7b91747d cris: posix_types.h, include asm-generic/posix_types.h

With those three patches applied, cris targets build in 3.4.y.

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ