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]
Date:	Sat, 4 Apr 2015 00:56:01 +0200
From:	Richard Weinberger <richard.weinberger@...il.com>
To:	Chen Gang <xili_gchen_5257@...mail.com>
Cc:	realmz6@...il.com,
	"adi-buildroot-devel@...ts.sourceforge.net" 
	<adi-buildroot-devel@...ts.sourceforge.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] blackfin: Makefile: Add -D__linux__ flag for KBUILD_CFLAGS

On Fri, Apr 3, 2015 at 10:19 PM, Chen Gang <xili_gchen_5257@...mail.com> wrote:
> The related error with allmodconfig:

BTW: How do you generate this allmodconfig?
"make allmodconfig ARCH=blackfin" cannot work as you need to specify a board...

>     CC [M]  fs/coda/psdev.o
>   In file included from include/linux/coda.h:64:0,
>                    from fs/coda/psdev.c:45:
>   include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
>     u_quad_t va_size; /* file size in bytes */
>     ^
>   include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
>     u_quad_t va_bytes; /* bytes of disk space held by file */
>     ^
>   include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
>     u_quad_t va_filerev; /* file modification number */
>     ^
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@...il.com>
> ---
>  arch/blackfin/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile
> index 1fce086..2ece4e3 100644
> --- a/arch/blackfin/Makefile
> +++ b/arch/blackfin/Makefile
> @@ -13,7 +13,7 @@ LDFLAGS_vmlinux  := -X
>  OBJCOPYFLAGS     := -O binary -R .note -R .comment -S
>  GZFLAGS          := -9
>
> -KBUILD_CFLAGS           += $(call cc-option,-mno-fdpic)
> +KBUILD_CFLAGS           += $(call cc-option,-mno-fdpic) -D__linux__

Hmm, what compiler are you using?
It's odd that __linux__ is not defined...

-- 
Thanks,
//richard
--
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