Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 569070 - sys-kernel/gentoo-sources-4.1.12 vmlinux build error - undefined reference to stub_iopl, sys32_vm86_warning
Summary: sys-kernel/gentoo-sources-4.1.12 vmlinux build error - undefined reference to...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-21 21:49 UTC by Johannes Buchner
Modified: 2018-06-13 22:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge.info (emerge.info,5.76 KB, application/x-info)
2015-12-21 21:49 UTC, Johannes Buchner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Buchner 2015-12-21 21:49:17 UTC
Created attachment 420100 [details]
emerge.info

Running make modules bzImage gives me

...
  CC [M]  drivers/gpu/drm/radeon/vce_v2_0.o
  CC [M]  drivers/gpu/drm/radeon/radeon_kfd.o
  CC [M]  drivers/gpu/drm/radeon/radeon_ioc32.o
  CC [M]  drivers/gpu/drm/radeon/radeon_acpi.o
  MKREGTABLE drivers/gpu/drm/radeon/r100_reg_safe.h
  MKREGTABLE drivers/gpu/drm/radeon/rn50_reg_safe.h
  MKREGTABLE drivers/gpu/drm/radeon/r300_reg_safe.h
  MKREGTABLE drivers/gpu/drm/radeon/r420_reg_safe.h
  MKREGTABLE drivers/gpu/drm/radeon/rs600_reg_safe.h
  CC [M]  drivers/gpu/drm/radeon/r200.o
  CC [M]  drivers/gpu/drm/radeon/rv515.o
  CC [M]  drivers/gpu/drm/radeon/r600_cs.o
  CC [M]  drivers/gpu/drm/radeon/evergreen_cs.o
  CC [M]  drivers/gpu/drm/radeon/r100.o
  CC [M]  drivers/gpu/drm/radeon/r300.o
  CC [M]  drivers/gpu/drm/radeon/r420.o
  CC [M]  drivers/gpu/drm/radeon/rs600.o
  LD [M]  drivers/gpu/drm/radeon/radeon.o
  LD      drivers/gpu/built-in.o
  LD      drivers/built-in.o
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
arch/x86/built-in.o:(.rodata+0x600): undefined reference to `stub_iopl'
arch/x86/built-in.o:(.rodata+0xe48): undefined reference to `sys32_vm86_warning'
arch/x86/built-in.o:(.rodata+0xff0): undefined reference to `sys32_vm86_warning'
/mnt/data/tmp/linux/linux-4.1.12-gentoo/Makefile:933: recipe for target 'vmlinux' failed
make[2]: *** [vmlinux] Error 1
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2


linux-4.0.5-gentoo works, linux-4.0.9-gentoo works, only linux-4.1.12-gentoo does not compile.

Bug 106527 appears related.
Comment 1 Stuart Shelton 2016-04-02 20:35:46 UTC
I have the same error with gentoo-sources-4.1.15-r1:

  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
arch/x86/built-in.o:(.rodata+0x620): undefined reference to `stub_iopl'
arch/x86/built-in.o:(.rodata+0x1588): undefined reference to `sys32_vm86_warning'
arch/x86/built-in.o:(.rodata+0x1730): undefined reference to `sys32_vm86_warning'
/usr/src/linux-4.1.15-gentoo-r1/Makefile:922: recipe for target 'vmlinux' failed
make[1]: *** [vmlinux] Error 1
Comment 2 Mike Pagano gentoo-dev 2018-06-13 22:54:48 UTC
As this is over 2 years old, if this is still an issue with later kernels, please let us know.