ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
28 марта
978640 Топик полностью
Nikolay_Po (14.02.2020 16:21, просмотров: 694) ответил evgeniy1294 на Вот это вот мне выплюнул мой тулчейн.
Ну вот же оно, тот же результат: 
Building target: LCBM_16.elf
Invoking: GNU ARM Cross C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m3 -mthumb -Ofast -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -flto -Werror -Wunused -Wuninitialized -Wall -Wextra -Wmissing-declarations -Wconversion -Wpointer-arith -Wpadded -Wshadow -Wlogical-op -Waggregate-return -Wfloat-equal  -g3 -T mem.ld -T libs.ld -T sections.ld -nostartfiles -Xlinker --gc-sections -L"../ldscripts" -Wl,-Map,"LCBM_16.map" -Xlinker --cref --specs=nano.specs -o "LCBM_16.elf" ./system/src/stm32f1-stdperiph/misc.o ./system/src/stm32f1-stdperiph/stm32f10x_gpio.o ./system/src/stm32f1-stdperiph/stm32f10x_rcc.o  ./system/src/newlib/_exit.o ./system/src/newlib/_sbrk.o ./system/src/newlib/_startup.o ./system/src/newlib/_syscalls.o ./system/src/newlib/assert.o  ./system/src/diag/Trace.o ./system/src/diag/trace_impl.o  ./system/src/cortexm/_initialize_hardware.o ./system/src/cortexm/_reset_hardware.o ./system/src/cortexm/exception_handlers.o  ./system/src/cmsis/system_stm32f10x.o ./system/src/cmsis/vectors_stm32f10x.o  ./src/Timer.o ./src/_write.o ./src/adc.o ./src/arm_biquad_cascade_df1_fast_q31.o ./src/arm_biquad_cascade_df1_init_q31.o ./src/dsp.o ./src/dsp_constants.o ./src/lcd.o ./src/lcd_font.o ./src/main.o ./src/uart.o   
/tmp/ccyv9mo4.s: Assembler messages:
/tmp/ccyv9mo4.s:5285: Error: offset out of range
/tmp/ccyv9mo4.s:5316: Error: offset out of range
/tmp/ccyv9mo4.s:5372: Error: offset out of range
lto-wrapper: fatal error: arm-none-eabi-g++ returned 1 exit status
compilation terminated.
/usr/lib/gcc/arm-none-eabi/9.2.0/../../../../arm-none-eabi/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [makefile:64: LCBM_16.elf] Ошибка 1