All of lore.kernel.org
 help / color / mirror / Atom feed
* [Suggest] arch: metag: compiler: Are they compiler's issues?
@ 2013-12-24  2:36 ` Chen Gang
  0 siblings, 0 replies; 19+ messages in thread
From: Chen Gang @ 2013-12-24  2:36 UTC (permalink / raw)
  To: James Hogan
  Cc: linux-metag-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Helllo Maintainers:

When compile metag with allmodconfig, I met the 2 kinds of issues, I
guess they are compiler's issues, please help check, thanks.


Issue 1: compiler report the issue, but after check the related kernel
source code, I can not find any issues.

    CC [M]  drivers/isdn/hisax/s0box.o
  drivers/isdn/hisax/hscx_irq.c: In function 'hscx_fill_fifo':
  /upstream/linux-next/arch/metag/include/asm/io.h:62: error: 'asm' operand requires impossible reload
  make[3]: *** [drivers/isdn/hisax/s0box.o] Error 1
  make[2]: *** [drivers/isdn/hisax] Error 2
  make[1]: *** [drivers/isdn] Error 2
  make: *** [drivers] Error 2


Issue 2: they are about structure variables alignment, I guess, the
compiler can not notice about the "#pragma pack()" correctly.

    CC [M]  drivers/staging/lustre/lustre/lov/lov_pack.o
  drivers/staging/lustre/lustre/lov/lov_pack.c: In function 'lov_getstripe':
  drivers/staging/lustre/lustre/lov/lov_pack.c:630: error: duplicate case value
  drivers/staging/lustre/lustre/lov/lov_pack.c:630: error: previously used here
  make[5]: *** [drivers/staging/lustre/lustre/lov/lov_pack.o] Error 1
  make[4]: *** [drivers/staging/lustre/lustre/lov] Error 2
  make[3]: *** [drivers/staging/lustre/lustre] Error 2
  make[2]: *** [drivers/staging/lustre] Error 2
  make[1]: *** [drivers/staging] Error 2
  make: *** [drivers] Error 2

    MODPOST 2909 modules
  ERROR: "__compiletime_assert_426" [net/batman-adv/batman-adv.ko] undefined!
  ERROR: "__compiletime_assert_429" [net/batman-adv/batman-adv.ko] undefined!
  ERROR: "__compiletime_assert_425" [net/batman-adv/batman-adv.ko] undefined!
  ERROR: "__compiletime_assert_428" [net/batman-adv/batman-adv.ko] undefined!
  ERROR: "__compiletime_assert_427" [net/batman-adv/batman-adv.ko] undefined!
  ERROR: "__compiletime_assert_430" [net/batman-adv/batman-adv.ko] undefined!


Making cross-compiler:

  git clone git://github.com/img-meta/metag-buildroot.git metag-core-2013.11
  make meta2_defconfig.
  "cd metag-core-2013.11; cp -r output/host/usr/* /usr/"


Welcome any additional suggestions, discussions or completions.

Thanks.
-- 
Chen Gang

Open, share and attitude like air, water and life which God blessed
--
To unsubscribe from this list: send the line "unsubscribe linux-metag" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2014-01-10 16:38 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-24  2:36 [Suggest] arch: metag: compiler: Are they compiler's issues? Chen Gang
2013-12-24  2:36 ` Chen Gang
     [not found] ` <52B8F33C.3030808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-12-24  3:25   ` Chen Gang
2013-12-24  3:25     ` Chen Gang
2014-01-06 10:31   ` James Hogan
2014-01-06 10:31     ` James Hogan
     [not found]     ` <52CA85FF.8050604-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-01-08 15:01       ` Chen Gang
2014-01-08 15:01         ` Chen Gang
     [not found]         ` <52CD6849.4050007-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-10 15:57           ` Chen Gang
2014-01-10 15:57             ` Chen Gang
2014-01-10 16:02             ` James Hogan
2014-01-10 16:02               ` James Hogan
     [not found]               ` <52D019A2.9000705-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-01-10 16:20                 ` Chen Gang
2014-01-10 16:20                   ` Chen Gang
     [not found]                   ` <52D01DBE.6010205-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-10 16:30                     ` James Hogan
2014-01-10 16:30                       ` James Hogan
     [not found]                       ` <52D02013.8030009-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-01-10 16:38                         ` Chen Gang
2014-01-10 16:38                           ` Chen Gang
2013-12-24  3:26 ` Chen Gang

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.