public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Gcc problem
@ 2022-04-13 13:44 Seyed Abolfazl Mortazavizadeh
  2022-04-13 13:57 ` Jonathan Wakely
  2022-04-13 14:34 ` Nucleo F767ZI, STM32CubeIDE problem, CC1 error Seyed Abolfazl Mortazavizadeh
  0 siblings, 2 replies; 7+ messages in thread
From: Seyed Abolfazl Mortazavizadeh @ 2022-04-13 13:44 UTC (permalink / raw)
  To: gcc-help

To whom it may concern
I have problem in compiling code using STM32CubeIDE. The log is as follows:
15:39:28 **** Incremental Build of configuration Debug for project TxCdB_v2
****
make -j8 all
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma_ex.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_exti.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_exti.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_exti.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_exti.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash_ex.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.o"
--specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.o"
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:64:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:70:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.o] Error 1
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:72:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_exti.o] Error 1
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:76:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.o] Error 1
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:78:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.o] Error 1
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:68:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.o] Error 1
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:74:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.o] Error 1
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:66:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.o] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.

15:39:31 Build Failed. 9 errors, 0 warnings. (took 3s.576ms)





The code is working properly on another PC but I received these errors
using my laptop. How can I fix it? Any kind of information is appreciated.
Sincerely,
Seyed




-- 



============================
Seyed Abolfazl Mortazavizadeh
PhD in Electrical Power Engineering
Postdoc Researcher at University of Cassino and South Lazio
Mobile: +989127470298
             +393515972244
Email: mortazavi1369@gmail.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gcc problem
  2022-04-13 13:44 Gcc problem Seyed Abolfazl Mortazavizadeh
@ 2022-04-13 13:57 ` Jonathan Wakely
  2022-04-13 14:34 ` Nucleo F767ZI, STM32CubeIDE problem, CC1 error Seyed Abolfazl Mortazavizadeh
  1 sibling, 0 replies; 7+ messages in thread
From: Jonathan Wakely @ 2022-04-13 13:57 UTC (permalink / raw)
  To: Seyed Abolfazl Mortazavizadeh; +Cc: gcc-help

N.B. everybody who emails this list has a "Gcc problem", so you're far
more likely to get a useful answer if you use a more relevant Subject
for your email.

For example, if the problem relates to build an ARM cross compiler,
then say so in the subject.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Nucleo F767ZI, STM32CubeIDE problem, CC1 error
  2022-04-13 13:44 Gcc problem Seyed Abolfazl Mortazavizadeh
  2022-04-13 13:57 ` Jonathan Wakely
@ 2022-04-13 14:34 ` Seyed Abolfazl Mortazavizadeh
  2022-04-13 20:49   ` Alexander Shpilkin
  1 sibling, 1 reply; 7+ messages in thread
From: Seyed Abolfazl Mortazavizadeh @ 2022-04-13 14:34 UTC (permalink / raw)
  To: gcc-help

To whom it may concern
I have a Nucleo F767ZI board from ST and I want to program it using
STM32CubeIDE. I prepared the primary code using STM32CubeMX and made some
changes in the code using STM32CubeIDE.
I have a problem in compiling code using STM32CubeIDE. The log is
as follows:



15:39:28 **** Incremental Build of configuration Debug for project TxCdB_v2
****
make -j8 all
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma_ex.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_exti.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_exti.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_exti.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_exti.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash_ex.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.o"
--specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.o"
arm-none-eabi-gcc
"C:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.c"
-mcpu=cortex-m7 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F767xx -c
-I../Core/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Device/ST/STM32F7xx/Include
-IC:/Users/asus/STM32Cube/Repository/STM32Cube_FW_F7_V1.16.1/Drivers/CMSIS/Include
-I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include
-I../Drivers/STM32F7xx_HAL_Driver/Inc
-I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections
-fdata-sections -Wall -fstack-usage -MMD -MP
-MF"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.d"
-MT"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.o" --specs=nano.specs
-mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o
"Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.o"
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cc1: error: unrecognized command-line option '-mfpu=fpv5-d16'
cc1: error: unrecognized command-line option '-mfloat-abi=hard'
cc1: error: unrecognized command-line option '-mthumb'
cc1: error: unrecognized command-line option '-mlibarch=armv7e-m+fp.dp'
cc1: error: unrecognized command-line option '-auxbase-strip'
cc1: error: too many filenames given; type 'cc1 --help' for usage
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:64:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:70:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma_ex.o] Error 1
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:72:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_exti.o] Error 1
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:76:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash_ex.o] Error 1
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:78:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_gpio.o] Error 1
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:68:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_dma.o] Error 1
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:74:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_flash.o] Error 1
cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 znver3 btver1 btver2 native
cc1: error: bad value ('cortex-m7') for '-mtune=' switch
cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem
corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids
alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl
knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4
nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx
amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1
btver2 generic native
make: *** [Drivers/STM32F7xx_HAL_Driver/subdir.mk:66:
Drivers/STM32F7xx_HAL_Driver/stm32f7xx_hal_cortex.o] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.

15:39:31 Build Failed. 9 errors, 0 warnings. (took 3s.576ms)





The code is working properly on another PC but I received these errors
using my laptop. How can I fix it? Any kind of information is appreciated.
Sincerely,
Seyed




-- 



============================
Seyed Abolfazl Mortazavizadeh
PhD in Electrical Power Engineering
Postdoc Researcher at University of Cassino and South Lazio
Mobile: +989127470298
             +393515972244
Email: mortazavi1369@gmail.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Nucleo F767ZI, STM32CubeIDE problem, CC1 error
  2022-04-13 14:34 ` Nucleo F767ZI, STM32CubeIDE problem, CC1 error Seyed Abolfazl Mortazavizadeh
