Skip to content

x86{,_64} build hangs after next-20181008 #213

@nathanchance

Description

@nathanchance

Can be reproduced with defconfig with or without CONFIG_64BIT set:

  CC      drivers/tty/tty_audit.o
  AR      drivers/video/fbdev/core/built-in.a
  CC      drivers/gpu/drm/drm_debugfs_crc.o
  CC      drivers/gpu/drm/drm_debugfs.o
  CC      drivers/tty/sysrq.o
  AR      drivers/video/fbdev/built-in.a
  CC      drivers/gpu/drm/drm_mipi_dsi.o
  CC      drivers/gpu/drm/drm_panel_orientation_quirks.o
  AR      drivers/video/built-in.a
  AR      drivers/tty/built-in.a
  AR      drivers/gpu/drm/built-in.a
  AR      drivers/gpu/built-in.a
  AR      drivers/built-in.a

It seems to be stuck at init/version.o, as I see this when I interrupt the build:

^Cmake[1]: *** Deleting file 'init/version.o'
make[1]: *** [scripts/Makefile.build:305: init/version.o] Interrupt
make: *** [Makefile:1050: init] Interrupt

Bisect log:

git bisect start
# good: [64c5e530ac2cab7e710c3bd08ef8594a016e4f9a] Merge tag 'arc-4.19-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
git bisect good 64c5e530ac2cab7e710c3bd08ef8594a016e4f9a
# bad: [7f3049305d22fc543f836d00aeea41ecef911199] Add linux-next specific files for 20181010
git bisect bad 7f3049305d22fc543f836d00aeea41ecef911199
# good: [6d67f8d0eec9b0b3234e77ece3465361c19f7d3c] Merge remote-tracking branch 'spi-nor/spi-nor/next'
git bisect good 6d67f8d0eec9b0b3234e77ece3465361c19f7d3c
# bad: [6a2e03f7dd9fec432789e77c34743c8773155461] Merge remote-tracking branch 'tip/auto-latest'
git bisect bad 6a2e03f7dd9fec432789e77c34743c8773155461
# good: [f0502f1777c3a11a9b7bbf93cbde467051447830] Merge remote-tracking branch 'sound/for-next'
git bisect good f0502f1777c3a11a9b7bbf93cbde467051447830
# good: [0f234d9a5ab00374969b5e271be40b429cb1d9d8] Merge remote-tracking branch 'iommu/next'
git bisect good 0f234d9a5ab00374969b5e271be40b429cb1d9d8
# good: [fac07d2ba7b2764e3002ff9bc7861742a84a2ef6] Merge branch 'perf/core'
git bisect good fac07d2ba7b2764e3002ff9bc7861742a84a2ef6
# bad: [d74865bd3996c7a6f3e8ce6e626c1fe474e39494] Merge branch 'x86/mm'
git bisect bad d74865bd3996c7a6f3e8ce6e626c1fe474e39494
# good: [dcd2d0cece1608b2be9184786c900807ec947076] Merge branch 'x86/asm'
git bisect good dcd2d0cece1608b2be9184786c900807ec947076
# bad: [ae9260d80e517c8702b91b8e00d117e1e2834c33] Merge branch 'x86/cache'
git bisect bad ae9260d80e517c8702b91b8e00d117e1e2834c33
# bad: [d5a581d84ae6b8a4a740464b80d8d9cf1e7947b2] x86/cpufeature: Macrofy inline assembly code to work around GCC inlining bugs
git bisect bad d5a581d84ae6b8a4a740464b80d8d9cf1e7947b2
# good: [c0554d2d3db438623b4f2f9abc3d766b2b15d2fb] Merge branch 'linus' into x86/core, to pick up fixes
git bisect good c0554d2d3db438623b4f2f9abc3d766b2b15d2fb
# bad: [77f48ec28e4ccff94d2e5f4260a83ac27a7f3099] x86/alternatives: Macrofy lock prefixes to work around GCC inlining bugs
git bisect bad 77f48ec28e4ccff94d2e5f4260a83ac27a7f3099
# bad: [77b0bf55bc675233d22cd5df97605d516d64525e] kbuild/Makefile: Prepare for using macros in inline assembly code to work around asm() related GCC inlining bugs
git bisect bad 77b0bf55bc675233d22cd5df97605d516d64525e
# good: [35e76b99ddf20405a6196bb7c9eb152675c93106] kbuild/arch/xtensa: Define LINKER_SCRIPT for the linker script
git bisect good 35e76b99ddf20405a6196bb7c9eb152675c93106
# first bad commit: [77b0bf55bc675233d22cd5df97605d516d64525e] kbuild/Makefile: Prepare for using macros in inline assembly code to work around asm() related GCC inlining bugs

Bad commit: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=77b0bf55bc675233d22cd5df97605d516d64525e

I applied @bulwahn's three patches in #186 to make sure none of my own patches were causing any issues.

Metadata

Metadata

Assignees

Labels

[ARCH] x86This bug impacts ARCH=i386[ARCH] x86_64This bug impacts ARCH=x86_64[BUG] linuxA bug that should be fixed in the mainline kernel.[FIXED][LINUX] 4.20This bug was fixed in Linux 4.20

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions