linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the compiler-attributes tree
@ 2019-08-29 22:52 Stephen Rothwell
  2019-08-29 22:53 ` Nick Desaulniers
  2019-08-29 22:54 ` Miguel Ojeda
  0 siblings, 2 replies; 6+ messages in thread
From: Stephen Rothwell @ 2019-08-29 22:52 UTC (permalink / raw)
  To: Miguel Ojeda
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Nick Desaulniers, Josh Poimboeuf, Sedat Dilek

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

Hi all,

After merging the compiler-attributes tree, today's linux-next build
(powerpc ppc64_defconfig) failed like this:

arch/powerpc/boot/main.c:153:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__section'
  153 | static char cmdline[BOOT_COMMAND_LINE_SIZE] __section(__builtin_cmdline);
      |                                             ^~~~~~~~~
arch/powerpc/boot/main.c: In function 'prep_cmdline':
arch/powerpc/boot/main.c:166:6: error: 'cmdline' undeclared (first use in this function)
  166 |  if (cmdline[0] == '\0')
      |      ^~~~~~~
arch/powerpc/boot/main.c:166:6: note: each undeclared identifier is reported only once for each function it appears in
arch/powerpc/boot/main.c: In function 'start':
arch/powerpc/boot/main.c:196:40: error: 'cmdline' undeclared (first use in this function)
  196 |  if ((loader_info.cmdline_len > 0) && (cmdline[0] == '\0'))
      |                                        ^~~~~~~

Caused by commit

  e81c903fb9e2 ("powerpc: prefer __section and __printf from compiler_attributes.h")

I have reverted that commit for today.

gcc v9.2.1 (in case that matters)

The above error is from the PowerPC boot wrapper that is built without
the kernel headers (mainly, I think).

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* linux-next: build failure after merge of the compiler-attributes tree
@ 2019-02-06 21:30 Stephen Rothwell
  2019-02-06 21:48 ` Miguel Ojeda
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2019-02-06 21:30 UTC (permalink / raw)
  To: Miguel Ojeda; +Cc: Linux Next Mailing List, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

Hi Miguel,

After merging the compiler-attributes tree, today's linux-next build
(arm multi_v7_defconfig) failed like this:

In file included from arch/arm/crypto/aes-neonbs-glue.c:17:
include/linux/module.h:138:7: error: section of alias 'cleanup_module' must match section of its target
  void cleanup_module(void) __exit __attribute__((alias(#exitfn)));
       ^~~~~~~~~~~~~~
arch/arm/crypto/aes-neonbs-glue.c:433:1: note: in expansion of macro 'module_exit'
 module_exit(aes_exit);
 ^~~~~~~~~~~

Caused by commit

  b31ca3fcca36 ("include/linux/module.h: mark init/cleanup_module aliases as __init/exit")

I have used the compiler-attributes tree from next-20190206 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2019-08-29 22:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-29 22:52 linux-next: build failure after merge of the compiler-attributes tree Stephen Rothwell
2019-08-29 22:53 ` Nick Desaulniers
2019-08-29 22:54 ` Miguel Ojeda
2019-08-29 22:58   ` Miguel Ojeda
  -- strict thread matches above, loose matches on Subject: below --
2019-02-06 21:30 Stephen Rothwell
2019-02-06 21:48 ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).