@ 2022-04-13 20:49   ` Alexander Shpilkin
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Shpilkin @ 2022-04-13 20:49 UTC (permalink / raw)
  To: Seyed Abolfazl Mortazavizadeh, gcc-help

On Wed, 2022-04-13 at 16:34 +0200, Seyed Abolfazl Mortazavizadeh wrote:
> I have a problem in compiling code using STM32CubeIDE. The log is
> as follows:
> 
> [snip]
>
> cc1: error: bad value ('armv7e-m+fp.dp') for '-march=' switch
> cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem [...] native
> cc1: error: bad value ('cortex-m7') for '-mtune=' switch
> cc1: note: valid arguments to '-mtune=' switch are: nocona core2 nehalem [...] native
> 
> [snip]
> 
> The code is working properly on another PC but I received these errors
> using my laptop. How can I fix it? Any kind of information is appreciated.

As you can see in the lines I quoted above, your compiler does not
recognize the minimum-CPU-to-run-on (-march=<some ARMv7 flavour>) and
best-CPU-to-run-on (-mtune=<Cortex-M7, i.e. what's inside your STM32>)
values it's being passed, and the ones it says it will recognize are
all x86 microarchitecture names.

This means that you (or your IDE) is trying to compile your ARM code
with an x86 compiler.  You should see if your IDE came with a prebuilt
ARM compiler (otherwise you'll need to download or build it), and once
you're sure you have a compiler you should figure out why the IDE is
not finding it and trying to use the x86 one instead.

(Here by "an X compiler" I mean "a GCC compiler binary that runs on
your development machine and generates binaries for X".)

Because your problem is not with configuring GCC itself but with
configuring your IDE to use GCC, you're unlikely to find help on this
list;  if you're unable to figure out the configuration yourself, try
posting your question somewhere people actually talk about
STM32CubeIDE---probably the ST forums?

(Aside:  Usually, when you're experiencing some sort of general build
misconfiguration, *all* compilation will fail, so the length of the
build log will be multiplied by the number of parallel build jobs
you've allowed.  If you're seeing that nothing compiles, like here,
it's usually helpful to first retry with parallel building disabled,
not because it will fix anything, but because you won't have to dig
your way through a monster log like the one you posted.)

-- 
Good luck,
Alex

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Gcc problem
@ 2005-10-12 19:09 Paul Mitchell
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Mitchell @ 2005-10-12 19:09 UTC (permalink / raw)
  To: gcc-help

Folks,
 I'm a real newbie with Linux, and I've just been assigned to work on a
set of Opterons for a Beowulf cluster.  I've used gcc on the solaris boxes
(and Xserves for that mattera) without a problem, but I'm stuck on the
linux machines.

What am I doing wrong? This occurs on any opteron, and the login baobab
(out Beowulf cluster name) node:

ipm add gcc
Error: already subscribed to package gcc.
baobab$ ipm r gcc
baobab$ ipm add gcc
baobab$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu

Beginning configuration for readline-5.0 for x86_64-unknown-linux-gnu

checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables
See `config.log' for more details.
baobab$

