OpenCloudOS-Kernel/drivers/scsi/linkdata/ps3stor
Jianping Liu a899c9ea34 drivers,ps3stor: fix compile error when using allyesconfig config
There is a compile error when run:
make allyesconfig && make -j32

The compile error log is as below:
ld: error: unplaced orphan section `.GCC.command.line' from `vmlinux.o'.
or aarch64-linux-gnu-ld: error: unplaced orphan section `.GCC.command.line' from `drivers/scsi/linkdata/ps3stor/ps3_cmd_channel.o'
......

.GCC.command.line section is created by -frecord-gcc-switches compile
option.

The info about -frecord-gcc-switches option:
This switch causes the command line that was used to invoke the compiler to
be recorded into the object file that is being created.  This switch is only
implemented on some targets and the exact format of the recording is target
and binary file format dependent, but it usually takes the form of a section
containing ASCII text.

-frecord-gcc-switches option is useless in release version, delete it.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
Reviewed-by: Yongliang Gao <leonylgao@tencent.com>
2024-12-13 20:45:28 +08:00
..
include
linux
Kconfig
Makefile drivers,ps3stor: fix compile error when using allyesconfig config 2024-12-13 20:45:28 +08:00
clean.sh
compile.sh
dkms.conf
load.sh
ps3_cmd_channel.c
ps3_cmd_channel.h
ps3_cmd_complete.c
ps3_cmd_complete.h
ps3_cmd_stat_def.h
ps3_cmd_statistics.c
ps3_cmd_statistics.h
ps3_debug.c
ps3_debug.h
ps3_device_manager.c
ps3_device_manager.h
ps3_device_manager_sas.c
ps3_device_manager_sas.h
ps3_device_update.c
ps3_device_update.h
ps3_drv_readme.sh
ps3_drv_readme.txt
ps3_drv_ver.h
ps3_dump.h
ps3_err_def.h
ps3_err_inject.c
ps3_err_inject.h
ps3_event.c
ps3_event.h
ps3_inject.c
ps3_inject.h
ps3_inner_data.h
ps3_instance_manager.c
ps3_instance_manager.h
ps3_io_trace.c
ps3_io_trace.h
ps3_ioc_adp.c
ps3_ioc_manager.c scsi: Solve the problem of duplicate definition of first_online_pgdat and next_online_pgdat functions in ps3stor and other modules 2024-12-12 15:31:05 +08:00
ps3_ioc_manager.h scsi: Solve the problem of duplicate definition of first_online_pgdat and next_online_pgdat functions in ps3stor and other modules 2024-12-12 15:31:05 +08:00
ps3_ioc_state.c
ps3_ioc_state.h
ps3_ioctl.c
ps3_ioctl.h
ps3_irq.c
ps3_irq.h
ps3_load.c
ps3_load.h
ps3_mgr_channel.c
ps3_mgr_channel.h
ps3_mgr_cmd.c
ps3_mgr_cmd.h
ps3_mgr_cmd_err.c
ps3_mgr_cmd_err.h
ps3_module_para.c
ps3_module_para.h
ps3_nvme_resp_to_scsi.c
ps3_nvme_resp_to_scsi.h
ps3_pci.c
ps3_pci.h
ps3_platform_utils.c
ps3_platform_utils.h
ps3_qos.c
ps3_qos.h
ps3_r1x_write_lock.c
ps3_r1x_write_lock.h
ps3_rb_tree.c
ps3_rb_tree.h
ps3_recovery.c
ps3_recovery.h
ps3_sas_transport.c
ps3_sas_transport.h
ps3_scsi_cmd_err.c
ps3_scsi_cmd_err.h
ps3_scsih.c
ps3_scsih.h
ps3_scsih_cmd_parse.c
ps3_scsih_cmd_parse.h
ps3_scsih_raid_engine.c
ps3_scsih_raid_engine.h
ps3_trace_id_alloc.c
ps3_trace_id_alloc.h
ps3_util.h
ps3_watchdog.c
ps3_watchdog.h
ramfs_install.sh
readme.txt
uload.sh

readme.txt

Compile dependencies pkgs:kernel-devel kernel-headers

1. compiling
	compile.sh: a script compiling the driver source.

2、cleaning
	clean.sh : a script for cleaning the driver source tree.