openhwgroup / corev-gcc

GNU General Public License v2.0
19 stars 22 forks source link

cannot find suitable multilib during the build, though it is shown in the toolchain lib folder. #90

Open superflyers opened 7 months ago

superflyers commented 7 months ago

When I’m trying to build another test with the new toolchain. I encountered the issue below.

image

This is the prebuild lib I saw in the toolchain folder.

image

Here are the compiler option used:

LAST_CC = /share/libraries/LIBRARY/0TECHNO/EMBECOSM/TOOLCHAIN/corev-openhw-gcc-centos7-20231128/bin/riscv32-corev-elf-gcc LAST_CFLAGS = -DRISCV_CV32 -DRISCV_GENERIC -DPANTHER -DPANTHER -DWITH_ALLOC -DRTOS_PMSIS -DCLUSTER_COMPILATION -DIS_NOT_VEP -I/scorpion/home/lch/project/panther_release/last/libs/dsp/include -I/drivers/include -fdata-sections -ffunction-sections -DARCHI_CLUSTER_NB_PE=16 -DCLUSTER_COMPILATION -MMD -march=rv32imc_zicsr_zfinx_xcvalu_xcvbi_xcvbitmanip_xcvhwlp_xcvmac_xcvmem_xcvsimd_xcvelw -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -fdata-sections -fno-common -msmall-data-limit=0 -ffunction-sections -DWITH_ALLOC -Wno-missing-field-initializers -g -O3 -DPRINTF_FLOAT -DMEASUREMENT -I. LAST_LDFLAGS = -march=rv32imc_zicsr_zfinx_xcvalu_xcvbi_xcvbitmanip_xcvhwlp_xcvmac_xcvmem_xcvsimd_xcvelw -Wl,--gc-sections -Wl,-Map=/net/eagle/volume1/homes/lch/project/examples/dsp/mfcc_f32/build.riscv_vp/panther/build/output.map -static -nostdlib -lm -lgcc

MaryBennett commented 6 months ago

@simonpcook Does this require a change to the build scripts?

MaryBennett commented 6 months ago

AP: remove _zicsr for multilibs

MaryBennett commented 1 month ago

@superflyers Is this issue fixed?