ssh op74
Warning: Permanently added the RSA host key for IP address
'192.168.32.144' to the list of known hosts.
pmitchel@op74's password:
baobab$ cd admin/myrinet/mpichgm-1.2.6..14b
/afs/isis.unc.edu/home/p/m/pmitchel/admin/myrinet/mpichgm-1.2.6..14b
baobab$ ./configure
Configuring MPICH Version 1.2.6 (release) of : 2004/08/04 11:10:38
checking whether filesystem respects case in file names... yes
checking for current directory name...
/afs/isis.unc.edu/home/p/m/pmitchel/admin/myrinet/mpichgm-1.2.6..14b
checking for architecture... LINUX
checking device... ch_p4
checking for install
checking for ranlib
checking gnumake... yes using --no-print-directory
checking whether make supports include... yes
checking OSF V3 make... no
checking for virtual path format... VPATH
checking for xlC
checking for g++
*# C++ compiler g++ failed to compile a simple program
*# C++ interface will not be built with this compiler
checking for c++
*# C++ compiler c++ failed to compile a simple program
*# C++ interface will not be built with this compiler
checking for aCC
checking for CC
checking for cxx
checking for cc... found /usr/bin/cc (cc)
checking that the compiler cc accepts ANSI prototypes... no
*# The compiler cc does not accept ANSI prototypes
checking for gcc... found /afs/isis/pkg/gcc/bin/gcc (gcc)
checking whether cross-compiling... yes
checking that the compiler gcc runs... no
/tmp/cc8ZQSty.s: Assembler messages:
/tmp/cc8ZQSty.s:7: Error: suffix or operands invalid for `push'
/tmp/cc8ZQSty.s:9: Error: suffix or operands invalid for `movq'
/tmp/cc8ZQSty.s:19: Error: suffix or operands invalid for `push'
/tmp/cc8ZQSty.s:21: Error: suffix or operands invalid for `movq'

/afs/isis/pkg/gcc --> /afs/isis/pkg/gcc-343

Of course, anyone else in the place doesn't have this problem...

Any answers will be appreciated,

Paul Mitchell
==============================================================================
	Paul Mitchell
	email: pmitchel@email.unc.edu
	phone: (919) 962-9778
	office: I have an office, room 14, Phillips Hall
==============================================================================



^ permalink raw reply	[flat|nested] 7+ messages in thread

* gcc problem
@ 2001-09-20 18:01 mouhcin chergou
  0 siblings, 0 replies; 7+ messages in thread
From: mouhcin chergou @ 2001-09-20 18:01 UTC (permalink / raw)
  To: gcc-help, gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 264 bytes --]

Hi there,
My problem is that everytime I want to run my program, it
gives a segmentation fault message...
Would you please help me ASAP!!
Thanks
_________________________________________________________
Le journal des abonnés Caramail - http://www.carazine.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* GCC problem
@ 2000-09-20  8:32 Djoko Djordjevic
  0 siblings, 0 replies; 7+ messages in thread
From: Djoko Djordjevic @ 2000-09-20  8:32 UTC (permalink / raw)
  To: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

Hi,
 
please help me. The gcc compiler runing on my computer on 
Linux system can't find any of the header files and it can't compile any of the 
programs.
Please advise what should i do
Thanks 
Dejan

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-04-13 20:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13 13:44 Gcc problem Seyed Abolfazl Mortazavizadeh
2022-04-13 13:57 ` Jonathan Wakely
2022-04-13 14:34 ` Nucleo F767ZI, STM32CubeIDE problem, CC1 error Seyed Abolfazl Mortazavizadeh
2022-04-13 20:49   ` Alexander Shpilkin
  -- strict thread matches above, loose matches on Subject: below --
2005-10-12 19:09 Gcc problem Paul Mitchell
2001-09-20 18:01 gcc problem mouhcin chergou
2000-09-20  8:32 GCC problem Djoko Djordjevic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).