Bug 195763 - 4.12-rc1 fails to build
Summary: 4.12-rc1 fails to build
Status: CLOSED UNREPRODUCIBLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86-64 Linux
: P1 high
Assignee: drivers_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-15 00:49 UTC by Richard Narron
Modified: 2019-12-20 01:01 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.12-rc1 4.11.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments
config which fails to build with lpfc_nvme_create_localport error (172.05 KB, text/x-mpsub)
2017-05-15 00:49 UTC, Richard Narron
Details

Description Richard Narron 2017-05-15 00:49:19 UTC
Created attachment 256521 [details]
config which fails to build with lpfc_nvme_create_localport error

As mentioned in bug 195629 the build fails when

  CONFIG_SCSI_LPFC=y
  ...
  CONFIG_NVME_FC=m
  ...
  CONFIG_NVME_TARGET_FC=m

Here is the log:
...
 LD      vmlinux.o
  MODPOST vmlinux.o
drivers/built-in.o: In function `lpfc_nvme_create_localport':
(.text+0x31cfbb): undefined reference to `nvme_fc_register_localport'
drivers/built-in.o: In function `lpfc_nvme_destroy_localport':
(.text+0x31d430): undefined reference to `nvme_fc_unregister_remoteport'
drivers/built-in.o: In function `lpfc_nvme_destroy_localport':
(.text+0x31d49a): undefined reference to `nvme_fc_unregister_localport'
drivers/built-in.o: In function `lpfc_nvme_register_port':
(.text+0x31d81b): undefined reference to `nvme_fc_register_remoteport'
drivers/built-in.o: In function `lpfc_nvme_unregister_port':
(.text+0x31db12): undefined reference to `nvme_fc_unregister_remoteport'
drivers/built-in.o: In function `lpfc_nvmet_create_targetport':
(.text+0x320ccf): undefined reference to `nvmet_fc_register_targetport'
drivers/built-in.o: In function `lpfc_nvmet_rcv_unsol_abort':
(.text+0x3213e6): undefined reference to `nvmet_fc_rcv_fcp_abort'
drivers/built-in.o: In function `lpfc_nvmet_destroy_targetport':
(.text+0x321552): undefined reference to `nvmet_fc_unregister_targetport'
drivers/built-in.o: In function `lpfc_nvmet_unsol_ls_event':
(.text+0x3216a4): undefined reference to `nvmet_fc_rcv_ls_req'
drivers/built-in.o: In function `lpfc_nvmet_unsol_fcp_event':
(.text+0x321a79): undefined reference to `nvmet_fc_rcv_fcp_req'
make: *** [Makefile:997: vmlinux] Error 1
Command exited with non-zero status 2
...

I generated the .config by using make oldconfig from the Slackware current 4.9.27 and then using the defaults except where (N/m...) is an option where I selected "m".
Comment 1 Richard Narron 2019-12-20 01:00:21 UTC
Resolving as this does not seem to be happening anymore

Note You need to log in before you can comment on or make changes to this bug.